<%@ control language="VB" autoeventwireup="false" inherits="RCC_Clients_CC_Move, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%--<ajax:UpdatePanel ID="UP_MoveSubscriptions" runat="server">
                    <ContentTemplate>--%>
<script lang="javascript" type="text/javascript">
    //To fix Uncaught TypeError: Cannot read property '_notified' of null ScriptResource.axd?d= :3546
    Sys.Browser.WebKit = {}; //Safari 3 is considered WebKit
    if (navigator.userAgent.indexOf('WebKit/') > -1) {
        Sys.Browser.agent = Sys.Browser.WebKit;
        Sys.Browser.agent = Sys.Browser.WebKit;
        Sys.Browser.version = parseFloat(navigator.userAgent.match(/WebKit\/(\d+(\.\d+)?)/)[1]);
        Sys.Browser.name = 'WebKit';
    }
</script>

<div class="row" id="Pnl_MoveDetails" runat="server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Ltl_Heading" runat="server" Text="<%$ Resources:Content,STP0059%>" EnableViewState="false" /></h3>
                <small>
                    <asp:Label ID="Ltl_Warning" runat="server" Font-Bold="true" Text="<%$ Resources:Content,string561%>" EnableViewState="false" /></small>
            </div>
            <div class="body">
                <div class="row">
                    <div class="panel-group search-panel" id="AS_Instructions" role="tablist" aria-multiselectable="true">
                        <div class="col-xs-12" role="tab" id="SH_Instructions">
                            <div class="card">
                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Instructions" href="#<%= CSB_Instructions.ClientID%>" aria-expanded="true" aria-controls="SH_Instructions">
                                    <h3>
                                        <%= Resources.Content.InstructionsNPreRequisites%>
                                    </h3>
                                </div>
                                <div id="CSB_Instructions" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_Instructions" aria-expanded="false">
                                    <%--Section specific help--%>
                                    <asp:Panel ID="Pnls" runat="server" CssClass="helpBox">
                                        <ol>
                                            <li style="list-style: decimal;">
                                                <asp:Label ID="Label7" runat="server" Text="<%$ Resources:Content, MoveInstruction1 %>" /></li>
                                            <li style="list-style: decimal;">
                                                <asp:Label ID="Label8" runat="server" Text="<%$ Resources:Content, MoveInstruction6 %>" /></li>
                                            <li style="list-style: decimal;">
                                                <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content, MoveInstruction2 %>" /></li>
                                            <li style="list-style: decimal;">
                                                <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content, MoveInstruction3 %>" /></li>
                                            <li style="list-style: decimal;">
                                                <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Content, MoveInstruction4 %>" /></li>
                                            <li style="list-style: decimal;">
                                                <asp:Label ID="Label4" runat="server" Text="<%$ Resources:Content, MoveInstruction5 %>" /></li>
                                        </ol>
                                    </asp:Panel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_Owner" runat="server">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal207" runat="server" Text="<%$ Resources:Content,L00108%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Owner" runat="server" AutoPostBack="true" />
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_Customer" runat="server">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN0000889%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Customers" runat="server" AutoPostBack="true" />
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_AT" runat="server" style="display: none;">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,SMI3071%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_AccessTemplates" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_PG" runat="server" style="display: none;">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,FAM0022%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_PaymentGroup" runat="server" AutoPostBack="true" />
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_Locale" runat="server" style="display: none;">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,FAM0023%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Locale" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_Language" runat="server" style="display: none;">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,FAM0024%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Language" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN000148%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-9 col-xs-12">
                        <div class="form-group">
                            <asp:TextBox ID="TxBx_Comments" runat="server" TextMode="MultiLine" Height="120px" class="col-xs-12" />
                            <asp:RequiredFieldValidator ID="RFV_TxtTempName" ControlToValidate="TxBx_Comments" runat="server" Display="none"
                                SetFocusOnError="true" ValidationGroup="move">
                            </asp:RequiredFieldValidator>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:GridView ID="GV_Subscriptions" runat="server" CssClass="table table-bordered table-hover table-responsive table-striped" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                            AutoGenerateColumns="false">
                            <%--<AlternatingRowStyle CssClass="altRow" />--%>
                            <Columns>
                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN000140 %>" HeaderStyle-CssClass="col-xs-1">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="HF_PackageTypeId" runat="server" />
                                        <asp:Label ID="lbl_ServiceType" runat="server" />
                                        <asp:HiddenField ID="HF_Status" runat="server" />
                                        <asp:HiddenField ID="HF_RegistrarId" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110287 %>'
                                    HeaderStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:LinkButton Visible="false" ID="LB_Id" runat="server" CommandName="Id" Text='<%#DataBinder.Eval(Container, "DataItem.Id")%>'></asp:LinkButton>
                                        <asp:LinkButton ID="LB_SubscName" runat="server" CommandName="Id" Text='<%#DataBinder.Eval(Container, "DataItem.DomainName")%>'></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN000141 %>' HeaderStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <div id="Div_Service" runat="server">
                                        </div>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, String553 %>' HeaderStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="HF_ParentPackageId" runat="server" />
                                        <asp:HiddenField ID="HF_IsAddOn" runat="server" />
                                        <asp:HiddenField ID="HF_AddOnAccountID" Value='<%#DataBinder.Eval(Container, "DataItem.AddOnAccountID")%>' runat="server" />

                                        <asp:HiddenField ID="HF_PlanAddOn" runat="server" />
                                        <asp:HiddenField ID="HF_AddOnAccountPTypeID" runat="server" />
                                        <asp:DropDownList ID="DDL_Packages" runat="server" Width="200px" OnSelectedIndexChanged="DDL_Packages_SelectedIndexChanged" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN000144 %>' HeaderStyle-CssClass="col-xs-1">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="DDL_Cycle" runat="server" Width="80px" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN000145 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-VerticalAlign="Middle">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="ChBx_PriceFreezed" runat="server" Text=" " />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN00001547 %>' HeaderStyle-CssClass="col-xs-3">
                                    <ItemTemplate>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="form-group display-date-input">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_StartDate" runat="server" Enabled="false"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <i runat="server" id="A_StartDate" class="material-icons icon-calendar col-calendar"></i>
                                                <EM:CalendarExtender ID="CE_StartDate" runat="server" TargetControlID="TxBx_StartDate"
                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                    CssClass="date__calendar">
                                                </EM:CalendarExtender>
                                            </div>
                                        </div>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-xs-12" id="Tr_ExchangeTemplates" runat="server" style="display: none;">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,Updatemailboxtemplate%>" EnableViewState="false" /></h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <asp:GridView ID="GV_MBTemplates" runat="server" CssClass="table table-bordered table-hover table-responsive table-striped" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                            AutoGenerateColumns="false">
                            <Columns>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, String589 %>' HeaderStyle-CssClass="col-xs-6">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="HF_OldTemplateId" runat="server" />
                                        <asp:Literal ID="Lt_OldTemplateName" runat="server"></asp:Literal>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, String590 %>' HeaderStyle-CssClass="col-xs-6">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="Ddl_MBTemplates" runat="server"></asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-xs-12">
        <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
            ValidationGroup="move" HeaderText="<%$ Resources:Content,EM000001%>" />
        <asp:Button ID="Btn_Save" runat="server" ValidationGroup="move" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281 %>" Visible="true" />
        <asp:Button ID="Btn_Cancel" runat="server" Text="<%$ Resources:Content,GN0000572 %>" class="btn btn-primary waves-effect" />
    </div>
</div>
