<%@ control language="VB" autoeventwireup="false" inherits="RCC_Hostmatic_CC_DNSZoneManagement, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Hostmatic/CC/DNS.ascx" TagName="DNSManage" TagPrefix="EM" %>
<%@ Register Src="~/Template/ResourcesQuota.ascx" TagName='ResourceQuota' TagPrefix='EM' %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>

<div class="col-xs-12">
    <div class="card">
        <div class="body">
            <div class="row">
                <div class="col-xs-12">

                    <EM:TabContainer ID="TC_DNSZoneManager" runat="server" OnClientActiveTabChanged="loadTabPanel">
                        <EM:TabPanel ID="Tab_DNSZoneNames" runat="server" HeaderText="<%$ Resources:Content,L0084%>">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab0" runat="server" Style="display: none" />
                                <asp:Panel ID="Pnl_TabContent0" runat="server">
                                    <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_Search">
                                        <div class="row">
                                            <div class="panel-group search-panel" id="AS_DNSZones" role="tablist" aria-multiselectable="true">
                                                <div class="col-xs-12" role="tab" id="SH_DNSZones">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_DNSZones" href="#<%= CSB_DNSZones.ClientID%>" aria-expanded="true" aria-controls="SH_DNSZones">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="CSB_DNSZones" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_DNSZones" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_Owner">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDl_Owner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_server">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDl_DNSServer" runat="server">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="200"></asp:TextBox>
                                                                            <asp:Label ID="Label9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_CusID">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CustomerID" runat="server" MaxLength="128"></asp:TextBox>
                                                                            <asp:Label ID="Label10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_CusName">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CustomerName" runat="server" MaxLength="263"></asp:TextBox>
                                                                            <asp:Label ID="Label11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDL_Status" runat="server">
                                                                            <asp:ListItem Text="<%$ Resources:Content, SelectStatus %>" Value="-1" Selected="True"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content, GN0000222 %>" Value="1"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content, GN0000860 %>" Value="0"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:Button ID="Btn_Search" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                        <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                            Text="<%$ Resources:Content,String289 %>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="Pnl_Controls" runat="server">
                                        <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button ID="Btn_AddNewZone" runat="server" class="btn btn-primary waves-effect btnAction" CausesValidation="false"
                                                            Text='<%$ Resources:Content, SPT002114 %>' />
                                                        <asp:Button ID="Btn_ImportDNSZones" runat="server" class="btn btn-primary waves-effect btnAction" Visible="false"
                                                            CausesValidation="false" Text='<%$ Resources:Content, Dev337 %>' />
                                                        <asp:Button ID="Btn_BulkDeleteZones" runat="server" Text="<%$ Resources:Content,GN0000278%>"
                                                            class="btn btn-primary waves-effect btnAction" Custom1="Custom" Style="display: none" />
                                                        <EM:ConfirmButtonExtender ID="CBE_BulkRemove" ConfirmText="<%$ Resources:Content,GN000200%>"
                                                            TargetControlID="Btn_BulkDeleteZones" runat="server">
                                                        </EM:ConfirmButtonExtender>
                                                        <asp:Button ID="Btn_AddBulkDNSZones" runat="server" Text='<%$ Resources:Content, AddBulkDNSZones%>'
                                                            class="btn btn-primary waves-effect btnAction" CausesValidation="false" />
                                                        <asp:Button ID="Btn_DeleteBulkDNSZonesCSV" runat="server" Text='<%$ Resources:Content, strBulkDNSZonesDelete%>'
                                                            class="btn btn-primary waves-effect btnAction" CausesValidation="false" />
                                                        <asp:Button ID="Btn_AddBulkDNSZonesRedirect" runat="server" Text='<%$ Resources:Content, AddBulkDNSZonesRedirect%>'
                                                            class="btn btn-primary waves-effect btnAction" CausesValidation="false" Visible="false" />
                                                        <asp:Button ID="Btn_BulkEditDNS" runat="server" Text='<%$ Resources:Content, BulkEdit%>'
                                                            class="btn btn-primary waves-effect btnAction" CausesValidation="false" />
                                                        <asp:Button ID="Btn_BulkResetZones" runat="server" Text='<%$ Resources:Content, ResetDNSZones%>'
                                                            class="btn btn-primary waves-effect btnAction" CausesValidation="false" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="Pnl_Listing" runat="server">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:GridView ID="GV_DNSZones" CurrentSortExpression="DNSZoneName" CurrentSortDirection="Asc" CssClass="table table-bordered table-striped table-hover"
                                                    runat="server" AllowPaging="true" AllowSorting="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' AutoGenerateColumns="false">

                                                    <Columns>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, String385 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <HeaderTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" runat="server" Text=" " onclick="SetCheckedHeader(this.checked, this,'All');" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_Item" runat="server" Text=" " onclick="SetCheckedHeader(this.checked, this,'1');" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN000125 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3" SortExpression="DNSZoneName">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="Lb_DNSZoneName" CommandName="Details" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.DNSZoneName") & "|" & DataBinder.Eval(Container, "DataItem.DNSServiceId") %>'
                                                                    runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DNSZoneName") %>'></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, String385 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:Label ID="img_Status" runat="server" />
                                                                <asp:HiddenField ID="HF_CustomerId" runat="server" />
                                                                <asp:HiddenField ID="HF_CompanyId" runat="server" />
                                                                <asp:HiddenField ID="HF_DNSZoneId" runat="server" />
                                                                <asp:HiddenField ID="HF_HostingId" runat="server" />
                                                                <asp:HiddenField ID="HF_DNSServiceId" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, M0117 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <asp:Label ID="Lbl_Server" runat="server"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000268 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_CustomerName" runat="server"></asp:HyperLink>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_RevLookup" runat="server" CommandName="reverse"
                                                                    Text="<%$ Resources:Content,SMI0481%>" CausesValidation="false" class="btn btn-primary waves-effect btnAction"></asp:LinkButton>
                                                                <asp:LinkButton ID="LB_Manage" runat="server" CommandName="Manage"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.DNSZoneName") & "|" & DataBinder.Eval(Container, "DataItem.DNSServiceId") %>'
                                                                    Text="<%$ Resources:Content,L0086%>" CausesValidation="false" class="btn btn-primary waves-effect"></asp:LinkButton>
                                                                <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.DNSZoneId") %>' class="btn btn-primary waves-effect btnAction"
                                                                    ID="LB_Remove" CommandName="RemoveTag" runat="server" Text="<%$ Resources:Content,GN0000278%>" />
                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,CBE001%>"
                                                                    TargetControlID="LB_Remove" runat="server">
                                                                </EM:ConfirmButtonExtender>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager1" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <div class="row" id="Pnl_AddZone" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <asp:Literal ID="Ltl_AddZoneHeader" runat="server" Text='<%$ Resources:Content, SPT002114 %>' /></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row" id="TR_DomainName" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,De336%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DnsZoneName" runat="server" />
                                                                    <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator3"
                                                                        ControlToValidate="TxBx_DnsZoneName" ValidationGroup="addDns" Display="None">
                                                                    </asp:RequiredFieldValidator>
                                                                   <%-- <asp:RegularExpressionValidator ID="RE_Domains" runat="server" ErrorMessage='<%$Resources:Content,String195%>'
                                                                        SetFocusOnError="True" ControlToValidate="TxBx_DnsZoneName" ValidationGroup="addDomain"
                                                                        ValidationExpression="<%$ Resources:Content,REV001 %>"
                                                                        Display="None"></asp:RegularExpressionValidator>
                                                                    <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_DnsZoneName"
                                                                        FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars=".-">
                                                                    </EM:FilteredTextBoxExtender>--%>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="LB_DomainSize" runat="server" Text="<%$ Resources:Content,Dev600%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_ReverseZone" runat="server" AutoPostBack="true" Text=" " />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="Tr_NetworkID" runat="server" visible="false">
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,STP0065%>"
                                                                        EnableViewState="false" />:<label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:TextBox ID="TxBx_IPAddress1" MaxLength="3" runat="server"></asp:TextBox>
                                                                <EM:FilteredTextBoxExtender ID="FTBE1" runat="server" TargetControlID="TxBx_IPAddress1" FilterType="Numbers,Custom" ValidChars="0123456789" />
                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_IPAddress1" runat="server" ControlToValidate="TxBx_IPAddress1"
                                                                    Display="None" ValidationGroup="addDns" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator ID="REV_TxBx_IPAddress1" runat="server" ControlToValidate="TxBx_IPAddress1"
                                                                    ValidationExpression="([0-9])*" Display="None" SetFocusOnError="true" ValidationGroup="addDns"></asp:RegularExpressionValidator>
                                                            </div>
                                                            <div class="col-sm-1 col-xs-12">.</div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:TextBox ID="TxBx_IPAddress2" MaxLength="3" runat="server"></asp:TextBox>
                                                                <EM:FilteredTextBoxExtender ID="FTBE2" runat="server" TargetControlID="TxBx_IPAddress2" FilterType="Numbers,Custom" ValidChars="0123456789" />
                                                                <%--<asp:RequiredFieldValidator ID="RFV_TxBx_IPAddress2" runat="server" ControlToValidate="TxBx_IPAddress2"
                                Display="None" ValidationGroup="addDns" SetFocusOnError="True"></asp:RequiredFieldValidator>--%>
                                                                <asp:RegularExpressionValidator ID="REV_TxBx_IPAddress2" runat="server" ControlToValidate="TxBx_IPAddress2"
                                                                    ValidationExpression="([0-9])*" ErrorMessage="Invalid IP Address" Display="None"
                                                                    SetFocusOnError="true" ValidationGroup="addDns"></asp:RegularExpressionValidator>
                                                            </div>
                                                            <div class="col-sm-1 col-xs-12">.</div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:TextBox ID="TxBx_IPAddress3" MaxLength="3" runat="server"></asp:TextBox>
                                                                <EM:FilteredTextBoxExtender ID="FTBE3" runat="server" TargetControlID="TxBx_IPAddress3" FilterType="Numbers,Custom" ValidChars="0123456789" />
                                                                <%--<asp:RequiredFieldValidator ID="RFV_TxBx_IPAddress3" runat="server" ControlToValidate="TxBx_IPAddress3"
                                Display="None" ValidationGroup="addDns" SetFocusOnError="True"></asp:RequiredFieldValidator>--%>
                                                                <asp:RegularExpressionValidator ID="REV_TxBx_IPAddress3" runat="server" ControlToValidate="TxBx_IPAddress3"
                                                                    ValidationExpression="([0-9])*" ErrorMessage="Invalid IP Address" Display="None"
                                                                    SetFocusOnError="true" ValidationGroup="addDns"></asp:RegularExpressionValidator>
                                                            </div>
                                                            <div class="col-sm-1 col-xs-12">.</div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:TextBox ID="TxBx_IPAddress4" MaxLength="3" runat="server" Enabled="false" BackColor="GrayText"></asp:TextBox>
                                                            </div>
                                                            <div class="col-sm-1 col-xs-12">.in-addr.arpa</div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_Save" runat="server" Text="<%$ Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" ValidationGroup="addDns" />
                                                            <asp:Button ID="Btn_CancelDomain" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText='<%$ Resources:Content, EM000001 %>'
                                        ShowMessageBox="True" ShowSummary="False" ValidationGroup="addDns" />

                                    <div class="row" id="Pnl_ImportZones" runat="server" visible="false">
                                        <div class="col-xs-12" id="Pnl_ImportControl" runat="server" visible="false">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.Dev337 %></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Ltl_SelServer" runat="server" Text="<%$ Resources:Content,GN0001112%>" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_ImportDNSServers" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,SPT002811%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_OwnerImport" runat="server" AutoPostBack="true">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN0000850%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_Client" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,DomainNameFilter%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_FilterDomainName" runat="server">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,ImportBatchLimit%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_BatchLimit" runat="server" Text="100">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_GetZones" runat="server" Text="<%$ Resources:Content,Dev338%>" class="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_ImportCancel2" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect"
                                                                CausesValidation="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-xs-12" id="Pnl_ImportListing" runat="server" visible="false">
                                            <%--Search--%>
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:Panel ID="pnlAccountSearch" runat="server" DefaultButton="Btn_Srch">
                                                        <div class="row">
                                                            <div class="panel-group search-panel" id="AS_Accounts" role="tablist" aria-multiselectable="true">
                                                                <div class="col-xs-12" role="tab" id="SH_Accounts" runat="server">
                                                                    <div class="card">
                                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_VPSAccounts.ClientID %>" aria-expanded="true" aria-controls="SH_ClientList">
                                                                            <h3>
                                                                                <%= Resources.Content.GN0000395%>
                                                                            </h3>
                                                                        </div>
                                                                        <div id="CSB_VPSAccounts" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                                            <div class="row">

                                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                    <div class="form-group form-float">
                                                                                        <div class="form-line">
                                                                                            <asp:TextBox ID="TxBx_ZoneName" runat="server" MaxLength="128"></asp:TextBox>
                                                                                            <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" class="form-label"></asp:Label>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="col-xs-12">
                                                                                    <div class="form-group form-float">
                                                                                        <asp:Button ID="Btn_Srch" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                        <asp:Button ID="Btn_ClearImport" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>

                                            <div class="card">
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:GridView ID="GV_ImportZone" CurrentSortExpression="ZoneName" CurrentSortDirection="Asc"
                                                                CssClass="table table-bordered table-striped table-hover" runat="server" AllowPaging="true" AllowSorting="false"
                                                                EmptyDataText='<%$ Resources:Content, GN00001375 %>' AutoGenerateColumns="false" PageSize="20">

                                                                <Columns>
                                                                    <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                        <HeaderTemplate>
                                                                            <asp:CheckBox class="option-menu" ID="CB_ZoneID" runat="server" Text=" " onclick="SetCheckedHeader(this.checked, this,'All');" />
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <asp:CheckBox class="option-menu" ID="CB_ZoneID" runat="server" Text=" " onclick="SetCheckedHeader(this.checked, this,'1');" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <%--<asp:TemplateField HeaderText="" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                        <ItemTemplate>
                                                                            <asp:CheckBox ID="CB_ZoneID" runat="server" Text=" " CssClass="option-menu" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>--%>
                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN000125 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3"
                                                                        SortExpression="ZoneName">
                                                                        <ItemTemplate>
                                                                            <asp:Literal ID="Ltl_DNSZoneName" runat="server" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000889 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3"
                                                                        SortExpression="CustomerId">
                                                                        <ItemTemplate>
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <div class="form-group">
                                                                                        <asp:DropDownList ID="DDL_ZoneCustomer" runat="server" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, L00101 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList ID="DDL_Package" runat="server">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,SMI0234%>" HeaderStyle-CssClass="col-xs-2">
                                                                        <ItemTemplate>
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <div class="form-group display-date-input">
                                                                                        <div class="form-line">
                                                                                            <asp:TextBox ID="TxBx_DRangeAfter" runat="server"></asp:TextBox>
                                                                                        </div>
                                                                                    </div>
                                                                                    <i runat="server" id="A_StartDate" class="material-icons icon-calendar col-calendar"></i>
                                                                                    <EM:CalendarExtender ID="CE_DRangeAfter" runat="server" TargetControlID="TxBx_DRangeAfter"
                                                                                        Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                                        PopupButtonID="A_StartDate" CssClass="date__calendar">
                                                                                    </EM:CalendarExtender>
                                                                                </div>
                                                                            </div>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001473 %>" HeaderStyle-CssClass="col-xs-1">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList ID="DDL_BillingCycle" runat="server">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000831 %>" HeaderStyle-CssClass="col-xs-1">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList ID="DDL_PaymentGroup" runat="server">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <%--PagerTemplate Start--%>
                                                                <PagerTemplate>
                                                                    <EM:Pager ID="Pager2" runat="server" />
                                                                </PagerTemplate>
                                                                <%--PagerTemplate End--%>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_ImportSave" runat="server" Text="<%$ Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" CausesValidation="false" />
                                                            <asp:Button ID="Btn_ImportCancel" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect"
                                                                CausesValidation="false" />
                                                            <asp:Button ID="Btn_ImportBack" runat="server" Text="<%$ Resources:Content,GN0000483%>" class="btn btn-primary waves-effect btnAction" CausesValidation="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="Pnl_AddBulkZones" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.AddBulkDNSZones %></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row" id="td_Customer" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN0000889%>" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_CustomersBulkDNS" runat="server" AutoPostBack="true" />
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Ltrl_UploadCSVBulkDNS" runat="server" Text="<%$Resources:Content,UploadCSVOneDomainInLine %>"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                        <asp:FileUpload ID="FU_BulkDNS" runat="server" />
                                                                    </span>
                                                                    <span class="fileupload-preview"></span>
                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                    <asp:RequiredFieldValidator ID="RFV_FU_BulkDNS" runat="server" ControlToValidate="FU_BulkDNS"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="BulkDNS"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <asp:Literal ID="Ltl_DownLoadCSVBulkDNS" runat="server"></asp:Literal>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary4" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkDNS" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_UploadBulkDNS" runat="server" ValidationGroup="BulkDNS" CausesValidation="True"
                                                                class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strUpload%>" />
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            (OR)
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,EnterCommaDomainNames%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:TextBox ID="TxBx_ZoneNamesBulk" runat="server" TextMode="MultiLine" Rows="5" Columns="10" />
                                                            </div>
                                                            <asp:RequiredFieldValidator ID="RFV_TxBx_ZoneNamesBulk" runat="server" ControlToValidate="TxBx_ZoneNamesBulk"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="BulkDNSSave"></asp:RequiredFieldValidator>
                                                        </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,String400%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_DNSServerBulk" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,SelectNSGroup%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_NSGroup" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,SelectDNSTemplate%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_DNSTemplate" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary5" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkDNSSave" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_BulkAddDNSZones" runat="server" Text="<%$ Resources:Content,GN0000281%>"
                                                                ValidationGroup="BulkDNSSave" class="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_BulkCancelDNSZones" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect"
                                                                CausesValidation="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="row" id="Pnl_AddBulkZonesRedirect" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.AddBulkDNSZonesRedirect %></h3>
                                                </div>
                                                <div class="body">

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Ltrl_UploadCSVBulkDNSRedirect" runat="server" Text="<%$Resources:Content,selectExcelFileToImport %>"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                        <asp:FileUpload ID="FU_BulkDNSRedirect" runat="server" />
                                                                    </span>
                                                                    <span class="fileupload-preview"></span>
                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                    <asp:RequiredFieldValidator ID="RFV_FU_BulkDNSRedirect" runat="server" ControlToValidate="FU_BulkDNSRedirect"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="BulkDNSRedirect"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <asp:Literal ID="Ltl_DownLoadCSVBulkDNSRedirect" runat="server"></asp:Literal>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-12">
                                                            
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal33" runat="server" Text="<%$Resources:Content,OverWriteRecords %>"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_OverWriteRecords" runat="server" Text=" " />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary6" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkDNSRedirect" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_UploadBulkDNSRedirect" runat="server" ValidationGroup="BulkDNSRedirect" CausesValidation="True"
                                                                class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strUpload%>" />
                                                            &nbsp;<asp:Button ID="Btn_BulkCancelDNSZonesRedirect" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect"
                                                                CausesValidation="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="Pnl_DeleteBulkZones" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.strBulkDNSZonesDelete %></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Ltrl_UploadCSVBulkDNSDel" runat="server" Text="<%$Resources:Content,UploadCSVOneDomainInLine %>"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                        <asp:FileUpload ID="FU_BulkDNSDel" runat="server" />
                                                                    </span>
                                                                    <span class="fileupload-preview"></span>
                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                    <asp:RequiredFieldValidator ID="RFV_FU_BulkDNSDel" runat="server" ControlToValidate="FU_BulkDNSDel"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="BulkDNSDel"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <asp:Literal ID="Ltl_DownLoadCSVBulkDNSDel" runat="server"></asp:Literal>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary9" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkDNSDel" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_UploadBulkDNSDel" runat="server" ValidationGroup="BulkDNSDel" CausesValidation="True"
                                                                class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strUpload%>" />
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            (OR)
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,EnterCommaDomainNames%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:TextBox ID="TxBx_ZoneNamesBulkDel" runat="server" TextMode="MultiLine" Rows="5" Columns="10" />
                                                            </div>
                                                            <asp:RequiredFieldValidator ID="RFV_TxBx_ZoneNamesBulkDel" runat="server" ControlToValidate="TxBx_ZoneNamesBulkDel"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="BulkDNSSaveDel"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>


                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary10" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkDNSSaveDel" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_BulkDeleteDNSZones" runat="server" Text="<%$ Resources:Content,GN0000281%>"
                                                                ValidationGroup="BulkDNSSaveDel" class="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_BulkCancelDNSZonesDel" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect"
                                                                CausesValidation="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="row" id="Pnl_ResetBulkZones" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.ResetDNSZones %></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <strong>Notice: Zone will be removed, and re-created again using template. Any redirect records will be removed as well and will have to be re-created.</strong>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,SelectResetMode%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_ResetMode" runat="server">
                                                                    <asp:ListItem Value="1" Text="<%$ Resources:Content,DelAddNewDNSZone%>"></asp:ListItem>
                                                                    <asp:ListItem Value="2" Text="<%$ Resources:Content,UpdateExistDNSZone%>"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,SelectDNSZones%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <ajax:UpdatePanel ID="UP_DNSZonesReset" runat="server">
                                                                <ContentTemplate>
                                                                    <EM:AddSelectableSelected ID="UCDNSZonesReset" runat="server" />
                                                                </ContentTemplate>
                                                            </ajax:UpdatePanel>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,String400%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_DNSServerBulkReset" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,SelectNSGroup%>"
                                                                    EnableViewState="false" />:<label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_NSGroupReset" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,SelectDNSTemplate%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <ajax:UpdatePanel ID="UpdatePanel3" runat="server">
                                                                <ContentTemplate>
                                                                    <EM:AddSelectableSelected ID="UCDNSTemplateReset" runat="server" />
                                                                </ContentTemplate>
                                                            </ajax:UpdatePanel>
                                                        </div>
                                                    </div>
                                                    <%--<div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>*<asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,L00218%>" />:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_IPAddress" runat="server" />
                                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_IPAddress" runat="server" ControlToValidate="TxBx_IPAddress"
                                                                        Display="None" ValidationGroup="ResetDNS" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>--%>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <%--<asp:ValidationSummary ID="ValidationSummary11" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="ResetDNS" HeaderText="<%$ Resources:Content,EM000001%>" />--%>
                                                            <asp:Button ID="Btn_SaveBulkResetDNSZones" runat="server" Text="<%$ Resources:Content,GN0000281%>"
                                                                 CausesValidation="false" class="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_BulkCancelResetDNSZones" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect"
                                                                CausesValidation="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>

                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="Tab_DNSZoneRecords" runat="server" HeaderText="<%$ Resources:Content,SMI0482%>"
                            Enabled="false">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab1" runat="server" Style="display: none" />
                                <asp:Panel runat="Server" ID="Pnl_TabContent1" Visible="false">
                                    <EM:DNSManage runat="server" ID="DNSManage" />
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="Tab_WebRedirect" runat="server" HeaderText="<%$ Resources:Content,WebRedirect%>"
                            Enabled="false">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab2" runat="server" Style="display: none" />
                                <asp:Panel runat="Server" ID="Pnl_TabContent2" Visible="false">
                                    <div id="Pnl_RedirectRuleListing" runat="server">
                                        <asp:Panel ID="Pnl_SearchRule" runat="server" DefaultButton="Btn_SearchRule">
                                            <div class="row">
                                                <div class="panel-group search-panel" id="AS_RedirectRule" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_RedirectRule">
                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_RedirectRule" href="#<%= CSB_RedirectRule.ClientID%>" aria-expanded="true" aria-controls="SH_RedirectRule">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>
                                                            <div id="CSB_RedirectRule" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_RedirectRule" aria-expanded="false">
                                                                <div class="row">
                                                                    <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_OwnerWR">
                                                                        <div class="form-group form-float">
                                                                            <asp:DropDownList ID="DDl_OwnerWR" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CustomerIdWR">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CustomerIdWR" runat="server" MaxLength="128"></asp:TextBox>
                                                                                <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CustomerNameWR">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CustomerNameWR" runat="server" MaxLength="263"></asp:TextBox>
                                                                                <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_DomainNameRule" runat="server" MaxLength="200"></asp:TextBox>
                                                                                <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,L0085%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_RuleName" runat="server" MaxLength="128"></asp:TextBox>
                                                                                <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110008%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_AliasNameRule" runat="server" MaxLength="263"></asp:TextBox>
                                                                                <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000173%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:Button ID="Btn_SearchRule" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                            <asp:Button ID="Btn_ClearRule" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                                Text="<%$ Resources:Content,String289 %>" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card Div_OpsRow" id="Div_OpsRow2" runat="server">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN00001320%></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_AddRedirectRule" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,AddRedirectRule%>" CausesValidation="false" />
                                                                <asp:Button ID="Btn_BulkEdit" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,BulkEdit%>" CausesValidation="false" />
                                                                <asp:Button ID="Btn_RemoveRedirectRule" runat="server" Custom1="Custom" Style="display: none"
                                                                    Text="<%$ Resources:Content,GN0000278%>" CssClass="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <br />
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.WebRedirect%></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12" id="Div_LinkToGroupJobs" runat="server">
                                                                <%= Resources.Content.RedirectRulesNote.Replace("%href%", MachSol.MachPanel.Utility.Utility.GetBaseURLForAppStart().TrimEnd("/") & "/Rcc/Hostmatic/GroupActions.aspx") %>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:GridView ID="GV_RedirectRules" runat="server" AllowPaging="true" CssClass="table table-bordered table-striped table-hover"
                                                                    AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>">

                                                                    <Columns>
                                                                        <asp:TemplateField SortExpression="RuleName" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                            <HeaderTemplate>
                                                                                <asp:CheckBox runat="server" ID="ChkBx_All" onclick="SetCheckedHeader(this.checked, this, 'All');"
                                                                                    Text=" " />
                                                                                <asp:Literal runat="server" Text="<%$ Resources:Content,DGN1110008%>"></asp:Literal>
                                                                            </HeaderTemplate>
                                                                            <ItemTemplate>
                                                                                <asp:CheckBox Text=" " ID="ChkBx_All" runat="server" onclick="SetCheckedHeader(this.checked, this,'1');" />
                                                                                <asp:Label ID="LB_RuleName" runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField SortExpression="DNSZoneName" HeaderText="<%$ Resources:Content,L0085%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="Lbl_ZoneName" runat="server" CommandName="Manage"
                                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.DNSZoneName") & "|" & DataBinder.Eval(Container, "DataItem.DNSServiceId") %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField SortExpression="AliasName" HeaderText="<%$ Resources:Content,GN000173%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Lbl_AliasName" runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField SortExpression="Owner" HeaderText="<%$ Resources:Content,Exh505%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                            <ItemTemplate>
                                                                                <asp:HyperLink ID="LB_Owner" runat="server"></asp:HyperLink>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField SortExpression="RedirectURL" HeaderText="<%$ Resources:Content,strRedirectUrl%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Lbl_RedirectURL" runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <%--PagerTemplate Start--%>
                                                                    <PagerTemplate>
                                                                        <EM:Pager ID="Pager4" runat="server" />
                                                                    </PagerTemplate>
                                                                    <%--PagerTemplate End--%>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="Pnl_AddRedirectRule" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.AddRedirectRule%></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Ltrl_UploadCSV" runat="server" Text="<%$Resources:Content,UploadCSVOneDomainInLine %>"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                        <asp:FileUpload ID="FU_BulkDomains" runat="server" />
                                                                    </span>
                                                                    <span class="fileupload-preview"></span>
                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                    <asp:RequiredFieldValidator ID="RFV_FU_BulkDomains" runat="server" ControlToValidate="FU_BulkDomains"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="BulkDomains"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <asp:Literal ID="Ltl_DownLoadCSV" runat="server"></asp:Literal>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary2" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkDomains" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_UploadBulkDomains" runat="server" ValidationGroup="BulkDomains" CausesValidation="True"
                                                                class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strUpload%>" />
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            (OR)
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,SelectDNSZones%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <ajax:UpdatePanel ID="UP_DNSZones" runat="server">
                                                                <ContentTemplate>
                                                                    <EM:AddSelectableSelected ID="UCDNSZones" runat="server" />
                                                                </ContentTemplate>
                                                            </ajax:UpdatePanel>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-3 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,SelectRuleOption%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-9">
                                                            <div class="form-group">
                                                                <asp:RadioButtonList ID="RBL_HostNameOption" runat="server" AutoPostBack="true">
                                                                    <asp:ListItem Text="<%$ Resources:Content,DefaultRules%>" Value="0" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Text="<%$ Resources:Content,SpecifyHostName%>" Value="1"></asp:ListItem>
                                                                </asp:RadioButtonList>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row" id="TR_AliasName" runat="server" visible="false">
                                                        <div class="col-xs-12 col-sm-3 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,GN000173%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-4">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_AliasName" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-3 row-label">
                                                        </div>
                                                        <div class="col-xs-12 col-sm-9">
                                                            <b><u>Notice:</u></b><br />
                                                            For root level redirection, leave host name blank.<br />
                                                            For wildcard redirection, input * as host name.
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12 col-sm-3 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,strRedirectUrl%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-4">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_RedirectUrl" runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_RedirectUrl" runat="server" ControlToValidate="TxBx_RedirectUrl"
                                                                        Display="None" ValidationGroup="WebRedirect" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator Display="none" ValidationExpression="^(ht|f)tp(s?)://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$"
                                                                        SetFocusOnError="true" ValidationGroup="WebRedirect" ControlToValidate="TxBx_RedirectUrl" ID="REV_TxBx_RedirectUrl" runat="server"
                                                                        ErrorMessage='<%$ Resources:Content,String309%>'></asp:RegularExpressionValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12 col-sm-5 col-md-6">
                                                            <b>For Example:</b><br />
                                                            http://www.domain.com , https://www.domain.com
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary3" runat="server" HeaderText='<%$ Resources:Content, EM000001 %>'
                                                                ShowMessageBox="True" ShowSummary="False" ValidationGroup="WebRedirect" />

                                                            <asp:Button ID="Btn_SaveRedirectRule" Text="<%$ Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" runat="server" ValidationGroup="WebRedirect" />
                                                            <asp:Button ID="Btn_CancelRedirectRule" Text="<%$ Resources:Content,GN0000572%>" runat="server" class="btn btn-primary waves-effect" />
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="Pnl_BulkEdit" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.BulkEdit%></h3>
                                                </div>
                                                <div class="body">
                                                    <!-- Domains Upload -->
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal11" runat="server" Text="<%$Resources:Content,UploadCSVOneDomainInLine %>"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                        <asp:FileUpload ID="FU_BulkEditDomains" runat="server" />
                                                                    </span>
                                                                    <span class="fileupload-preview"></span>
                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="FU_BulkEditDomains" Display="None" SetFocusOnError="True" ValidationGroup="BulkEditDomains"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div>
                                                                <asp:Literal ID="Ltl_DownLoadCSV2" runat="server"></asp:Literal>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-12">
                                                            <asp:ValidationSummary ID="ValidationSummary7" runat="server" ShowMessageBox="true"
                                                                ShowSummary="false" ValidationGroup="BulkEditDomains" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                            <asp:Button ID="Btn_UploadBulkEditDomains" runat="server" ValidationGroup="BulkEditDomains" CausesValidation="True" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strUpload%>" />
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            (OR)
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,SelectDNSZones%>" EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <ajax:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                <ContentTemplate>
                                                                    <EM:AddSelectableSelected ID="UCDNSZonesEdit" runat="server" />
                                                                </ContentTemplate>
                                                            </ajax:UpdatePanel>
                                                        </div>
                                                    </div>

                                                    <!-- Select Operation Heading -->
                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal14" runat="server" Text="<%$Resources:Content,SelectOperation %>"></asp:Literal>:</label>
                                                        </div>
                                                    </div>

                                                    <!-- Select Operation -->
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <div class="form-group row-label">
                                                                <asp:RadioButton ID="RB_Modify" Checked="true" runat="server" Text="<%$Resources:Content,Lync379 %>" GroupName="BulkEdit" />&nbsp;&nbsp;&nbsp;<asp:RadioButton ID="RB_Delete" runat="server" Text="<%$Resources:Content,GN0000377 %>" GroupName="BulkEdit" />
                                                            </div>
                                                        </div>

                                                        <!-- Modify -->
                                                        <div class="col-xs-12" id="Tr_Modify" runat="server">
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 margin-left-25px padding-top-10px">
                                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$Resources:Content,SpecifyHostName %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_HostNameModify" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12 padding-top-10px">
                                                                    <asp:Literal ID="Literal22" runat="server" Text="<%$Resources:Content,strRedirectUrl %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_RedirectURLModify" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12 margin-left-25px">
                                                                    <asp:CheckBox ID="CB_UpdateWildRuleWhenHostBlank" runat="server" Text="<%$Resources:Content,UpdateWildRuleWhenHostBlank %>"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <!-- Delete -->
                                                        <div class="col-xs-12" id="Tr_Delete" runat="server" style="display: none;">
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 margin-left-25px padding-top-10px">
                                                                    <asp:Literal ID="Literal15" runat="server" Text="<%$Resources:Content,SpecifyHostName %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_HostNameDelete" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12 padding-top-10px">
                                                                    <asp:Literal ID="Literal19" runat="server" Text="<%$Resources:Content,HostNameNote %>"></asp:Literal>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_SaveBulkEdit" Text="<%$ Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" runat="server" />
                                                            <asp:Button ID="Btn_CancelBulkEdit" Text="<%$ Resources:Content,GN0000572%>" runat="server" class="btn btn-primary waves-effect" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="Tab_BulkEditDNS" runat="server" HeaderText="<%$ Resources:Content,BulkEdit%>"
                            Enabled="false">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab3" runat="server" Style="display: none" />
                                <asp:Panel runat="Server" ID="Pnl_TabContent3" Visible="false"></asp:Panel>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">

                                            <div class="body">
                                                <!-- Domains Upload -->
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal12" runat="server" Text="<%$Resources:Content,UploadCSVOneDomainInLine %>"></asp:Literal>:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                    <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                    <asp:FileUpload ID="FU_BulkEditDNS" runat="server" />
                                                                </span>
                                                                <span class="fileupload-preview"></span>
                                                                <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="FU_BulkEditDNS" Display="None" SetFocusOnError="True" ValidationGroup="BulkEditDNS"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div>
                                                            <asp:Literal ID="Literal21" runat="server"></asp:Literal>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-5 col-xs-12">
                                                        <asp:ValidationSummary ID="ValidationSummary8" runat="server" ShowMessageBox="true"
                                                            ShowSummary="false" ValidationGroup="BulkEditDNS" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                        <asp:Button ID="Btn_UploadBulkEditDNS" runat="server" ValidationGroup="BulkEditDNS" CausesValidation="True" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strUpload%>" />
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 row-label">
                                                        (OR)
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,SelectDNSZones%>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <ajax:UpdatePanel ID="UpdatePanel2" runat="server">
                                                            <ContentTemplate>
                                                                <EM:AddSelectableSelected ID="UCDNSZonesEditDNS" runat="server" />
                                                            </ContentTemplate>
                                                        </ajax:UpdatePanel>
                                                    </div>
                                                </div>

                                                <!-- Select Operation Heading -->
                                                <div class="row">
                                                    <div class="col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal24" runat="server" Text="<%$Resources:Content,SelectOperation %>"></asp:Literal>:</label>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <div class="form-group row-label">
                                                            <asp:RadioButton ID="RB_AddDNS" Checked="true" runat="server" AutoPostBack="true" Text="<%$Resources:Content,strAdd %>" GroupName="BulkEditDNS" />&nbsp;&nbsp;&nbsp;<asp:RadioButton ID="RB_EditDNS" AutoPostBack="true" runat="server" Text="<%$Resources:Content,strEdit %>" GroupName="BulkEditDNS" />&nbsp;&nbsp;&nbsp;<asp:RadioButton ID="RB_DeleteDNS" AutoPostBack="true" runat="server" Text="<%$Resources:Content,GN0000377 %>" GroupName="BulkEditDNS" />
                                                        </div>
                                                    </div>

                                                    <!-- Add/Edit -->
                                                    <div class="col-xs-12">
                                                        <EM:DNSManage runat="server" ID="DNSManageBulkEdit" />
                                                    </div>

                                                </div>

                                                <%--<div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:Button ID="Btn_SaveBulkEditDNS" Text="<%$ Resources:Content,GN0000281%>" class="btn btn-primary waves-effect" runat="server" />
                                                        <asp:Button ID="Btn_CancelBulkEditDNS" Text="<%$ Resources:Content,GN0000572%>" runat="server" class="btn btn-primary waves-effect" />
                                                    </div>
                                                </div>--%>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </ContentTemplate>
                        </EM:TabPanel>
                    </EM:TabContainer>

                </div>
            </div>
        </div>
    </div>
</div>

<asp:Button ID="Btn_Display" runat="server" Style="display: none;" />
<asp:Panel ID="Panel_Res" runat="server" BorderColor="ActiveBorder" BorderStyle="Groove"
    ScrollBars="Auto" Style="background-color: White;" CssClass="width-modal-popup-auto">
    <EM:ResourceQuota runat="server" ID="ResourceQuotaView" />
</asp:Panel>
<EM:ModalPopupExtender runat="server" ID="MPE_Resource" BackgroundCssClass="modalBackground"
    DropShadow="false" PopupControlID="Panel_Res" TargetControlID="Btn_Display">
</EM:ModalPopupExtender>
<script lang="javascript">
    <%--AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');--%>
    AllowArrowKeysInFilteredTextBoxExtender('<%=FTBE1.ClientID%>');
    AllowArrowKeysInFilteredTextBoxExtender('<%=FTBE2.ClientID%>');
    AllowArrowKeysInFilteredTextBoxExtender('<%=FTBE3.ClientID%>');
</script>
