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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register TagPrefix="cc1" Namespace="System.Web.UI" Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <ajax:UpdatePanel ID="UPD" runat="server">
                    <ContentTemplate>
                        <EM:TabContainer ID="TC_Settings" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_Settings" runat="server" HeaderText='<%$ Resources:Content, M0027 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row">
                                            <div class="col-sm-4 col-xs-12 row-label">
                                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00001073%>" />:</td>
                                            </div>
                                            <div class="col-sm-4 col-xs-12" id="Td_Ignore" runat="server">
                                            </div>
                                            <div class="col-sm-4 col-xs-12" id="Td_IgnoreEdit" runat="server">
                                                <asp:CheckBox Text=" " ID="ChBx_Ignore" runat="server" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-4 col-xs-12 row-label">
                                                <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN000195%>" />:</td>
                                            </div>
                                            <div class="col-sm-4 col-xs-12" id="Td_Enabled" runat="server">
                                            </div>
                                            <div class="col-sm-4 col-xs-12" id="Td_EnabledEdit" runat="server">
                                                <asp:CheckBox Text=" " ID="ChBx_Enabled" runat="server" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <input id="HF_PluginDId" runat="server" type="hidden" />
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Edit" SkinID="editButton" runat="server" Text='<%$ Resources:Content,GN0000276 %>' />
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Update" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000654 %>' />
                                                <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Cancel" SkinID="cancelButton" runat="server" Text='<%$ Resources:Content,GN0000572 %>'
                                                    Visible="false" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_BanList" runat="server" HeaderText='<%$ Resources:Content, GN00001353 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <div id="Div_BanList" runat="server" class="Div_OpsRow">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3><%= Resources.Content.GN00001320%>  </h3>
                                                        </div>
                                                        <div class="body">
                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_AddZip" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN00001316 %>' />

                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" style="display:none" Custom1="Custom" SkinID="removeButton" ID="Btn_Delete" runat="server" Text='<%$ Resources:Content,GN0000377 %>' />
                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" style="display:none" Custom1="Custom" ID="Btn_Enable" SkinID="enableButton" runat="server" Text='<%$ Resources:Content,GN00001024 %>' />
                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" style="display:none" Custom1="Custom" ID="Btn_Disable" SkinID="disableButton" runat="server"
                                                                Text='<%$ Resources:Content,GN00001025 %>' />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <asp:SqlDataSource ID="DS_BL" runat="server"></asp:SqlDataSource>
                                        <asp:GridView ID="GV_BL" DataSourceID="DS_BL" runat="server" AutoGenerateColumns="False"
                                            CssClass="table table-bordered table-striped table-hover table-responsive">
                                            <Columns>
                                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox CssClass="option-menu" Text=" " ID="ChkBx_All" onclick="SetCheckedHeader(this.checked, this,'All')" runat="server" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:HiddenField ID="HF_ZipId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.ZipId")%>' />
                                                        <asp:CheckBox CssClass="option-menu" Text=" " ID="ChBx" onclick="SetCheckedHeader(this.checked, this,'1')" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001318%>" HeaderStyle-CssClass="col-xs-10">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.ZipPattern")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN000195%>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div id="Div_Enabled" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>


                                        <div id="Div_AddZip" runat="server">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3><%= Resources.Content.GN00001317%>  </h3>
                                                        </div>
                                                        <div class="body">

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN0000882%>" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Countries" ValidationGroup="BanZip" runat="server">
                                                                        </asp:DropDownList>
                                                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="BanZip" ControlToValidate="DDL_Countries"
                                                                            ID="RFV_Country" Display="None" runat="server" InitialValue="0" ErrorMessage=''></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                                <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN00001318%>" />:
                                                                </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="50"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="BanZip" ControlToValidate="TxBx_Zip"
                                                                                ID="RFV_BanZip" Display="None" runat="server" ErrorMessage=''></asp:RequiredFieldValidator>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_Zip" FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                            </EM:FilteredTextBoxExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_BanSave" SkinID="saveButton" ValidationGroup="BanZip"
                                                                        runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_BanCancel" SkinID="cancelButton" CausesValidation="false"
                                                                        runat="server" Text='<%$ Resources:Content,GN0000572 %>' />
                                                                    <asp:ValidationSummary ID="VS" ValidationGroup="BanZip" DisplayMode="BulletList"
                                                                        ShowMessageBox="true" HeaderText='<%$ Resources:Content,EM000001 %>' ShowSummary="false"
                                                                        runat="server" />

                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
<script lang="javascript">
    AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
</script>
</asp:Content>
