<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="Network_IPAddresses_PoolDetail, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/CC/SearchCustomer.ascx" TagName="SearchCustomer" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">

    <ajax:UpdatePanel ID="UP_ClientDetail" runat="server">
        <ContentTemplate>
            <div class="col-xs-12">
                <div class="card">
                    <div class="header">
                        <h2>
                            <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
                    </div>
                    <div class="body">
                        <EM:TabContainer ID="TbCntr_IPDetail" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_Summary" runat="server" HeaderText="<%$ Resources:Content,GN0000835%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN000183%></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal6" Text="<%$ Resources:Content,GN000170%>" runat="server" EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12" id="Td_PoolName" runat="server"></div>
                                                        </div>
                                                        <div class="row" style="display: none;">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal2" Text="<%$ Resources:Content,GN00001549%>" runat="server" EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12" id="Td_AllocType" runat="server"></div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal3" Text="<%$ Resources:Content,GN000188%>" runat="server" EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12">
                                                                <asp:LinkButton ID="LB_HardwareNode" runat="server"></asp:LinkButton>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal5" Text="<%$ Resources:Content,GN000195%>" runat="server" EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12">
                                                                <asp:CheckBox ID="CB_Enabled" AutoPostBack="true" runat="server" Text=" " />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="Div_IPPoolList" runat="server">
                                                <div class="col-xs-12 Div_OpsRow" id="Div_OpsRow" runat="server">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.GN00001320%>      <%--Operations--%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_AddIP" runat="server" Text="<%$ Resources:Content,DGN1110003%>" />
                                                            <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_NAT" runat="server" Text="<%$ Resources:Content,String292%>" />
                                                            <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_AddExclusion" runat="server"
                                                                Text="<%$ Resources:Content,DGN1110004%>" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:GridView EmptyDataText="<%$ Resources:Content,GN00001375%>" CssClass="table table-bordered table-striped table-hover" ID="GV_IPAddresses"
                                                        runat="server" AutoGenerateColumns="false">

                                                        <Columns>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN000174%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <div id="Div_IPAddress" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN000189%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <div id="Div_SubNet" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,L00218%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <div id="Div_PublicIP" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,String385%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <div id="Div_Status" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,L00219%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <div id="Div_NAT" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110026%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <div id="Div_SharedIP" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_SetAsShared" CommandName="Shared" runat="server" Text="<%$ Resources:Content,L00220%>" class="btn btn-primary waves-effect btnAction"></asp:LinkButton>
                                                                    <asp:LinkButton ID="LB_Allocate" CommandName="Allocate" runat="server" class="btn btn-primary waves-effect btnAction"></asp:LinkButton>
                                                                    <asp:LinkButton class="btn btn-primary waves-effect btnAction" ID="LB_Remove" CommandName="Remove" runat="server" Text="<%$ Resources:Content,GN0000278%>" />
                                                                    <EM:ConfirmButtonExtender ID="CFE_Remove" TargetControlID="LB_Remove" runat="server" />
                                                                    <EM:ConfirmButtonExtender ID="CFE_DeAllocate" ConfirmText="<%$ Resources:Content,DGN1119997%>"
                                                                        TargetControlID="LB_Allocate" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--PagerTemplate Start--%>
                                                        <PagerTemplate>
                                                            <EM:Pager ID="Pager1" runat="server" />
                                                        </PagerTemplate>
                                                        <%--PagerTemplate End--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>

                                        <%--Add new IP--%>
                                        <div class="row" id="Div_AddIP" runat="server" style="display: none">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN000194%></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal7" Text="<%$ Resources:Content,GN000187%>" runat="server" EnableViewState="false" />
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12" id="Td_Name" runat="server"></div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal9" Text="<%$ Resources:Content,GN00001153%>" runat="server" EnableViewState="false" />:</label>
                                                            </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>
                                                                        <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>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal1" Text="<%$ Resources:Content,GN00001154%>" runat="server" EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TB_LastIP" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SetFocusOnError="true"
                                                                            Display="None" ControlToValidate="TB_LastIP" ValidationGroup="addip"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ID="REV_AddLastIP" runat="server" ControlToValidate="TB_LastIP"
                                                                            Display="None" SetFocusOnError="true" ValidationGroup="addip" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                                                            ErrorMessage="<%$ Resources:Content,String176 %>"></asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal4" Text="<%$ Resources:Content,GN000189%>" runat="server" EnableViewState="false" />:</label>
                                                            </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>
                                                                        <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="\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b"
                                                                            ErrorMessage="<%$ Resources:Content,DEV1056 %>"></asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="display: none;">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal8" Text="<%$ Resources:Content,GN000190%>" runat="server" EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TB_PrimaryDNS" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="display: none;">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal22" Text="<%$ Resources:Content,GN000191%>" runat="server" EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TB_SecondaryDNS" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button class="btn btn-primary waves-effect btnAction" ValidationGroup="addip" ID="Btn_Save" runat="server"
                                                                    Text="<%$ Resources:Content,GN0000281%>" />
                                                                <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="addip" HeaderText='<%$ Resources:Content,EM000001%>'
                                                                    runat="server" ShowSummary="false" ShowMessageBox="true" />
                                                                <asp:Button class="btn btn-primary waves-effect" ID="Btn_Cancel" runat="server" Text="<%$ Resources:Content,GN0000572%>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <%--Allocate IP--%>
                                        <div id="Div_AllocIP" runat="server" style="display: none">
                                            <EM:SearchCustomer ID="SearchClient" runat="server" />
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <asp:Literal ID="Literal11" Text="<%$ Resources:Content,DGN1110324%>" runat="server" EnableViewState="false" />
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN0000889%>" EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Clients" AutoPostBack="true" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_Subsc" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,DGN1119987%>" EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Subscription" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_TillDate" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,GN0001103%>" EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:RadioButton ID="RB_TillExpiry" Checked="true" Value="0" GroupName="IP" runat="server" Text="<%$ Resources:Content,DGN1119990%>" /><br />
                                                                        <asp:RadioButton ID="RB_Till" Value="1" GroupName="IP" runat="server" Text="<%$ Resources:Content,DGN1119989%>" />
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12"><br />
                                                                    <div class="form-group display-date-input">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Date" Enabled="false" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                     <i runat="server" id="A_Date" class="material-icons icon-calendar col-calendar"></i>
                                                                    
                                                                    <EM:CalendarExtender ID="CE_IRangeAfter" runat="server" TargetControlID="TxBx_Date"
                                                                        Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_Date" CssClass="date__calendar">
                                                                    </EM:CalendarExtender>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="TR_IPList" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,GN000174%>" EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:ListBox ID="LtBx_IP" runat="server" SelectionMode="Multiple" CssClass="ms-list"></asp:ListBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_Buttons" runat="server">
                                                                <div class="col-xs-12">
                                                                    <asp:Button ID="Btn_AllocateIP" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0001104%>" />
                                                                    <asp:Button ID="Btn_CancelAllocate" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000572%>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <%--IP Exclusion--%>
                                        <div class="row" id="Div_AddExclusion" runat="server" style="display: none">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><asp:Literal ID="Literal18" Text="<%$ Resources:Content,DGN1110004%>" runat="server" EnableViewState="false" /></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal20" Text="<%$ Resources:Content,GN000174%>" runat="server" EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:ListBox ID="LBX_IPs" SelectionMode="Multiple" runat="server" Height="100px"
                                                                    Width="200px" CssClass="ms"></asp:ListBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" SetFocusOnError="true"
                                                                    Display="None" ControlToValidate="LBX_IPs" ValidationGroup="ex"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal21" Text="<%$ Resources:Content,GN000148%>" runat="server" EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12">
                                                                <asp:TextBox ID="TxBx_Comment" TextMode="MultiLine" width="100%" Height="150px" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" SetFocusOnError="true"
                                                                    Display="None" ControlToValidate="TxBx_Comment" ValidationGroup="ex"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_AddIPSExclusion" ValidationGroup="ex" runat="server"
                                                                    Text="<%$ Resources:Content,GN0000281%>" />
                                                                <asp:ValidationSummary ID="ValidationSummary2" ValidationGroup="ex" HeaderText='<%$ Resources:Content,EM000001%>'
                                                                    runat="server" ShowSummary="false" ShowMessageBox="true" />
                                                                <asp:Button class="btn btn-primary waves-effect" ID="Btn_CancelExclusion" runat="server"
                                                                    Text="<%$ Resources:Content,GN0000572%>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_IPLeases" runat="server" HeaderText="<%$ Resources:Content,L00222%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:GridView CssClass="table table-bordered table-striped table-hover" ID="GV_IPAllocation" AllowPaging="true" EmptyDataText="<%$ Resources:Content,GN00001375%>"
                                                    runat="server" AutoGenerateColumns="false">

                                                    <Columns>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN000174%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <div id="Div_IPAddress" runat="server">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN0001102%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_OccupiedBy" runat="server"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1119987%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_Account" runat="server"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001547%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <div id="Div_StartDate" runat="server">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1119986%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <div id="Div_EndDate" runat="server">
                                                                </div>
                                                            </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" ID="LB_DeAllocate" CommandName="De-Allocate"
                                                                    runat="server" Text="<%$ Resources:Content,DGN1119999%>"></asp:LinkButton>
                                                                <EM:ConfirmButtonExtender ID="CFE_DeAllocate" ConfirmText="<%$ Resources:Content,DGN1119997%>"
                                                                    TargetControlID="LB_DeAllocate" runat="server">
                                                                </EM:ConfirmButtonExtender>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager2" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Exclusions" runat="server" HeaderText="<%$ Resources:Content,GN00001400%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:GridView CssClass="table table-bordered table-striped table-hover" ID="GV_Exclusions" AllowPaging="true" EmptyDataText="<%$ Resources:Content,GN00001375%>"
                                                    runat="server" AutoGenerateColumns="false">

                                                    <Columns>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN000174%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                            <ItemTemplate>
                                                                <div id="Div_IPAddress" runat="server">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN000189%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                            <ItemTemplate>
                                                                <div id="Div_SubNet" runat="server">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000746%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                            <ItemTemplate>
                                                                <div id="Div_Comment" runat="server">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <asp:LinkButton class="btn btn-primary waves-effect btnAction" ID="LB_RemoveExclusion" CommandName="RemoveExclusion"
                                                                    runat="server" Text="<%$ Resources:Content,DGN1119985%>"></asp:LinkButton>
                                                                <EM:ConfirmButtonExtender ID="CFE_DeAllocate" ConfirmText="<%$ Resources:Content,DGN1119984%>"
                                                                    TargetControlID="LB_RemoveExclusion" runat="server">
                                                                </EM:ConfirmButtonExtender>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager3" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </ajax:UpdatePanel>
</asp:Content>
