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

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

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

    <div class="col-xs-12">
        <div class="card">
            <%--         <div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>--%>
            <div class="body">

                <%--<ajax:UpdatePanel ID="UP_Payment" runat="server">
                    <ContentTemplate>--%>
                <EM:TabContainer ID="TC_Payments" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_List" runat="server" HeaderText='<%$ Resources:Content, M0016 %>'>
                        <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>
                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button Visible="false" class="btn btn-primary waves-effect" ID="Btn_ManageAuthorizeCIMProfiles" runat="server" Text="<%$ Resources:Content,FAM00191 %>" />
                                                <asp:Button class="btn btn-primary waves-effect" ID="Btn_ManageSaferPayAliases"
                                                    runat="server" Text="<%$ Resources:Content,ManageSaferPayAliases %>" Visible="false" />
                                                <asp:Button ID="LB_AddCard" runat="server" class="btn btn-primary waves-effect" Text='<%$ Resources:Content, GN0000888 %>' />
                                                <asp:Button ID="Btn_AddBank" runat="server" class="btn btn-primary waves-effect" Text='<%$ Resources:Content, SP0005 %>' Style="display: none;" />
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:SqlDataSource ID="SqlDS" runat="server"></asp:SqlDataSource>
                                        <asp:GridView ID="GV_PaymentProfiles" AllowSorting="true" runat="server" DataSourceID="SqlDS"
                                            CssClass="table table-bordered table-striped table-hover" AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>">

                                            <Columns>
                                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Img_ccType" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Card4Digits" HeaderText='<%$ Resources:Content,GN0000841%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_CardNumber" runat="server" CommandName="Card" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CardId")%>'
                                                            Text='<%#DataBinder.Eval(Container, "DataItem.CardId")%>'></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN00001478%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div id="Div_ExpiryDate" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,String385%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div id="Div_Status" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000866%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="img_Recurring" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000876 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div id="Div_AllowPayment" 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 ID="LB_EnableDisable" Text="<%$ Resources:Content,DGN1110276%>"
                                                            class="btn btn-primary waves-effect" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CardId")%>' Visible="false" runat="server" />

                                                        <asp:LinkButton ID="lb_Delte" runat="server" Text='<%$ Resources:Content,GN0000377%>'
                                                            class="btn btn-primary waves-effect" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CardId")%>'
                                                            CommandName="RowDelete" />
                                                        <EM:ConfirmButtonExtender ID="CBE_Delte" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                            TargetControlID="lb_Delte">
                                                        </EM:ConfirmButtonExtender>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager1" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>

                                <div id="Tbl_Banks" runat="server" style="display: none;" class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID="Literal27" runat="server" Text='<%$ Resources:Content, SEPA %>' EnableViewState="false" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:GridView ID="GV_Banks" AllowSorting="false" AllowPaging="false" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                            runat="server" AutoGenerateColumns="False" CssClass="table table-bordered table-striped table-hover">

                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Img_ccType" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000268 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div id="Div_ClientName" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, SP0006 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div id="Div_IBAN" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, SP0007 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div id="Div_BIC" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, String123 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div id="Div_BankName" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, SP0019 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Img_IsVerified" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LB_Edit" Text='<%$ Resources:Content,GN0000276%>' class="btn btn-primary waves-effect" CommandName="Manage" runat="server" />
                                                                        <asp:LinkButton ID="lb_Delte" Visible="false" runat="server" Text='<%$ Resources:Content,GN0000377%>' class="btn btn-primary waves-effect" CommandName="RowDelete" />
                                                                        <EM:ConfirmButtonExtender ID="CBE_Delte" runat="server" ConfirmText="<%$Resources:Content,CBE001%>" TargetControlID="lb_Delte">
                                                                        </EM:ConfirmButtonExtender>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Detail" Enabled="false" runat="server" HeaderText='<%$ Resources:Content, GN0000843 %>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content, GN0000891 %>'
                                                        EnableViewState="false" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content, GN0000268 %>'
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12" id="Td_Customer" runat="server" data-toggle="tooltip" data-placement="top" title="" data-original-title="" data-html="true"></div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Div8" runat="server" Text='<%$ Resources:Content, GN0000872 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_NameOnCard" runat="server" MaxLength="60"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_NameOnCard" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content, GN0000673 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_CreditCardTypes" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content, GN0000841 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_CardNumber" runat="server" MaxLength="16" onChange='ValidateCreditCard(this);'></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_CardNumber" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_CardNumber" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                <%--<asp:RegularExpressionValidator ID='REV_CardNumber' runat='server' ControlToValidate='TxBx_CardNumber'
                                                        Display='None' ErrorMessage='Invalid credit card number' SetFocusOnError='true'
                                                        ValidationExpression='<%$ Resources:Content,CreditCardExpression %>' ValidationGroup='addcard'></asp:RegularExpressionValidator>--%>
                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_CardNumber" runat="server" TargetControlID="TxBx_CardNumber"
                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-5 col-xs-12">
                                                        <asp:Literal ID="Lbl_CardNumberNotice" runat="server" Text="<%$ Resources:Content,GN00001530%>"
                                                            EnableViewState="false"></asp:Literal>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Div7" runat="server" Text='<%$ Resources:Content, GN0000871 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_Years" runat="server" />
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_DDL_Years" runat="server" Display="None" SetFocusOnError="True"
                                                            ControlToValidate="DDL_Years" InitialValue="-1" ValidationGroup="addcard" ErrorMessage='<%$ Resources:Content, Pleaseselectyear %>' />
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content, GN0000870 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_Months" runat="server">
                                                                <asp:ListItem Text='<%$ Resources:Content, SelectMonth %>' Value="-1"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001032 %>' Value="1"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001033 %>' Value="2"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001034 %>' Value="3"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001035 %>' Value="4"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001036 %>' Value="5"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001037 %>' Value="6"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001038 %>' Value="7"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001039 %>' Value="8"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001040 %>' Value="9"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001041 %>' Value="10"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001042 %>' Value="11"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001043 %>' Value="12"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_DDL_Months" runat="server" Display="None" SetFocusOnError="True"
                                                            ControlToValidate="DDL_Months" InitialValue="-1" ValidationGroup="addcard" ErrorMessage='<%$ Resources:Content, Pleaseselectmonth %>' />
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Div9" runat="server" Text='<%$ Resources:Content, GN0000873 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_Cvv2" runat="server" TargetControlID="TxBx_Cvv2"
                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                </EM:FilteredTextBoxExtender>
                                                                <asp:TextBox ID="TxBx_Cvv2" runat="server" MaxLength="4"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_Cvv2" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Cvv2" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-5 col-xs-12">
                                                        <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,GN00001530%>"
                                                            EnableViewState="false"></asp:Literal>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div10" runat="server" Text='<%$ Resources:Content, GN0000874 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Solo" runat="server"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div11" runat="server" Text='<%$ Resources:Content, GN0000876 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_AllowPayment" runat="server">
                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000004 %>' Value="1"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000005 %>' Value="0"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div12" runat="server" Text='<%$ Resources:Content, GN0000892 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_UseForRecurring" runat="server">
                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000004 %>' Value="1"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000005 %>' Value="0"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID="Div13" runat="server" Text='<%$ Resources:Content, GN0000877 %>'
                                                        EnableViewState="false" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Div14" runat="server" Text='<%$ Resources:Content, GN0000878 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Address" runat="server" MaxLength="60"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Address" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div15" runat="server" Text='<%$ Resources:Content, GN00001136 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Address2" runat="server" MaxLength="60"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div16" runat="server" Text='<%$ Resources:Content, GN0000880 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_City" runat="server" MaxLength="60"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_City" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row" id="TR_State" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,DEV1130%>"
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_States" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row" id="TR_Province" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,GN00001313%>"
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Province" runat="server" MaxLength="60"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RFV_Province" runat="server" ControlToValidate="TxBx_Province"
                                                                    Display="None" SetFocusOnError="True" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div18" runat="server" Text='<%$ Resources:Content, GN0000882 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_Countries" runat="server" AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Div19" runat="server" Text='<%$ Resources:Content, GN00001522 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Zip" runat="server" MaxLength="10"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Zip" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server" TargetControlID="TxBx_Zip"
                                                                    FilterType="UppercaseLetters,Numbers,LowercaseLetters,Custom" ValidChars="- ">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>*<asp:Literal ID="Div20" runat="server" Text='<%$ Resources:Content, GN00012 %>' EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Phone" runat="server" MaxLength="20"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Phone" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                                                    ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxBx_Phone"
                                                                    Display="None" SetFocusOnError="True" ValidationExpression="^([+]?[\s0-9()-]{5,20})$"
                                                                    ValidationGroup="addcard"></asp:RegularExpressionValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div21" runat="server" Text='<%$ Resources:Content, GN0000885 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_MobilePhone" runat="server" MaxLength="20"></asp:TextBox>
                                                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server" TargetControlID="TxBx_MobilePhone"
                                                                    FilterType="Numbers,Custom" ValidChars="+ - ( ) \s">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Div22" runat="server" Text='<%$ Resources:Content, GN0000886 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Fax" runat="server" MaxLength="15"></asp:TextBox>
                                                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server" TargetControlID="TxBx_Fax"
                                                                    FilterType="Numbers,Custom" ValidChars="+-() ">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Div23" runat="server" Text='<%$ Resources:Content, GN0000652 %>'
                                                                EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Email" runat="server" MaxLength="64"></asp:TextBox>
                                                               <%-- <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content, DGN1110038 %>'
                                                                    ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_Email"
                                                                    Display="None" SetFocusOnError="True" ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>"
                                                                    ValidationGroup="addcard"></asp:RegularExpressionValidator>--%>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" Display="None"
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Email" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001 %>' ID="ValidationSummary1"
                                                            runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="addcard" />

                                                        <asp:Button ID="Btn_Update" runat="server" Text='<%$ Resources:Content, GN0000281 %>'
                                                            class="btn btn-primary waves-effect" ValidationGroup="addcard" />
                                                        <asp:Button ID="Btn_Cancel" runat="server" Text='<%$ Resources:Content, GN0000572 %>'
                                                            class="btn btn-primary waves-effect" CausesValidation="False" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
                <%--</ContentTemplate>
                </ajax:UpdatePanel>--%>
            </div>
        </div>
    </div>

    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_CardNumber.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_Cvv2.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender4.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender7.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender6.ClientID%>');
    </script>
</asp:Content>
