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

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

<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="body">


                <div class="row">
                    <div class="col-xs-12">
                        <div class="products-step">
                            <span id="div_PhoneNumbers" runat="server" nowrap="true" class="label label-success">
                                <asp:LinkButton ID="lb_PhoneNumbers" runat="server" Text='<%$ Resources:Content, DEV1089 %>' />
                            </span>
                            <span id="div_NumbersPorting" runat="server" nowrap="true" class="label label-default">
                                <asp:LinkButton ID="lb_NumbersPorting" runat="server" Text='<%$ Resources:Content, NumbersPorting %>' />
                            </span>
                        </div>
                    </div>
                </div>

                <asp:Panel ID="Pnl_PhoneNumbers" runat="server">
                    <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_SrchPhoneNumbers">

                        <div class="row">
                            <div class="panel-group search-panel" id="AS_PhoneNumbers" role="tablist" aria-multiselectable="true">
                                <div class="col-xs-12" role="tab" id="SH_PhoneNumbers">
                                    <div class="card">
                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_PhoneNumbers" href="#<%= CSB_PhoneNumbers.ClientID%>" aria-expanded="true" aria-controls="SH_PhoneNumbers">
                                            <h3>
                                                <%= Resources.Content.GN0000395%>
                                            </h3>
                                        </div>
                                        <div id="CSB_PhoneNumbers" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_PhoneNumbers" aria-expanded="false">
                                            <div class="row">
                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_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="Div_CustomerId">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_SrchCustomerId" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label4" 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_CustomerName">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_SrchCustomerName" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label10" 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" runat="server" id="Div_SubscriptionId">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_SrchSubscriptionId" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label1" runat="server" EnableViewState="false"
                                                                Text="<%$ Resources:Content,String61%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CompanyName">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_SrchCompanyName" runat="server" MaxLength="200"></asp:TextBox>
                                                            <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" 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_SrchPhoneNumber" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label2" runat="server" class="form-label" EnableViewState="false" Text="<%$ Resources:Content,PhoneNumber%>"></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_SrchAssignedTo" runat="server" />
                                                            <asp:Label ID="Label3" runat="server" class="form-label" EnableViewState="false"
                                                                Text="<%$ Resources:Content,DEV1134%>"></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_SrchStatus" runat="server">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-xs-12">
                                                    <div class="form-group form-float">
                                                        <asp:Button ID="Btn_SrchPhoneNumbers" 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:GridView CssClass="table table-bordered table-striped table-hover" AllowSorting="true" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                        ID="GV_PhoneNumbers" AllowPaging="True" runat="server"
                        AutoGenerateColumns="false">
                        <Columns>

                            <asp:TemplateField HeaderText="<%$ Resources:Content,PhoneNumber%>" HeaderStyle-CssClass="col-xs-3">
                                <ItemTemplate>
                                    <asp:Label ID="LB_PhoneNumber" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField SortExpression="AssignTo" HeaderText="<%$ Resources:Content,DEV1134%>"
                                HeaderStyle-CssClass="col-xs-4">
                                <ItemTemplate>
                                    <asp:HyperLink ID="LB_AssignedTo" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>


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



                            <asp:TemplateField SortExpression="CustomerName" HeaderText="<%$ Resources:Content,Customer%>" HeaderStyle-CssClass="col-xs-3">
                                <ItemTemplate>
                                    <asp:HyperLink ID="HL_Customer" runat="server"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerTemplate>
                            <UC:Pager ID="Pager1" runat="server" />
                        </PagerTemplate>
                    </asp:GridView>
                </asp:Panel>

                <asp:Panel ID="Pnl_NumbersPorting" runat="server" Visible="false">

                    <asp:Panel ID="Pnl_Btn_ApplyFilter_NumbersPorting" runat="server" CssClass="row" DefaultButton="Btn_ApplyFilter_NumbersPorting">
                        <div class="panel-group search-panel" id="AS_NumbersPorting" role="tablist" aria-multiselectable="true">
                            <div class="col-xs-12" role="tab" id="SH_NumbersPorting">
                                <div class="card">
                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_NumbersPorting"
                                        href="#<%= CSB_NumbersPorting.ClientID%>"
                                        aria-expanded="true" aria-controls="SH_NumbersPorting">
                                        <h3>
                                            <%= Resources.Content.GN0000395%>
                                        </h3>
                                    </div>
                                    <div id="CSB_NumbersPorting" runat="server" class="body panel-collapse collapse"
                                        role="tabpanel" aria-labelledby="SH_NumbersPorting" aria-expanded="false">
                                        <div class="row">

                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_OwnerPorting">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="DDl_OwnerPorting" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CustomerIdPortin">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBX_CustomerIDPorting" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label9" 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_CustomerNamePorting">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CustomerNamePorting" runat="server"></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" runat="server" id="Div_SubscriptionIdPorting">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_SubscriptionIdPorting" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label12" runat="server" EnableViewState="false"
                                                            Text="<%$ Resources:Content,String61%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CompanyNamePorting">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CompanyNamePorting" runat="server" MaxLength="200"></asp:TextBox>
                                                        <asp:Label ID="Label13" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" 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_SrchPhoneNumber_NP" runat="server" CssClass="allowonlyintegervalues" MaxLength="19"></asp:TextBox>
                                                        <asp:Label ID="Label5" runat="server" class="form-label" EnableViewState="false" Text="<%$ Resources:Content,PhoneNumber%>"></asp:Label>
                                                    </div>

                                                </div>
                                                <asp:RangeValidator ID="RV_TxBx_SrchPhoneNumber_NP" runat="server" ControlToValidate="TxBx_SrchPhoneNumber_NP"
                                                    Display="None" SetFocusOnError="true" ValidationGroup="SearchPortingNumbers"
                                                    ErrorMessage="<%$ Resources:Content,DGN1110070 %>" Type="Double"
                                                    MinimumValue="0" MaximumValue="9223372036854775807"></asp:RangeValidator>
                                            </div>

                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="Ddl_SrchCountries_NP" 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_SrchPostalCode_NP" runat="server" />
                                                        <asp:Label ID="Label6" runat="server" class="form-label" EnableViewState="false"
                                                            Text="<%$ Resources:Content,PostalCode%>"></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_SrchHouseNumber_NP" runat="server" MaxLength="7" CssClass="allowonlyintegervalues"></asp:TextBox>
                                                        <asp:Label ID="Label7" class="form-label" runat="server"
                                                            Text="<%$ Resources:Content,HouseNumber %>"></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_SrchNumberTypes_NP" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="DDl_RequestStatus" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:ValidationSummary ID="VS_SearchPortingNumbers" runat="server" ShowMessageBox="true"
                                                        ShowSummary="false" ValidationGroup="SearchPortingNumbers" />
                                                    <asp:Button ID="Btn_ApplyFilter_NumbersPorting" ValidationGroup="SearchPortingNumbers" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000391%>" />
                                                    <asp:Button ID="Btn_ClearFilter_NumbersPorting" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />

                                                </div>
                                            </div>

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

                    <asp:Panel ID="Pnl_Listing_NumbersPorting" runat="server">
                        <div class="clearfix">
                            <div class="double-scroll-wrapper1">
                                <div>
                                </div>
                            </div>
                            <div class="double-scroll-wrapper2">
                                <EM:MPGridView ID="GV_NumbersPorting" CssClass="table table-bordered table-striped table-hover table-layout-fixed width-porting-grid" AllowSorting="true" AllowPaging="true"
                                    EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">
                                    <Columns>

                                        <asp:TemplateField SortExpression="RequestDate" HeaderStyle-CssClass="width-porting-DateCreated" HeaderText='<%$ Resources:Content, RequestDate %>'>
                                            <ItemTemplate>
                                                <asp:Label ID="Lbl_DateCreated" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                          <asp:TemplateField HeaderText='<%$ Resources:Content, SPT002807 %>' HeaderStyle-CssClass="width-porting-SubId">
                                            <ItemTemplate>
                                                 <asp:HyperLink ID="LB_SubId" runat="server"></asp:HyperLink>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText='<%$ Resources:Content, StrDirection %>' HeaderStyle-CssClass="width-porting-Direction">
                                            <ItemTemplate>
                                                <asp:Label ID="LB_Direction" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                       

                                        <asp:TemplateField HeaderText="<%$ Resources:Content,Status%>" HeaderStyle-CssClass="width-porting-Status" ItemStyle-Wrap="true">
                                            <ItemTemplate>
                                                <div class="word-wrap">
                                                    <asp:Label ID="Lbl_Status" runat="server" />
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText="<%$ Resources:Content,strMessage%>" HeaderStyle-CssClass="width-porting-Message">
                                            <ItemTemplate>
                                                <asp:Label ID="Lbl_Message" runat="server" /><br />
                                                <asp:Label ID="Lbl_PerformDate" runat="server" Visible="false" />

                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000320 %>' HeaderStyle-CssClass="width-porting-Alert">
                                            <ItemTemplate>
                                                <div id="Div_Alert" runat="server" style="height: 30px;" />
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText="<%$ Resources:Content,NumberRanges%>" HeaderStyle-CssClass="width-porting-NumberRanges">
                                            <ItemTemplate>
                                                <table class="table small">
                                                    <tbody>
                                                        <tr>
                                                            <td class="col-xs-12 row-label">
                                                                <asp:Literal ID="ltlTotalPhoneNo" runat="server" Text="<%$ Resources:Content,strTotalPhoneNumbers%>" />
                                                                <asp:Label ID="Lbl_NumbersCount" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-12 row-label">
                                                                <asp:Label ID="Lbl_NumberRanges" runat="server"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText="<%$ Resources:Content,strName%>"  HeaderStyle-CssClass="width-porting-strName">
                                            <ItemTemplate>
                                                <table class="table small">
                                                    <tbody>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlInitial" runat="server" Text="<%$ Resources:Content,DGN1110336%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_Initial" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlMiddle" runat="server" Text="<%$ Resources:Content,DGN1110529%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_Middle" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlLastName" runat="server" Text="<%$ Resources:Content,GN00001133%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_LastName" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlCustomerId" runat="server" Text="<%$ Resources:Content,strCustomerId%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_CustomerId" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlCompanyName" runat="server" Text="<%$ Resources:Content,CompanyName%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_CompanyName" runat="server" />
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText="<%$ Resources:Content,strAddress%>" HeaderStyle-CssClass="width-porting-strAddress">
                                            <ItemTemplate>
                                                <table class="table small">
                                                    <tbody>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlHNo" runat="server" Text="<%$ Resources:Content,HouseNumber%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_HouseNo" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlHNoAd" runat="server" Text="<%$ Resources:Content,HouseNumberAddition%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_HouseNoAdd" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlPostalCode" runat="server" Text="<%$ Resources:Content,PostalCode%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_PostalCode" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlCity" runat="server" Text="<%$ Resources:Content,GN0000880%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_City" runat="server" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="col-xs-6 row-label">
                                                                <asp:Literal ID="ltlCountry" runat="server" Text="<%$ Resources:Content,Country%>" />:
                                                            </td>
                                                            <td class="col-xs-6">
                                                                <asp:Label ID="Lbl_Country" runat="server" />
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <%--    <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000882 %>' HeaderStyle-Width="100px">
                                            <ItemTemplate>
                                                <asp:Label ID="LB_Country" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>--%>



                                        <asp:TemplateField SortExpression="CustomerName" HeaderText="<%$ Resources:Content,Customer%>" HeaderStyle-CssClass="width-porting-CustomerName">
                                            <ItemTemplate>
                                                <asp:HyperLink ID="HL_Customer" runat="server"></asp:HyperLink>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>'  HeaderStyle-CssClass="width-porting-btns">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="Btn_Edit" runat="server" Text="<%$ Resources:Content,Edit %>"
                                                    CssClass="btn btn-primary waves-effect" CommandName="EditPorting" />

                                                <asp:LinkButton ID="LB_CancelPorting" runat="server" Text="<%$ Resources:Content,CancelPorting %>"
                                                    CssClass="btn btn-primary waves-effect" CommandName="CancelPorting" />
                                                <EM:ConfirmButtonExtender ID="CBE_CancelPorting" runat="server" ConfirmText="<%$Resources:Content,CancelPortingConfirmation%>"
                                                    TargetControlID="LB_CancelPorting">
                                                </EM:ConfirmButtonExtender>

                                                <asp:LinkButton ID="LB_PerformPorting" runat="server" Text="<%$ Resources:Content,strPerformPorting %>"
                                                    CssClass="btn btn-primary waves-effect btnAction" CommandName="PerformPorting" />
                                                <EM:ConfirmButtonExtender ID="CBE_Porting" runat="server" ConfirmText="<%$Resources:Content,strSureToPort%>"
                                                    TargetControlID="LB_PerformPorting">
                                                </EM:ConfirmButtonExtender>

                                                <asp:LinkButton ID="LBE_ApprovePorting" runat="server" Text="<%$ Resources:Content,strApproveOutporting %>"
                                                    CssClass="btn btn-primary waves-effect btnAction" CommandName="ApprovePorting" />
                                                <EM:ConfirmButtonExtender ID="CBE_ApprovePorting" runat="server" ConfirmText="<%$Resources:Content,strApproveOutporting%>"
                                                    TargetControlID="LB_DenyPorting">
                                                </EM:ConfirmButtonExtender>

                                                <asp:LinkButton ID="LB_DenyPorting" runat="server" Text="<%$ Resources:Content,strDenyOutporting %>"
                                                    CssClass="btn btn-primary waves-effect btnAction" CommandName="DenyPorting" />
                                                <EM:ConfirmButtonExtender ID="CBE_DenyPorting" runat="server" ConfirmText="<%$Resources:Content,strSureToDeny%>"
                                                    TargetControlID="LB_DenyPorting">
                                                </EM:ConfirmButtonExtender>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                    </Columns>

                                    <PagerTemplate>
                                        <UC:Pager ID="Pager" runat="server" />
                                    </PagerTemplate>
                                </EM:MPGridView>
                            </div>
                        </div>
                    </asp:Panel>

                    <asp:Panel ID="Pnl_PortNumbers" runat="server" Visible="false">
                        <div class="row">
                            <div class="col-xs-6">
                                <div class="card">
                                    <div class="header">
                                        <h3>
                                            <%= Resources.Content.PortNumbers%>                                                                                                                                 
                                        </h3>
                                    </div>
                                    <div class="body">

                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                *
                           <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content,Status %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDl_Status" runat="server">
                                                        <asp:ListItem Text="New" Value="100"></asp:ListItem>
                                                        <asp:ListItem Text="Prepare" Value="101"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                *
                            <asp:Literal ID="Literal52" runat="server" Text='<%$ Resources:Content,Country %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="Ddl_NumbersPorting_Country" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                *
                       <asp:Literal ID="Literal53" runat="server" Text='<%$ Resources:Content,PostalCode %>' EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_NumbersPorting_PostalCode" runat="server" MaxLength="16"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <asp:RequiredFieldValidator ID="RFV_NumbersPorting_PostalCode" runat="server"
                                                    ControlToValidate="TxBx_NumbersPorting_PostalCode"
                                                    Display="None" ValidationGroup="AddPortNumber" SetFocusOnError="True"></asp:RequiredFieldValidator>

                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                *
                            <asp:Literal ID="Literal54" runat="server" Text='<%$ Resources:Content,HouseNumber %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_NumbersPorting_HouseNumber" runat="server" MaxLength="7" CssClass="allowonlyintegervalues"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                                                    ControlToValidate="TxBx_NumbersPorting_HouseNumber"
                                                    Display="None" ValidationGroup="AddPortNumber" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server"
                                                    ControlToValidate="TxBx_NumbersPorting_HouseNumber" ErrorMessage='<%# Resources.Content.OnlyIntegerValues %>'
                                                    ValidationExpression="^[0-9]*$" ValidationGroup="AddPortNumber" SetFocusOnError="true">
                                                </asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal55" runat="server" Text='<%$ Resources:Content,HouseNumberAddition %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_NumbersPorting_HouseNumberAddition" runat="server" MaxLength="4"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,DGN1110336 %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_Initials" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content,DGN1110529 %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MiddleName" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,GN00001133 %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_LastName" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal25" runat="server" Text='<%$ Resources:Content,CompanyName %>' />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CompanyName" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content,DGN1110530 %>' EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_Street" runat="server" MaxLength="128"></asp:TextBox>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content,GN0000880 %>' EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_City" runat="server" MaxLength="128"></asp:TextBox>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal14" runat="server" Text='<%$ Resources:Content,strDonorNote %>' EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <asp:TextBox ID="TxBx_DonorNote" runat="server" Columns="5" Rows="5" TextMode="MultiLine" MaxLength="2048"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-5 col-xs-12 row-label">
                                                <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content,strNote %>' EnableViewState="false" />
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <asp:TextBox ID="TxBx_Note" runat="server" Columns="5" Rows="5" TextMode="MultiLine" MaxLength="2048"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:HiddenField ID="HF_PortNumber" Value="0" runat="server" />
                                                <asp:ValidationSummary ID="ValidationSummary3" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                    ValidationGroup="AddPortNumber" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                <asp:Button ID="SavePortNumber" class="btn btn-primary waves-effect btnAction" ValidationGroup="AddPortNumber" CausesValidation="true" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                                                <asp:Button ID="Btn_Cancel_PortNumber" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-6">
                                <div class="card">
                                    <div class="header">
                                        <h3>
                                            <%= Resources.Content.Numbers%>                                                                                                                                 
                                        </h3>
                                    </div>
                                    <div class="body">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <table class="table table-bordered table-hover">
                                                    <thead>
                                                        <tr>
                                                            <th class="col-xs-5"><%= Resources.Content.GN0001173%></th>
                                                            <th class="col-xs-5"><%= Resources.Content.End%></th>
                                                            <th class="col-xs-1"><%= Resources.Content.GN0000275%></th>
                                                        </tr>
                                                    </thead>
                                                    <asp:Repeater ID="Rep_Numbers" runat="server">
                                                        <ItemTemplate>
                                                            <tbody>
                                                                <tr>
                                                                    <td>
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox runat="server" ID="TxBx_Start" CssClass="range allowonlyintegervalues"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_Start" ErrorMessage='<%# Resources.Content.OnlyIntegerValues %>'
                                                                            ValidationExpression="^[0-9]*$" ValidationGroup="AddPortNumber" SetFocusOnError="true">
                                                                        </asp:RegularExpressionValidator>
                                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_Start"
                                                                            runat="server"
                                                                            Display="None"
                                                                            SetFocusOnError="true"
                                                                            ControlToValidate="TxBx_Start"
                                                                            ValidationGroup="AddPortNumber"></asp:RequiredFieldValidator>
                                                                    </td>
                                                                    <td>
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox runat="server" ID="TxBx_End" CssClass="range allowonlyintegervalues"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
                                                                            Display="None"
                                                                            ControlToValidate="TxBx_End" ErrorMessage='<%# Resources.Content.OnlyIntegerValues %>'
                                                                            ValidationExpression="^[0-9]*$" ValidationGroup="AddPortNumber" SetFocusOnError="true">
                                                                        </asp:RegularExpressionValidator>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                                                                            runat="server"
                                                                            Display="None"
                                                                            SetFocusOnError="true"
                                                                            ControlToValidate="TxBx_End"
                                                                            ValidationGroup="AddPortNumber"></asp:RequiredFieldValidator>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Button ID="Btn_Remove" CommandName="Remove" CssClass="btn btn-primary btnAction" runat="server" Text="<%$ Resources:Content,Remove %>" />
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </table>
                                            </div>
                                            <div class="col-xs-12">
                                                <asp:Button ID="Btn_AddRange" runat="server" CssClass="btn btn-primary btnAction" Text="<%$ Resources:Content,AddRange %>" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>

                </asp:Panel>


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

</asp:Content>
