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

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ 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="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <EM:TabContainer ID="TbCntr_Domains" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_ExDomains" runat="server" HeaderText="<%$ Resources:Content,SMI672%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <ajax:UpdatePanel ID="UP_Tab1" runat="server" RenderMode="Inline" UpdateMode="Conditional">
                                <ContentTemplate>
                                    <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_Search">
                                        <div class="row">
                                            <div class="panel-group search-panel" id="AS_ExDomain" role="tablist" aria-multiselectable="true">
                                                <div class="col-xs-12" role="tab" id="SH_ExDomain">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ExDomain" href="#<%= CSB_ExDomain.ClientID%>" aria-expanded="true" aria-controls="SH_ExDomain">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="CSB_ExDomain" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ExDomain" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_DomainName_Search" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:Button ID="Btn_Search" 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:Panel ID="Pnl_TabContent0" runat="server" DefaultButton="Btn_SaveDomain">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:GridView ID="GV_ExDomains" runat="server" AllowPaging="true" AllowSorting="true"
                                                    EmptyDataText='<%$ Resources:Content, GN00001375 %>' AutoGenerateColumns="false"
                                                    CssClass="table table-bordered table-striped table-hover">

                                                    <Columns>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,String345%>" SortExpression="ExDomainName" HeaderStyle-CssClass="col-xs-10" ItemStyle-CssClass="col-xs-10">
                                                            <ItemTemplate>
                                                                <asp:Literal ID="Lbl_ExDomainName" 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" runat="server" CommandName="Edit" CssClass="btn btn-primary waves-effect"
                                                                    Text='<%$ Resources:Content, GN0000276 %>'></asp:LinkButton>
                                                                <asp:LinkButton ID="LB_Remove" runat="server" CommandName="Remove" CssClass="btn btn-primary waves-effect btnAction"
                                                                    Text='<%$ Resources:Content, GN0000278 %>'></asp:LinkButton>
                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                    TargetControlID="LB_Remove">
                                                                </EM:ConfirmButtonExtender>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager1" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,SMI673%>" EnableViewState="false" /></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="ltr_DomainName" EnableViewState="false" runat="server" Text="<%$ Resources:Content,GN000125%>"></asp:Literal></label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="128"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_DomainName"
                                                                            Display="none" ErrorMessage='' ValidationGroup="addDomain"></asp:RequiredFieldValidator>
                                                                        <%--<asp:RegularExpressionValidator ID="RE_Domain" runat="server" ErrorMessage='<%$Resources:Content,String195%>'
                                                                            SetFocusOnError="True" ControlToValidate="TxBx_DomainName" ValidationGroup="addDomain"
                                                                            ValidationExpression="<%$ Resources:Content,REV001 %>"
                                                                            Display="None"></asp:RegularExpressionValidator>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_DomainName"
                                                                            FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars=".-">
                                                                        </EM:FilteredTextBoxExtender>--%>
                                                                    </div>
                                                                </div>
                                                            </div>

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

                                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_SaveDomain" runat="server" ValidationGroup="addDomain"
                                                                    Text='<%$ Resources:Content,GN0000281 %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <div class="row" id="Pnl_Edit" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SMI674%>" /></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-2 col-xs-12 row-label">
                                                            <label>*<asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>"></asp:Literal></label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="Txbx_EditDomainName" runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Txbx_EditDomainName"
                                                                        Display="none" ErrorMessage='' ValidationGroup="EditDomain"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>

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

                                                            <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_Edit" runat="server" ValidationGroup="EditDomain" Text='<%$ Resources:Content,GN0000281 %>' />
                                                            <asp:Button class="btn btn-primary waves-effect" ID="Btn_CancelEdit" runat="server" Text="<%$ Resources:Content,GN0000572%>" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </ContentTemplate>
                            </ajax:UpdatePanel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>
<%--<script lang="javascript">
    AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
</script>--%>
</asp:Content>
