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


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

<asp:Content ID="Content5" 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:TabContainer ID="TC_ADSyncReports" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <ajax:TabPanel ID="Tab_OrgReport" runat="server" HeaderText="<%$ Resources:Content,USM0182%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                                <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Filter">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_OrgReport" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_OrgReport">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_OrgReport" href="#<%= CSB_OrgReport.ClientID%>" aria-expanded="true" aria-controls="SH_OrgReport">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_OrgReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_OrgReport" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="tb_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">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_OrgName" MaxLength="200" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110608%>" 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_CustomerName" MaxLength="255" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label3" 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_CustCompanyName" MaxLength="255" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_Filter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                                                    <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>
                                <%--end button--%>
                                <div class="row">
                                    <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_ExportOrganizationExcel" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                                <asp:Button ID="Btn_ExportOrganizationPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:GridView ID="GV_ADSyncOrgReport" CssClass="table table-bordered table-striped table-hover" AllowSorting="true"
                                            AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField SortExpression="OrganizationName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="LB_Org" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.OrganizationName")%>'
                                                            NavigateUrl='<%# GetListADUserUrl(DataBinder.Eval(Container, "DataItem.ADDomainId").ToString(), DataBinder.Eval(Container, "DataItem.HostedOrgID").ToString())%>'></asp:HyperLink>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="Lbl_Customer" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.CustomerNumber")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Owner" 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, GN0000636 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <table class="table small">
                                                            <tbody>
                                                                <tr>
                                                                    <td class="col-xs-8 row-label">
                                                                        <asp:Label ID="Literal6" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,USM0179%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-4">
                                                                        <asp:LinkButton ID="Lbtn_ActiveUsers" runat='server' Text='<%# DataBinder.Eval(Container, "DataItem.ActiveUsers")%>'
                                                                            CommandName="syncusers" CommandArgument='<%#Eval("OrganizationName")%>'></asp:LinkButton>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-8 row-label">
                                                                        <asp:Label ID="Label1" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,USM0180%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-4">
                                                                        <%# DataBinder.Eval(Container, "DataItem.InActiveUsers")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-8 row-label">
                                                                        <asp:Label ID="Label3" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,USM0085%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-4">
                                                                        <asp:HyperLink ID="LB_TotalUsers" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.TotalUsers")%>'
                                                            NavigateUrl='<%# GetListADUserUrl(DataBinder.Eval(Container, "DataItem.ADDomainId").ToString(), DataBinder.Eval(Container, "DataItem.HostedOrgID").ToString())%>'></asp:HyperLink>
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, Groups %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <table class="table small">
                                                            <tbody>
                                                                <tr>
                                                                    <td class="col-xs-8 row-label">
                                                                        <asp:Label ID="Literal61" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,GroupsSynchronized%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-4">
                                                                        <asp:LinkButton ID="Lbtn_ActiveGroups" runat='server' Text='<%# DataBinder.Eval(Container, "DataItem.ActiveGroups")%>'
                                                                            CommandName="syncgroups" CommandArgument='<%#Eval("OrganizationName")%>'></asp:LinkButton>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-8 row-label">
                                                                        <asp:Label ID="Label11" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,GroupsNotSynchronized%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-4">
                                                                        <%# DataBinder.Eval(Container, "DataItem.InActiveGroups")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-8 row-label">
                                                                        <asp:Label ID="Label13" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,TotalGroups%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-4">
                                                                        <%#DataBinder.Eval(Container, "DataItem.TotalGroups")%>
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <CC:Pager ID="Pager1" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </ajax:TabPanel>
                    <ajax:TabPanel ID="Tab_UserReport" runat="server" HeaderText="<%$ Resources:Content,USM0179 %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" Visible="false" runat="server">
                                <asp:Panel ID="Pnl_FilterUsers" runat="server" DefaultButton="Btn_FilterUsers">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_UserReport" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_UserReport">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_UserReport" href="#<%= CSB_UserReport.ClientID%>" aria-expanded="true" aria-controls="SH_UserReport">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_UserReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_UserReport" aria-expanded="false">
                                                        <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_OwnerUsers" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomerNameUsers" MaxLength="200" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label5" 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_OrganizationNameUsers" MaxLength="255" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110608%>" 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_CustCompanyNameUsers" MaxLength="255" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_UserDispName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,AD0000101%>" 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_UpName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1042%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_FilterUsers" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                                                    <asp:Button ID="Btn_ClearUsers" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <div class="row">
                                    <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_ExportUsersToExcel" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                                <asp:Button ID="Btn_ExportUsersToPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:GridView ID="GV_ADSyncUserReport" CssClass="table table-bordered table-striped table-hover" AllowSorting="true" AllowPaging="true"
                                            EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField SortExpression="OrganizationName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="HL_OrgName" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="Lbl_Customer" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.CustomerNumber")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content, SPT002811 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.Owner")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="DisplayName" HeaderText='<%$ Resources:Content, AD0000101 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.DisplayName")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="UPName" HeaderText='<%$ Resources:Content, DEV1042 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="HL_UPN" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText='<%$ Resources:Content, strLastPasswordSync %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Literal ID="Ltrl_PasswordSyncTime" runat="server" Text='<%# String.Format("{0:" & LocalizedDateTimeformat & "}", Eval("LastPasswordSyncAt"))%>'></asp:Literal>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText='<%$ Resources:Content, LastSynced %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Literal ID="Ltrl_SyncTime" runat="server" Text='<%# string.Format("{0:" & LocalizedDateTimeformat & "}", Eval("ADSyncDataSyncTime"))%>'></asp:Literal>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <CC:Pager ID="Pager2" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </ajax:TabPanel>
                    <ajax:TabPanel ID="Tab_GroupReport" runat="server" HeaderText="<%$ Resources:Content,GroupsSynchronized %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" Visible="false" runat="server">
                                <asp:Panel ID="Pnl_FilterGroups" runat="server" DefaultButton="Btn_FilterGroups">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_GroupReport" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_GroupReport">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_GroupReport" href="#<%= CSB_GroupReport.ClientID%>" aria-expanded="true" aria-controls="SH_GroupReport">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_GroupReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_GroupReport" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="TD_OwnerGroups">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_OwnerGroups" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomerNameGroups" MaxLength="200" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label2" 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_OrganizationNameGroups" MaxLength="255" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110608%>" 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_CustCompanyNameGroups" MaxLength="255" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_GroupDispName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DisplayName%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_FilterGroups" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                                                    <asp:Button ID="Btn_ClearGroups" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <div class="row">
                                    <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_ExportGroupsToExcel" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                                <asp:Button ID="Btn_ExportGroupsToPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:GridView ID="GV_ADSyncGroupReport" CssClass="table table-bordered table-striped table-hover" AllowSorting="true" AllowPaging="true"
                                            EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField SortExpression="OrganizationName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="HL_OrgName" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="Lbl_Customer" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.CustomerNumber")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content, SPT002811 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.Owner")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="DisplayName" HeaderText='<%$ Resources:Content, DisplayName %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.DisplayName")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="SGName" HeaderText='<%$ Resources:Content, GN000165 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="HL_SGName" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GroupType %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Literal ID="Ltrl_GroupType" runat="server"></asp:Literal>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <CC:Pager ID="Pager2" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </ajax:TabPanel>
                </ajax:TabContainer>
            </div>
        </div>
    </div>
</asp:Content>

