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

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<div class="row">
    <div class="col-xs-12">
        <table class="table table-bordered table-striped table-hover">
            <tr>
                <td width="20%" class="row-label">
                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN0000102%>" EnableViewState="false" />

                </td>
                <td>
                    <asp:Label ID="Lbl_ServerGroupName2" runat="server" EnableViewState="true" />
                </td>

            </tr>
        </table>
    </div>
</div>

<asp:Panel ID="Pnl_Listing" runat="server">
    <!-- Operations -->
    <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%>                                                                                                                                 
                    </h3>
                </div>
                <div class="body">
                    <div class="clearfix">
                        <asp:Button ID="Btn_AddSubNetPool" CausesValidation="false" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,AddSubNetPool %>' />
                        <asp:Button ID="Btn_AddBulkSubNetPool" CausesValidation="false" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,AddBulk %>' />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <EM:MPGridView ID="GV_SubNets" CurrentSortExpression="SubNet" CurrentSortDirection="Asc"
                CssClass="table table-bordered table-striped table-hover" runat="server" AllowPaging="false" AllowSorting="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                AutoGenerateColumns="false" DataKeyNames='SubNetId,SubNet'>

                <Columns>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, strIPPoolName %>"
                        HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3" SortExpression="SubNet">
                        <ItemTemplate>
                            <asp:LinkButton ID="Lb_SubNet" CommandName="Details" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.SubNetId")%>'
                                runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.IPPoolName")%>'></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000673 %>"
                        HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="Type">
                        <ItemTemplate>
                            <asp:Label ID="Lbl_Type" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000854 %>"
                        HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" SortExpression="Gateway">
                        <ItemTemplate>
                            <asp:Label ID="Lbl_Gateway" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Gateway") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, HVServer33 %>"
                        HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" SortExpression="Subnet">
                        <ItemTemplate>
                            <asp:Label ID="Lbl_Subnet" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Subnet") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, HVServer32 %>"
                        HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="VLanId">
                        <ItemTemplate>
                            <asp:Label ID="Lbl_VLanId" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.VLanId")%>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, strUseforsharedVPShosting %>"
                        HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" SortExpression="VLanId">
                        <ItemTemplate>
                            <asp:Label ID="Lbl_sharedVPShosting" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.IsSharedVPSHostingPool")%>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>"
                        HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                        <ItemTemplate>
                            <asp:LinkButton class="btn btn-primary waves-effect btnAction" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.SubNetId")%>'
                                ID="LB_Remove" CommandName="RemoveSubNet" 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>
            </EM:MPGridView>
        </div>
    </div>

</asp:Panel>

<div class="row" id="Pnl_Add" runat="server">
    <div class="col-xs-12">
        <asp:Panel ID="Panel5" runat="server" DefaultButton="Btn_SaveAdd">
            <div class="card">
                <div class="header">
                    <h3>
                        <asp:Literal ID="Literal8" Text="<%$ Resources:Content,VPS992%>" runat="server" />
                    </h3>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                                    <asp:Literal ID="IPPoolName" Text="<%$ Resources:Content,strIPPoolName%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="txtIpPoolName" runat="server"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RequiredFie55ldValidator4" runat="server" SetFocusOnError="true"
                                Display="None" ControlToValidate="txtIpPoolName" ValidationGroup="addip"></asp:RequiredFieldValidator>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                                    <asp:Literal ID="Literal1" Text="<%$ Resources:Content,GN0000673%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:DropDownList ID="DDL_Type" runat="server" Width="150">
                                <asp:ListItem Text="<%$ Resources:Content,VPS990%>" Value="1"></asp:ListItem>
                                <asp:ListItem Text="<%$ Resources:Content,VPS991%>" Value="0"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                                    <asp:Literal ID="Literal16" runat="server" Text='<%$ Resources: Content, HVServer21 %>'></asp:Literal>:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:DropDownList ID="DDl_VirtualSwitch" runat="server" AppendDataBoundItems="true">
                            </asp:DropDownList>
                        </div>
                    </div>

                    <%--<div class="row" id="divNatPoolAdd" runat="server" visible="false">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal21" Text="<%$ Resources:Content,strNatted%>" runat="server" EnableViewState="false" />:                                               
                            </div>
                            <div class="col-sm-1 col-xs-12">
                                <div class="form-group">
                                    <asp:CheckBox ID="ChBx_Natted" runat="server" Text=" " AutoPostBack="true"></asp:CheckBox>
                                </div>
                            </div>
                            <div class="col-sm-3 col-xs-12" id="divNatPool" runat="server" visible="false">
                                <asp:DropDownList ID="ddl_NattedPrivatePools" runat="server"></asp:DropDownList>
                            </div>
                        </div>--%>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal19" Text="<%$ Resources:Content,HVServer32%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_VLanIdIP" runat="server" MaxLength="9"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RangeValidator ID="rvVLanID" runat="server" Type="Integer" MinimumValue="1"
                                MaximumValue="4094" ValidationGroup="addip" Display="None" ControlToValidate="TxBx_VLanIdIP" ErrorMessage="<%$ Resources:Content,L00205 %>"></asp:RangeValidator>
                            <EM:FilteredTextBoxExtender ID="FTE_VLan" runat="server" TargetControlID="TxBx_VLanIdIP"
                                FilterType="Numbers,Custom" ValidChars="0123456789">
                            </EM:FilteredTextBoxExtender>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *   
                                    <asp:Literal ID="Literal7" Text="<%$ Resources:Content,GN00001153%>" runat="server" EnableViewState="false" />:
                                               
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TB_FirstIP" runat="server"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-1 col-xs-12">
                            to
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TB_LastIP" runat="server" MaxLength="3"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true"
                                Display="None" ControlToValidate="TB_FirstIP" ValidationGroup="addip"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="REV_AddFirstIP" runat="server" ControlToValidate="TB_FirstIP"
                                Display="None" SetFocusOnError="true" ValidationGroup="addip" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                ErrorMessage="<%$ Resources:Content,String176 %>"></asp:RegularExpressionValidator>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                                    <asp:Literal ID="Literal15" Text="<%$ Resources:Content,HVServer33%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TB_Subnet" runat="server"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" SetFocusOnError="true"
                                Display="None" ControlToValidate="TB_Subnet" ValidationGroup="addip"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RFV_AddSubNetMask" runat="server" ControlToValidate="TB_Subnet"
                                Display="None" SetFocusOnError="true" ValidationGroup="addip" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                ErrorMessage="<%$ Resources:Content,DEV1056 %>"></asp:RegularExpressionValidator>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                                            <asp:Literal ID="Literal13" Text="<%$ Resources:Content,GN0000854%>" runat="server" EnableViewState="false" />:
                                               
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TB_Gateway" runat="server"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SetFocusOnError="true"
                                Display="None" ControlToValidate="TB_Gateway" ValidationGroup="addip"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TB_Gateway"
                                Display="None" SetFocusOnError="true" ValidationGroup="addip" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                ErrorMessage="<%$ Resources:Content,VPS257 %>"></asp:RegularExpressionValidator>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal18" Text="<%$ Resources:Content,strUseforsharedVPShosting%>" runat="server" EnableViewState="false" />:                                               
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_UseforsharedVPShosting" runat="server" Text=" "></asp:CheckBox>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12 row-label">
                            <asp:Literal ID="Literal14" runat="server" Text='<%$ Resources:Content, strAssignIPPoolToResellers %>' />
                        </div>
                        <div class="col-xs-12">
                            <EM:AddSelectableSelected ID="UCResellers" runat="server" />
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" ValidationGroup="addip" ID="Btn_SaveAdd" runat="server"
                                Text="<%$ Resources:Content,GN0000281%>" />
                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" CausesValidation="false" ID="Btn_CancelAdd" runat="server"
                                Text="<%$ Resources:Content,GN0000572%>" />
                            <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="addip" HeaderText='<%$ Resources:Content,EM000001%>'
                                runat="server" ShowSummary="false" ShowMessageBox="true" />
                        </div>
                    </div>
                </div>
            </div>
        </asp:Panel>
    </div>
</div>

<asp:Panel ID="Pnl_AddBulk" runat="server">
    <div class="row">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <asp:Literal ID="Literal21" Text="<%$ Resources:Content, AddBulkSubnetPool%>" runat="server" />
                    </h3>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *<asp:Label ID="Lbl1" runat="server" Text='<%$ Resources:Content,String380%>' />:
                        </div>
                        <div class="col-sm-6 col-xs-12">
                            <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_SubnetPool" 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_SubnetPools" runat="server" ControlToValidate="FU_SubnetPool"
                                    Display="None" SetFocusOnError="True" ValidationGroup="AddBulk"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-3">
                            <asp:Literal ID="Ltl_DownLoadCSV" runat="server"></asp:Literal>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12">
                            <asp:ValidationSummary ID="ValidationSummary3" ValidationGroup="AddBulk" HeaderText='<%$ Resources:Content,EM000001%>'
                                runat="server" ShowSummary="false" ShowMessageBox="true" />

                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" ValidationGroup="AddBulk" ID="Btn_SaveBulk" runat="server"
                                Text="<%$ Resources:Content,GN0000281%>" />
                            <asp:Button CssClass="btn btn-primary waves-effect" CausesValidation="false" ID="Btn_CancelBulk" runat="server"
                                Text="<%$ Resources:Content,GN0000572%>" />

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>

<asp:Panel ID="Pnl_Details" runat="server" DefaultButton="Btn_Save2">
    <div class="row">
        <div class="col-xs-12">
            <div class="card">

                <div class="header">
                    <h3>
                        <asp:Literal ID="Literal2" Text="<%$ Resources:Content,VPS992%>" runat="server" />
                    </h3>
                </div>

                <div class="body">

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            * 
                        <asp:Literal ID="Literal12" Text="<%$ Resources:Content,strIPPoolName%>" runat="server"
                            EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="txtIPPoolNameEdit" runat="server"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:Button ID="btnEditIpPoolName" runat="server" Visible="false" CssClass="btn btn-primary waves-effect btnAction"
                                Text="<%$ Resources:Content,GN0000654%>" CausesValidation="false"></asp:Button>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal4" Text="<%$ Resources:Content,GN0000673%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:Label ID="Lbl_SubNetType" runat="server"></asp:Label>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal6" Text="<%$ Resources:Content,HVServer32%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <%--  <asp:Label ID="Lbl_VLanId" runat="server"></asp:Label>--%>
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="Txbx_VLanId" runat="server"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal3" Text="<%$ Resources:Content,HVServer33%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:Label ID="Lbl_Subnet" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="row">

                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal5" Text="<%$ Resources:Content,GN0000854%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:Label ID="Lbl_Gateway" runat="server"></asp:Label>
                        </div>

                    </div>

                    <div class="row">

                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal20" Text="<%$ Resources:Content,strUseforsharedVPShosting%>" runat="server" EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:Label ID="Lbl_UseforsharedVPShosting" runat="server"></asp:Label>
                        </div>

                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                                <asp:Literal ID="Literal17" runat="server" Text='<%$ Resources: Content, HVServer21 %>'></asp:Literal>:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:DropDownList ID="DDl_VirtualSwitchEdit" runat="server" AppendDataBoundItems="true">
                            </asp:DropDownList>
                        </div>
                    </div>

                    <%--<div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal22" Text="<%$ Resources:Content,strNatted%>" runat="server" EnableViewState="false" />:                                               
                        </div>
                        <div class="col-sm-1 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_NattedEdit" runat="server" Text=" " AutoPostBack="true"></asp:CheckBox>
                            </div>
                        </div>
                        <div class="col-sm-3 col-xs-12" id="divNatPoolEdit" runat="server" visible="false">
                            <asp:DropDownList ID="ddl_NattedPrivatePoolsEdit" runat="server"></asp:DropDownList>
                        </div>
                    </div>
                    <div class="row" id="DivCantMarkNattedMsg" runat="server" visible="false">
                        <div class="col-sm-3 col-xs-12 row-label">
                        </div>
                        <div class="col-sm-9 col-xs-12 row-label">
                            <asp:Literal ID="Literal23" Text="<%$ Resources:Content,strCantMarkNattedMsg%>" runat="server" EnableViewState="false" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                             <asp:Button CssClass="btn btn-primary waves-effect" ValidationGroup="addip" ID="Btn_UpdateNattedIP" runat="server"
                                Text="<%$ Resources:Content,strUpdateNattedIP%>" />
                        </div>
                        <div class="col-sm-9 col-xs-12 row-label" id="div_Nattedfileupload" runat="server" visible="false">
                           <div class="form-group">
                            <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_BrowseFile" runat="server" />
                                    </span>
                                    <span class="fileupload-preview"></span>
                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                </div>
                            </div>
                        </div>
                        </div>
                    </div>
                    <div class="col-sm-5 col-xs-12">
                        
                    </div>--%>

                    <asp:Panel ID="Panel1" runat="server" DefaultButton="Btn_FilterIPs">
                        <div class="row">
                            <div class="panel-group search-panel" id="AS_IPs" role="tablist" aria-multiselectable="true">
                                <div class="col-xs-12" role="tab" id="SH_IPs">
                                    <div class="card">
                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_IPs" href="#<%= CSB_IPs.ClientID%>" aria-expanded="true" aria-controls="SH_IPs">
                                            <h3>
                                                <%= Resources.Content.GN0000395%>
                                            </h3>
                                        </div>
                                        <div id="CSB_IPs" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_IPs" 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_IPAddress" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label11" runat="server" Text="<%$ Resources:Content,GN000174 %>" CssClass="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12" id="Div_NattedIP" runat="server">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_NattedIP" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content,strNattedIP %>" CssClass="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-2 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_SubsId" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content,SPT002807 %>" CssClass="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>

                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_FilterIPs" runat="server" Text='<%$ Resources:Content, GN0000395 %>' />
                                                    <asp:Button ID="Btn_ClearIPs" Visible="false" CssClass="btn btn-primary waves-effect" runat="server"
                                                        Text="<%$ Resources:Content,String289 %>" />
                                                </div>
                                            </div>

                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>

                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h3>
                                        <%= Resources.Content.GN00001320%>                                                                                                                                 
                                    </h3>
                                </div>
                                <div class="body">
                                    <div class="clearfix">
                                        <asp:Button ID="BtnExportIPs" CausesValidation="false" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12">
                            <EM:MPGridView ID="GV_IP" CurrentSortExpression="IP" CurrentSortDirection="Asc"
                                CssClass="table table-bordered table-striped table-hover" runat="server" AllowPaging="true" AllowSorting="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                AutoGenerateColumns="false" DataKeyNames='IPId,IP'>

                                <Columns>
                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN000174 %>" SortExpression="IP" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_IPAddress" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.IP") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$ Resources:Content, SPT002807 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:HyperLink ID="LB_ID" runat="server" Target="_blank"></asp:HyperLink>
                                            <asp:HyperLink ID="LB_VMName" runat="server" Target="_blank"></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="<%$ Resources:Content, String385 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_Status" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="<%$ Resources:Content, strNattedIP %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" SortExpression="NattedIP">
                                        <ItemTemplate>
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <%--<asp:TextBox ID="Txt_NattedIP" onblur='<%# "return SaveNattedIPForIPddress(this,'123' );return false;" %>' Text='<%# DataBinder.Eval(Container, "DataItem.NattedIP") %>' runat="server"></asp:TextBox>--%>
                                                    <input type="text" onblur="return SaveNattedIPForIPddress(this,'<%# DataBinder.Eval(Container.DataItem, "IPId")%>' );return false;" value='<%# DataBinder.Eval(Container, "DataItem.NattedIP") %>' />

                                                </div>
                                            </div>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$ Resources:Content, MACAddress %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:Label ID="LBL_NICMAC" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>"
                                        HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.IPId")%>'
                                                ID="LB_Remove" CommandName="RemoveIP" 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="Pager" runat="server" />
                                </PagerTemplate>
                                <%--PagerTemplate End--%>
                            </EM:MPGridView>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h5>
                                        <asp:Literal ID="Literal10" Text="<%$ Resources:Content,HVServer118%>" runat="server" /></h5>
                                </div>
                                <div class="body">

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *
                                           <asp:Literal ID="Literal9" Text="<%$ Resources:Content,GN00001153%>" runat="server"
                                               EnableViewState="false" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TB_FirstIP2" runat="server"></asp:TextBox>
                                                </div>
                                            </div>

                                        </div>
                                        <div class="col-sm-1 col-xs-12">
                                            to
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TB_LastIP2" runat="server" MaxLength="3"></asp:TextBox>
                                                </div>
                                            </div>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TB_FirstIP2"
                                                Display="None" SetFocusOnError="true" ValidationGroup="addip" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                                ErrorMessage="<%$ Resources:Content,String176 %>"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>

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

                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h5>
                                        <asp:Literal ID="Literal22" Text="<%$ Resources:Content,strAssignIPPoolToResellers%>" runat="server" /></h5>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <%-- <div class="col-xs-12 row-label">
                                            <asp:Literal ID="Div19" runat="server" Text='<%$ Resources:Content, strAssignIPPoolToResellers %>' />
                                        </div>--%>
                                        <div class="col-xs-12">
                                            <EM:AddSelectableSelected ID="UCResellerEdit" runat="server" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" ValidationGroup="addip" ID="Btn_Save2" runat="server"
                                Text="<%$ Resources:Content,GN0000281%>" />

                            <asp:Button CssClass="btn btn-primary waves-effect" CausesValidation="false" ID="Btn_Cancel" runat="server"
                                Text="<%$ Resources:Content,GN0000572%>" />

                            <asp:ValidationSummary ID="ValidationSummary2" ValidationGroup="addip" HeaderText='<%$ Resources:Content,EM000001%>'
                                runat="server" ShowSummary="false" ShowMessageBox="true" />
                        </div>
                    </div>


                </div>

            </div>
        </div>
    </div>
</asp:Panel>
<script lang="javascript">
    AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_VLan.ClientID%>');
</script>
