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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register TagPrefix="cc1" Namespace="System.Web.UI" Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" runat="Server">
    <ajax:UpdatePanel ID="UP_Filter" runat="server" UpdateMode="Conditional" RenderMode="Block">
        <ContentTemplate>
            <div class="col-xs-12">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h3>
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,Recovery%>" EnableViewState="false" /></h3>
                        </div>
                        <span class="label label-warning font-14 pull-right m-t--4px"><%= Resources.Content.BetaVersion%></span>
                    </div>
                    <div class="body">
                        <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy" Style="display: none" runat="server" />
                        <asp:Button ID="Btn_RefreshTab" CssClass="RefreshTab" runat="server" Style="display: none;" />
                        <EM:TabContainer ID="TC_VAS" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            
                            <EM:TabPanel ID="Tab_Settings" runat="server" HeaderText='<%$ Resources:Content, M0027 %>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Ltrl" runat="server" Text="<%$ Resources:Content,strPermanentDeleteAfter%>" EnableViewState="false" />:
                                                </label>
                                            </div>
                                            <div class="col-sm-3 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:DropDownList ID="DDL_AutoDeleteEntitiesAfter" runat="server" AutoPostBack="true" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-sm-3 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,strDaysOfRecovery%>" EnableViewState="false" />
                                                </label>
                                            </div>
                                        </div>
                                        <div class="row" id="Div_StartSendingNotif" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,strStartSendingNotif%>" EnableViewState="false" />:
                                                </label>
                                            </div>
                                            <div class="col-sm-3 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:DropDownList ID="DDL_StartSendingNotif" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-sm-3 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,strDaysBeforeDelete%>" EnableViewState="false" />
                                                </label>
                                            </div>
                                        </div>
                                        <div class="row" id="Div_NotifactionEmail" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,strSentNotificationTo%>" EnableViewState="false" />:
                                                </label>
                                            </div>
                                            <div class="col-sm-6 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_NotifactionEmail" runat="server" TextMode="MultiLine" CssClass="col-xs-12" Rows="4"></asp:TextBox>
                                                    </div>
                                                    <asp:Literal ID='Ltrl_CommaSepratedEmails' runat='server' Text='<%$ Resources:Content,FAM00254 %>'></asp:Literal>

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

                                        <div class="row" id="Div_SaveSettings" runat="server">
                                            <div class="col-xs-12">
                                                <asp:Button ID="Btn_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,Save%>' />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ExchangeMailbox" runat="server" HeaderText='<%$ Resources:Content,String357%>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server">
                                        <div id="Pnl_Listing" runat="server">
                                            <%-- #Exchange Mailboxes--%>
                                            <div class="row" id="Tbl_Ops" runat="server" custom1="Custom" style="display: none">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.GN00001320%>      <%--Operations--%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <asp:Button ID="Btn_RecreateAll" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,Recreate%>' CausesValidation="false" />
                                                            <asp:Button ID="Btn_ConnectAll" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,ConnectMailbox%>' CausesValidation="false" />
                                                            <asp:Button ID="Btn_DeleteAll" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN0000278%>' CausesValidation="false" />

                                                            <EM:ConfirmButtonExtender ID="CBE_RemoveAll" ConfirmText='<%$ Resources:Content,CBE001 %>'
                                                                TargetControlID="Btn_DeleteAll" runat="server">
                                                            </EM:ConfirmButtonExtender>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <%--Search Option--%>
                                            <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_SrchMB">
                                                <div class="row">
                                                    <div class="panel-group search-panel" id="AS_Mailboxes" role="tablist" aria-multiselectable="true">
                                                        <div class="col-xs-12" role="tab" id="SH_Mailboxes">
                                                            <div class="card">
                                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Mailboxes" href="#<%= CSB_Mailboxes.ClientID%>" aria-expanded="true" aria-controls="SH_Mailboxes">
                                                                    <h3>
                                                                        <%= Resources.Content.GN0000395%>
                                                                    </h3>
                                                                </div>
                                                                <div id="CSB_Mailboxes" runat="server" class="body panel-collapse collapse in" role="tabpanel" aria-labelledby="SH_Mailboxes" aria-expanded="true">
                                                                    <div class="row">
                                                                        <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_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" id="Div_CustomerIDFilter" runat="server">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_CustomerID" runat="server"></asp:TextBox>
                                                                                    <asp:Label ID="Label3" 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" id="Div_CustomerNameFilter" runat="server">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_CustomerName" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label4" 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">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_SubscriptionId" 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">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_SubscriptionName" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110287%>" 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_Mailbox" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strMailbox%>" class="form-label"></asp:Label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-md-4 col-sm-6 col-xs-12">
                                                                            <label class="row-label display-date-label">
                                                                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN0000687%>" EnableViewState="false" />:
                                                                            </label>
                                                                            <div class="form-group display-date-input">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DateAfter" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>

                                                                            <i runat="server" id="A_DRangeAfter" class="material-icons icon-calendar col-calendar"></i>
                                                                            <EM:CalendarExtender ID="CE_DRangeAfter" runat="server" TargetControlID="TxBx_DateAfter"
                                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_DRangeAfter" CssClass="date__calendar">
                                                                            </EM:CalendarExtender>
                                                                        </div>
                                                                        <div class="col-md-4 col-sm-6 col-xs-12">
                                                                            <label class="row-label display-date-label">
                                                                                <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN0000688%>" EnableViewState="false" />:
                                                                            </label>
                                                                            <div class="form-group display-date-input">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DateBefore" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>

                                                                            <i runat="server" id="A_DRangeBefore" class="material-icons icon-calendar col-calendar"></i>
                                                                            <EM:CalendarExtender ID="CE_DRangeBefore" runat="server" TargetControlID="TxBx_DateBefore"
                                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_DRangeBefore" CssClass="date__calendar">
                                                                            </EM:CalendarExtender>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:Button ID="Btn_SrchMB" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                <asp:Button ID="Btn_ClearSearchMB" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                                    Text="<%$ Resources:Content,String289 %>" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <%--Listing--%>
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                        ID="GV_Mailboxes" AllowPaging="True" runat="server" AutoGenerateColumns="false"
                                                        AllowSorting="true" DataKeyNames="">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000370 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <HeaderTemplate>
                                                                    <asp:CheckBox CssClass="option-menu" runat="server" ID="ChkBx_All" onclick="SetCheckedHeader(this.checked, this, 'All');"
                                                                        Text=" " />
                                                                </HeaderTemplate>
                                                                <ItemTemplate>
                                                                    <asp:CheckBox ID="ChkBx_All" runat="server" onclick="SetCheckedHeader(this.checked, this,'1');" Text=" " CssClass="option-menu" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField SortExpression="DisplayName" HeaderText="<%$ Resources:Content,strMailbox%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_Mailbox" runat="server"></asp:Label>
                                                                    <asp:HiddenField ID="HF_ExchHostingID" runat="server" />
                                                                    <asp:HiddenField ID="HF_OrgId" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,SPT002811%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:HyperLink ID="HL_Owner" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110431%>" HeaderStyle-CssClass="col-xs-5" ItemStyle-CssClass="col-xs-5">
                                                                <ItemTemplate>
                                                                    <table class="table small">
                                                                        <tr id="TR_ClientID" runat="server">
                                                                            <td class="row-label"><%= Resources.Content.Customer%>:</td>
                                                                            <td>
                                                                                <asp:HyperLink ID="LB_ClientID" runat="server" Text=" "></asp:HyperLink>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td class="row-label"><%= Resources.Content.ActionBy%>:</td>
                                                                            <td>
                                                                                <asp:Label ID="Lbl_ActionBy" runat="server"></asp:Label>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td class="row-label"><%= Resources.Content.DateDeleted%>:</td>
                                                                            <td>
                                                                                <asp:Label ID="Lbl_DateDeleted" runat="server" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%> " HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <ul class="option-menu">
                                                                        <li class="dropdown">
                                                                            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                                                <i class="material-icons">menu</i>
                                                                            </a>
                                                                            <ul class="dropdown-menu pull-right" id="UL_OptionMenu" runat="server">
                                                                                <li>
                                                                                    <asp:LinkButton ID="LB_Recreate" CssClass="btnAction" runat="server" Text="<%$ Resources:Content,Recreate%>" CommandName="Recreate" /></li>
                                                                                <li>
                                                                                    <asp:LinkButton ID="LB_Delete" CssClass="btnAction" runat="server" Text="<%$ Resources:Content,GN0000278%>" CommandName="DeleteMB" /></li>
                                                                                <li>
                                                                                    <asp:LinkButton ID="LB_Connect" runat="server" Text="<%$ Resources:Content,ConnectMailbox%>" CommandName="Connect" /></li>

                                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText='<%$ Resources:Content,CBE001 %>'
                                                                                    TargetControlID="LB_Delete" runat="server">
                                                                                </EM:ConfirmButtonExtender>
                                                                            </ul>
                                                                        </li>
                                                                    </ul>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--PagerTemplate Start--%>
                                                        <PagerTemplate>
                                                            <EM:Pager ID="Pager1" runat="server" />
                                                        </PagerTemplate>
                                                        <%--PagerTemplate End--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ExchangeDistList" runat="server" HeaderText='<%$ Resources:Content,StrExchDistList%>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab2" runat="server" Style="display: none" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server">
                                        <div id="Pnl_DistListing" runat="server">
                                            <%-- #Exchange DistLists--%>
                                            <div class="row" id="Tbl_DistListOps" runat="server" custom1="Custom" style="display: none">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.GN00001320%>      <%--Operations--%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <asp:Button ID="Btn_DstListRecreateAll" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,Recreate%>' CausesValidation="false" />
                                                            <asp:Button ID="Btn_DstListDeleteAll" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN0000278%>' CausesValidation="false" />

                                                            <EM:ConfirmButtonExtender ID="CBE_DstListRemoveAll" ConfirmText='<%$ Resources:Content,CBE001 %>'
                                                                TargetControlID="Btn_DstListDeleteAll" runat="server">
                                                            </EM:ConfirmButtonExtender>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <%--Search Option--%>
                                            <asp:Panel ID="Pnl_DistListSearch" runat="server" DefaultButton="Btn_SrchDstList">
                                                <div class="row">
                                                    <div class="panel-group search-panel" id="AS_DistLists" role="tablist" aria-multiselectable="true">
                                                        <div class="col-xs-12" role="tab" id="SH_DistLists">
                                                            <div class="card">
                                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_DistLists" href="#<%= CSB_DistLists.ClientID%>" aria-expanded="true" aria-controls="SH_DistLists">
                                                                    <h3>
                                                                        <%= Resources.Content.GN0000395%>
                                                                    </h3>
                                                                </div>
                                                                <div id="CSB_DistLists" runat="server" class="body panel-collapse collapse in" role="tabpanel" aria-labelledby="SH_DistLists" aria-expanded="true">
                                                                    <div class="row">
                                                                        <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_DstListOwner">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDl_DstListOwner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12" id="Div_DstListCustomerIDFilter" runat="server">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DstListCustomerID" runat="server"></asp:TextBox>
                                                                                    <asp:Label ID="Label5" 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" id="Div_DstListCustomerNameFilter" runat="server">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DstListCustomerName" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label7" 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">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DstListSubscriptionId" runat="server"></asp:TextBox>
                                                                                    <asp:Label ID="Lbl_DstListSubscriptionId" 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">
                                                                            <div class="form-group form-float">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DstListSubscriptionName" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Lbl_DstListSubscriptionName" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110287%>" 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_DistList" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Lbl_DstList" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110408%>" class="form-label"></asp:Label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-md-4 col-sm-6 col-xs-12">
                                                                            <label class="row-label display-date-label">
                                                                                <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN0000687%>" EnableViewState="false" />:
                                                                            </label>
                                                                            <div class="form-group display-date-input">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DstListDateAfter" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>

                                                                            <i runat="server" id="A_DstListDRangeAfter" class="material-icons icon-calendar col-calendar"></i>
                                                                            <EM:CalendarExtender ID="CE_DstListDRangeAfter" runat="server" TargetControlID="TxBx_DstListDateAfter"
                                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_DRangeAfter" CssClass="date__calendar">
                                                                            </EM:CalendarExtender>
                                                                        </div>
                                                                        <div class="col-md-4 col-sm-6 col-xs-12">
                                                                            <label class="row-label display-date-label">
                                                                                <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,GN0000688%>" EnableViewState="false" />:
                                                                            </label>
                                                                            <div class="form-group display-date-input">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DstListDateBefore" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>

                                                                            <i runat="server" id="A_DstListDRangeBefore" class="material-icons icon-calendar col-calendar"></i>
                                                                            <EM:CalendarExtender ID="CE_DstListDRangeBefore" runat="server" TargetControlID="TxBx_DstListDateBefore"
                                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_DRangeBefore" CssClass="date__calendar">
                                                                            </EM:CalendarExtender>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:Button ID="Btn_SrchDstList" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                <asp:Button ID="Btn_ClearSearchDstList" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                                    Text="<%$ Resources:Content,String289 %>" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <%--Listing--%>
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                        ID="GV_DistLists" AllowPaging="True" runat="server" AutoGenerateColumns="false"
                                                        AllowSorting="true" DataKeyNames="DistListId,OrganizationId,DistListName, PrimaryEmailAddress">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000370 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <HeaderTemplate>
                                                                    <asp:CheckBox CssClass="option-menu" runat="server" ID="ChkBx_All" onclick="SetCheckedHeader(this.checked, this, 'All');"
                                                                        Text=" " />
                                                                </HeaderTemplate>
                                                                <ItemTemplate>
                                                                    <asp:CheckBox ID="ChkBx_All" runat="server" onclick="SetCheckedHeader(this.checked, this,'1');" Text=" " CssClass="option-menu" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField SortExpression="DistListName" HeaderText="<%$ Resources:Content,DGN1110408%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_DistList" runat="server" Text='<%# Eval("DistListName") %>'></asp:Label>
                                                                    <asp:HiddenField ID="HF_ExchHostingID" runat="server"  Value='<%# Eval("DistListName") %>'/>
                                                                    <asp:HiddenField ID="HF_OrgId" runat="server" Value='<%# Eval("OrganizationID") %>'/>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,SPT002811%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:HyperLink ID="HL_Owner" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110431%>" HeaderStyle-CssClass="col-xs-5" ItemStyle-CssClass="col-xs-5">
                                                                <ItemTemplate>
                                                                    <table class="table small">
                                                                        <tr id="TR_ClientID" runat="server">
                                                                            <td class="row-label"><%= Resources.Content.Customer%>:</td>
                                                                            <td>
                                                                                <asp:HyperLink ID="LB_ClientID" runat="server" Text=" "></asp:HyperLink>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td class="row-label"><%= Resources.Content.DateDeleted%>:</td>
                                                                            <td>
                                                                                <asp:Label ID="Lbl_DateDeleted" runat="server" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%> " HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <ul class="option-menu">
                                                                        <li class="dropdown">
                                                                            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                                                <i class="material-icons">menu</i>
                                                                            </a>
                                                                            <ul class="dropdown-menu pull-right" id="UL_OptionMenu" runat="server">
                                                                                <li>
                                                                                    <asp:LinkButton ID="LB_Recreate" CssClass="btnAction" runat="server" Text="<%$ Resources:Content,Recreate%>" CommandName="Recreate" /></li>
                                                                                <li>
                                                                                    <asp:LinkButton ID="LB_Delete" CssClass="btnAction" runat="server" Text="<%$ Resources:Content,GN0000278%>" CommandName="DeleteDistList" /></li>
                                                                                <li>

                                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText='<%$ Resources:Content,CBE001 %>'
                                                                                    TargetControlID="LB_Delete" runat="server">
                                                                                </EM:ConfirmButtonExtender>
                                                                            </ul>
                                                                        </li>
                                                                    </ul>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--PagerTemplate Start--%>
                                                        <PagerTemplate>
                                                            <EM:Pager ID="Pager1" runat="server" />
                                                        </PagerTemplate>
                                                        <%--PagerTemplate End--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <%--<EM:TabPanel ID="Tab_Monitoring" runat="server" HeaderText='<%$ Resources:Content,Monitoring%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab3" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                <uc:_monitoring id="UC_Monitoring" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Reporting" runat="server" HeaderText='<%$ Resources:Content,FAM00139%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab4" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                <uc:reports id="UC_Reports" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Auditing" runat="server" HeaderText='<%$ Resources:Content,Auditing%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab5" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent5" runat="server" Visible="false">
                                <uc:auditing id="UC_Auditing" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_RoleGroups" runat="server" HeaderText='<%$ Resources:Content,RBAC%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab6" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                <uc:rolegroups id="UC_RoleGroups" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>--%>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </ajax:UpdatePanel>
</asp:Content>
