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

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

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <EM:TabContainer ID="TC_UsageReport" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_UsageSummary" runat="server" HeaderText="<%$ Resources:Content,Lync276%>" Enabled="true">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server" Visible="true">
                                <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Filter">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_UsageReport" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_UsageReport">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_UsageReport" href="#<%= CSB_UsageReport.ClientID %>" aria-expanded="true" aria-controls="SH_UsageReport">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_UsageReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_UsageReport" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_OwnerLtl">
                                                                <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="TD_CustomerName" runat="server">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomerName" runat="server"></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_OUName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label8" 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">
                                                                    <asp:CheckBox ID="ChBx_ADSyncEnabled" runat="server" Text="<%$ Resources:Content,AD125%>" />
                                                                </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,GN0000391%>" />
                                                                    <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.GN00001320%>                                                                                                                                 
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="Btn_ExportToExcel" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,Ex001%>" />
                                                <asp:Button ID="BtnExportToPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="clearfix">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView ID="GV_UsageReport" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                                                    AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" Style="width: 2000px;"
                                                    AutoGenerateColumns="False">

                                                    <Columns>
                                                        <asp:TemplateField SortExpression="OUName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_OUName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.OUName")%>'></asp:HyperLink>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="DomainName" HeaderText='<%$ Resources:Content, GN000125 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_DomainName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.DomainName")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000850%>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_CustomerName" runat="server"></asp:HyperLink>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <%#DataBinder.Eval(Container, "DataItem.CustomerNumber")%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content, SPT002811 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <%#DataBinder.Eval(Container, "DataItem.Owner")%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000103 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <%#DataBinder.Eval(Container, "DataItem.PackageName")%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, ADUsers %>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_Users" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.ADUsers")%>' CommandName="UserDetails" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, ActiveUsers %>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_ActiveUsers" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.ActiveUsers")%>' />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, USM0028 %>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_DisabledUsers" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.DisabledUsers")%>' />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, ADSyncEnabledUsers %>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_ADSyncUsers" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.ADSyncEnabledUsers")%>' CommandName="UserDetails" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, SecurityGroups %>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_SecurityGroups" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.SecurityGroups")%>' CommandName="GroupDetails" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager1" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_UserUsageReport" runat="server" HeaderText="<%$ Resources:Content,Lync277%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <asp:Panel ID="Pnl_Filter2" runat="server" DefaultButton="Btn_Filter2">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_UserUsageReport" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_UserUsageReport">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_UserUsageReport" href="#<%= CSB_UserUsageReport.ClientID %>" aria-expanded="true" aria-controls="SH_UserUsageReport">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_UserUsageReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_UserUsageReport" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_OwnerLtl2">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_Owner2" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12" id="TD_CustomerName2" runat="server">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomerName2" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label1" 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" id="TD_CustCompanyName2" runat="server">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustCompanyName2" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label3" 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_OUName2" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label2" 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_DisplayName2" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001113%>" 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_UPN2" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String336%>" 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">
                                                                    <asp:CheckBox ID="ChBx_ADSyncEnabledUsers" runat="server" Text="<%$ Resources:Content,AD125%>" />
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_Filter2" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                    <asp:Button ID="Btn_Clear2" 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%>                                                                                                                                 
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="Btn_ExportToExcel2" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,Ex001%>" />
                                                <asp:Button ID="BtnExportToPDF2" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="clearfix">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView ID="GV_UserUsageReport" CssClass="table table-bordered table-striped table-hover" AllowSorting="true"
                                                    AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server"
                                                    AutoGenerateColumns="False" Style="width: 1250px;">

                                                    <Columns>
                                                        <asp:TemplateField SortExpression="OUName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_OUName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.OUName")%>'></asp:HyperLink>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="DisplayName" HeaderText='<%$ Resources:Content, GN00001113 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_DisplayName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.DisplayName")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="UPName" HeaderText='<%$ Resources:Content, String336 %>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_UPName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.UPName")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000850%>' HeaderStyle-Width="200px">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_CustomerName" runat="server"></asp:HyperLink>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, AD125 %>' HeaderStyle-Width="100px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="Lbl_ADSyncEnabled" runat="server"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="LastLogon" HeaderText='<%$ Resources:Content, strLastLoginDateTime %>' HeaderStyle-Width="100px">
                                                            <ItemTemplate>
                                                                <%#DataBinder.Eval(Container, "DataItem.LastLogon")%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <%--<asp:TemplateField SortExpression="LastLoginTimeUTC" HeaderText='<%$ Resources:Content, strLastLoginDateTimeUTC %>' HeaderStyle-Width="100px">
                                                            <ItemTemplate>
                                                                <asp:Literal ID="Ltl_LastLogOnDateTimeUTC" runat="server"></asp:Literal>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>--%>
                                                        <asp:TemplateField SortExpression="PasswordLastSet" HeaderText='<%$ Resources:Content, PasswordLastSet %>' HeaderStyle-Width="100px">
                                                            <ItemTemplate>
                                                                <%#DataBinder.Eval(Container, "DataItem.PasswordLastSet")%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, AccountExpiry %>' HeaderStyle-Width="150px">
                                                            <ItemTemplate>
                                                                <asp:Label ID="Lbl_AccountExpiry" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager2" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>

                                        </div>
                                    </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_SecurityGroups" runat="server" HeaderText="<%$ Resources:Content,SGroupUsageReport%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                <asp:Panel ID="Pnl_Filter3" runat="server" DefaultButton="Btn_Filter3">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_GroupUsageReport" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_GroupUsageReport">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_GroupUsageReport" href="#<%= CSB_GroupUsageReport.ClientID %>" aria-expanded="true" aria-controls="SH_GroupUsageReport">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_GroupUsageReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_GroupUsageReport" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_OwnerLtl3">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_Owner3" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12" id="TD_CustomerName3" runat="server">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomerName3" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label6" 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_OUName3" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label9" 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_GroupName3" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000165%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_Filter3" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                    <asp:Button ID="Btn_Clear3" 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%>                                                                                                                                 
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="Btn_ExportToExcel3" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,Ex001%>" />
                                                <asp:Button ID="BtnExportToPDF3" 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_GroupUsageReport" CssClass="table table-bordered table-striped table-hover" AllowSorting="true"
                                            AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server"
                                            AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField SortExpression="OUName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="LB_OUName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.OUName")%>'></asp:HyperLink>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="SGName" HeaderText='<%$ Resources:Content, GN000165 %>' HeaderStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_GroupName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.SGName")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000850%>' HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="LB_CustomerName" runat="server"></asp:HyperLink>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, usersInGroup %>' HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_UsersInGroup" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager3" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>
</asp:Content>

