<%@ control language="VB" autoeventwireup="false" inherits="PCC_Exchange_CC_UsageReport, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<div class="row">
    <div class="col-xs-12">
        <div class="products-step">
            <span id="div_OrganizationUsageReport" runat="server" nowrap="true" class="label label-success">
                <asp:LinkButton ID="lb_OrganizationUsageReport" runat="server"
                    Text='<%$ Resources:Content, Lync276 %>' />
            </span>
            <span id="div_MailboxUsageReport" runat="server" nowrap="true" class="label label-default">
                <asp:LinkButton ID="lb_MailboxUsageReport" runat="server"
                    Text='<%$ Resources:Content, SMI0216 %>' />
            </span>
            <span id="div_MailboxAddonsUsageReport" runat="server" nowrap="true" class="label label-default">
                <asp:LinkButton ID="lb_MailboxAddonsUsageReport" runat="server"
                    Text='<%$ Resources:Content, MailboxAddonsUsageReport %>' />
            </span>
        </div>
    </div>
</div>
<asp:Panel ID="Pnl_OrganizationUsageReport" runat="server">
    <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Filter">
        <div class="row">
            <div class="panel-group search-panel" id="AS_OrgsFilter" role="tablist" aria-multiselectable="true">
                <div class="col-xs-12" role="tab" id="SH_OrgsFilter">
                    <div class="card">
                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_OrgsFilter" href="#<%= CSB_OrgsFilter.ClientID%>" aria-expanded="true" aria-controls="SH_OrgsFilter">
                            <h3>
                                <%= Resources.Content.GN0000395%>
                            </h3>
                        </div>
                        <div id="CSB_OrgsFilter" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_OrgsFilter" aria-expanded="false">
                            <div class="row">
                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_OwnerDDL">
                                    <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_Customer" 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_OrgName" runat="server" MaxLength="255"></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">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CustCompanyName" runat="server" MaxLength="255"></asp:TextBox>
                                            <asp:Label ID="Label9" 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 row-label">
            <asp:Literal ID="Ltl_TimeStamp" runat="server"></asp:Literal>
        </div>--%>
        <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="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_OrganizationReport" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                        AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False"
                        Style="width: 3770px;">

                        <Columns>
                            <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <asp:LinkButton ID="Btn_ExportMailboxPermissions" runat="server" CssClass="btn btn-primary waves-effect" Text='<%$ Resources:Content,ExportMailboxPermissions%>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="CustCompanyName" HeaderText='<%$ Resources:Content,GN00001077%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.CustCompanyName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="OrganizationName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LB_Org" runat="server" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.OrganizationName")%>'
                                        CommandName="OrgDetail" Text='<%#DataBinder.Eval(Container, "DataItem.OrganizationName")%>'></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content,String345%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.DomainNames")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.Customer")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="PackageName" HeaderText='<%$ Resources:Content,GN0000103%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.PackageName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-Width="100px">
                                <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 SortExpression="EduDiscount" HeaderText='<%$ Resources:Content, EDUDiscount %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.EDUDiscount")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsageDomain" HeaderText='<%$ Resources:Content, L0016 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageDomain")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsageMailBox" HeaderText='<%$ Resources:Content, DGN1110429 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_UsageMailBox" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, Exch806 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_UsageTemplate" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsageDL" HeaderText='<%$ Resources:Content, L0017 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageDL")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsageCL" HeaderText='<%$ Resources:Content, L0018 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageCL")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsagePF" HeaderText='<%$ Resources:Content, DGN1110416 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsagePF")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsageBlackBerry" HeaderText='<%$ Resources:Content, M0101 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageBlackBerry")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsageMBMB" HeaderText='<%$ Resources:Content, L0019 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_UsageMBMB" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UsagePFMB" HeaderText='<%$ Resources:Content, L0020 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_UsagePFMB" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, Exch0005 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageSpamFilter") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, NumberOfLinkedMbxs %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageLinkedMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, NumberOfResourceMbxs %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageResourceMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, NumberOfSharedMbxs %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageSharedMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, NoUserMbxes %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageUserMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, NoMailUsers %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageMailUsers")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, NoRemoteMailboxes %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UsageRemoteMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, TotalActiveMailboxes %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.TotalActiveMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, TotalDisabledMailboxes %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.TotalDisabledMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, TotalMailboxes %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.TotalMailboxes")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, MailboxArchiveUsage %>' HeaderStyle-Width="150px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_ArchiveUsage" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, strServerSideSignaturesEnabled %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.SignatureMailboxUsage")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <%--PagerTemplate Start--%>
                        <PagerTemplate>
                            <EM:Pager ID="Pager1" runat="server" />
                        </PagerTemplate>
                        <%--PagerTemplate End--%>
                    </asp:GridView>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>

<asp:Panel ID="Pnl_MailboxUsageReport" runat="server" Visible="false">
    <asp:Panel ID="Pnl_FilterMB" runat="server" DefaultButton="Btn_FilterMB">
        <div class="row">
            <div class="panel-group search-panel" id="AS_MailboxFilter" role="tablist" aria-multiselectable="true">
                <div class="col-xs-12" role="tab" id="SH_MailboxFilter">
                    <div class="card">
                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_MailboxFilter" href="#<%= CSB_MailboxFilter.ClientID%>" aria-expanded="true" aria-controls="SH_MailboxFilter">
                            <h3>
                                <%= Resources.Content.GN0000395%>
                            </h3>
                        </div>
                        <div id="CSB_MailboxFilter" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_MailboxFilter" aria-expanded="false">
                            <div class="row">
                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_Owner2">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_OwnerMB" 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_OrganizationName" runat="server" MaxLength="255"></asp:TextBox>
                                            <asp:Label ID="Label3" 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_MailDOmain" runat="server" MaxLength="200"></asp:TextBox>
                                            <asp:Label ID="Label21" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110516%>" class="form-label"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_SrchCustomerName">
                                    <div class="form-group form-float">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CustomerName" runat="server" MaxLength="200"></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" runat="server" id="Div_SrchCustCompanyNameMB">
                                    <div class="form-group form-float">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CustCompanyNameMB" runat="server" MaxLength="255"></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_DisplayName" runat="server"></asp:TextBox>
                                            <asp:Label ID="Label13" 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_SearchUpnOrEmailAlias" runat="server"></asp:TextBox>
                                            <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,UPNorEmail%>" 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_SAM" runat="server" MaxLength="100"></asp:TextBox>
                                            <asp:Label ID="Label35" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSAMAccountName%>" 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:DropDownList ID="DDL_MBType" runat="server"></asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_SPLAType" runat="server"></asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_MBStatus" runat="server"></asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="Ddl_EduDiscount" runat="server"></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_Address" runat="server" MaxLength="200"></asp:TextBox>
                                            <asp:Label ID="Label14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strAddress%>" 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_City" runat="server"></asp:TextBox>
                                            <asp:Label ID="Label16" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000880%>" 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_State" runat="server"></asp:TextBox>
                                            <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1130%>" 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_Zip" runat="server" MaxLength="40"></asp:TextBox>
                                            <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001081%>" 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_Phone" runat="server" MaxLength="80"></asp:TextBox>
                                            <asp:Label ID="Label40" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00012%>" 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_JobTitle" runat="server" MaxLength="80"></asp:TextBox>
                                            <asp:Label ID="Label11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110358%>" 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_Company" runat="server" MaxLength="80"></asp:TextBox>
                                            <asp:Label ID="Label12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001134%>" 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_Department" runat="server" MaxLength="80"></asp:TextBox>
                                            <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000374%>" 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_Office" runat="server" MaxLength="80"></asp:TextBox>
                                            <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110359%>" 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_MailboxTemplate" runat="server" MaxLength="80"></asp:TextBox>
                                            <asp:Label ID="Label23" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Exch806%>" CssClass="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:DropDownList ID="Ddl_Country" runat="server"></asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_litigationHold" runat="server">
                                            <asp:ListItem Text="<%$ Resources:Content, SelectLititgationHold %>" Value="-1" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,GN0000860%>" Value="0"></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_HideFromAL" runat="server">
                                            <asp:ListItem Text="<%$ Resources:Content, SelectHiddenFromAddressList %>" Value="-1" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,GN0000860%>" Value="0"></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_AutoDisableDuration" runat="server">
                                            <asp:ListItem Text="<%$ Resources:Content,LastLoggedIn%>" Value="-1"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,OneMonthAgo%>" Value="1"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,TwoMonthsAgo%>" Value="2"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,ThreeMonthsAgo%>" Value="3"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,FourMonthsAgo%>" Value="4"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,FiveMonthsAgo%>" Value="5"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,SixMonthsAgo%>" Value="6"></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:Button ID="Btn_FilterMB" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                        <asp:Button ID="Btn_ClearMB" 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_ExportMailboxExcel" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                    <asp:Button ID="btnExportMailboxToPDF" 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_MailBoxReport" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true" AllowPaging="true"
                        EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False"
                        Style="width: 5050px;">

                        <Columns>
                            <asp:TemplateField SortExpression="CustCompanyName" HeaderText='<%$ Resources:Content,GN00001077%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.CustCompanyName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="OrganizationName" HeaderText='<%$ Resources:Content, DGN1110608 %>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.OrganizationName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.Customer")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-Width="100px">
                                <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 SortExpression="MailBoxDisplayName" HeaderText='<%$ Resources:Content, DisplayName %>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.MailBoxDisplayName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="UPN" HeaderText='<%$ Resources:Content, DEV1042 %>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.UPN")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="EmailAddress" HeaderText='<%$ Resources:Content, GN0000491 %>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.EmailAddress")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="EduDiscount" HeaderText='<%$ Resources:Content, EDUDiscount %>' HeaderStyle-Width="120px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.EDUDiscount")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, Dev123 %>' HeaderStyle-Width="155px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_SPLAType" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, Exch806 %>' HeaderStyle-Width="140px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_MBTemplate" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110617 %>' HeaderStyle-Width="120px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_MBType" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000860 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_Status" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110379 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_POP" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110380 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_IMAP" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, EWSAccessAllowed %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_EWS" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110381 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_MAPI" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110402 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_ActiveSync" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110384 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_OWA" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DB005 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_Outlook" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, SPT002787 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_BB" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, String414 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_BB5" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, String518 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_BB10" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DEV1073 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_Archive" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="ArchiveUsage" HeaderText='<%$ Resources:Content, ArchiveUsage %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_ArchiveUsage" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, DB012 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_UM" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText='<%$ Resources:Content, Exch00908 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_Journaling" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="CurrentUsage" HeaderText='<%$ Resources:Content, L0019 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_CurrentUsage" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="IssueWarningAt" HeaderText='<%$ Resources:Content, DGN1110373 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_IssueWarningAt" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="ProhibitSendAt" HeaderText='<%$ Resources:Content, DGN1110374 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_ProhibitSendAt" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="ProhibitSendRecAt" HeaderText='<%$ Resources:Content, DGN1110375 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_ProhibitSendRecAt" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="MailboxDbName" HeaderText='<%$ Resources:Content, DGN0011108 %>' HeaderStyle-Width="200px">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container, "DataItem.MailboxDbName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="LitigationHold" HeaderText='<%$ Resources:Content, FAM0092 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_LitigationHold" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="HideFromOtherALs" HeaderText='<%$ Resources:Content, strHiddenfromAddressList %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_HideFromOtherALs" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="InPlaceHoldEnabled" HeaderText='<%$ Resources:Content, Inplaceholdenabled %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_InPlaceHoldEnabled" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="DateCreated" HeaderText='<%$ Resources:Content, GN00001496 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_DateCreated" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="CurrentUsageTimeStamp" HeaderText='<%$ Resources:Content, DGN1110197 %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_CurrentUsageTimeStamp" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="LastLoginTimeUTC" HeaderText='<%$ Resources:Content, strLastLoginDateTime %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <asp:Literal ID="Ltl_LastLogOnDateTime" runat="server"></asp:Literal>
                                </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, strServerSideSignaturesEnabled %>' HeaderStyle-Width="100px">
                                <ItemTemplate>
                                    <%#CBool(Eval("SignatureEnabled"))%>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <%--PagerTemplate Start--%>
                        <PagerTemplate>
                            <EM:Pager ID="Pager2" runat="server" />
                        </PagerTemplate>
                        <%--PagerTemplate End--%>
                    </asp:GridView>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>

<asp:Panel ID="Pnl_MailboxAddonsUsageReport" runat="server" Visible="false">
    <asp:Panel ID="Pnl_FilterMBAddons" runat="server" DefaultButton="Btn_FilterMBAddons">
        <div class="row">
            <div class="panel-group search-panel" id="AS_MBAddons" role="tablist" aria-multiselectable="true">
                <div class="col-xs-12" role="tab" id="SH_MBAddons">
                    <div class="card">
                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_MBAddons" href="#<%= CSB_MBAddons.ClientID%>" aria-expanded="true" aria-controls="SH_MBAddons">
                            <h3>
                                <%= Resources.Content.GN0000395%>
                            </h3>
                        </div>
                        <div id="CSB_MBAddons" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_MBAddons" aria-expanded="false">
                            <div class="row">
                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_OwnerDDL2">
                                    <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="Div_CustomerMB" runat="server">
                                    <div class="form-group form-float">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CustomerMBAddons" runat="server" MaxLength="200"></asp:TextBox>
                                            <asp:Label ID="Label17" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Customer%>" class="form-label"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12" id="Div_CustomerIdMB" runat="server">
                                    <div class="form-group form-float">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CustomerIdMBAddons" runat="server" MaxLength="255"></asp:TextBox>
                                            <asp:Label ID="Label18" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strCustomerId%>" class="form-label"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-3 col-sm-6 col-xs-12" id="Div_SubsIdMB" runat="server">
                                    <div class="form-group form-float">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_SubsIdMBAddons" runat="server" MaxLength="255"></asp:TextBox>
                                            <asp:Label ID="Label19" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SubscriptionId%>" 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_DomainNameMBAddons" runat="server" MaxLength="255"></asp:TextBox>
                                            <asp:Label ID="Label20" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDomainName%>" class="form-label"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:Button ID="Btn_FilterMBAddons" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                        <asp:Button ID="Btn_ClearMBAddons" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                            Text="<%$ Resources:Content,String289 %>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <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_ExportMBAddonsExcel" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                        <asp:Button ID="Btn_ExportMBAddonsPDF" 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_MBAddons" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                    AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                    <Columns>
                        <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content, SPT002811 %>'>
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container, "DataItem.Owner")%>
                            </ItemTemplate>
                        </asp:TemplateField>

                        <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>'>
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container, "DataItem.Customer")%>
                            </ItemTemplate>
                        </asp:TemplateField>

                        <asp:TemplateField HeaderText='<%$ Resources:Content,strSubscription%>'>
                            <ItemTemplate>
                                <%--<asp:Literal ID="Ltl_Subscription" runat="server"></asp:Literal>--%>
                                <asp:HyperLink ID="Hl_Subscription" runat="server"></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>

                        <asp:TemplateField SortExpression="AddonName" HeaderText='<%$ Resources:Content,String141%>'>
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container, "DataItem.AddonName")%>
                            </ItemTemplate>
                        </asp:TemplateField>

                        <asp:TemplateField SortExpression="Mailbox" HeaderText='<%$ Resources:Content, DGN1110339 %>'>
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container, "DataItem.MailBox")%>
                            </ItemTemplate>
                        </asp:TemplateField>


                        <asp:TemplateField HeaderText='<%$ Resources:Content, Sold %>'>
                            <ItemTemplate>
                                <asp:Literal ID="Ltl_Sold" runat="server"></asp:Literal>
                                <%--<%#DataBinder.Eval(Container, "DataItem.Sold")%>--%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText='<%$ Resources:Content, strConsumed %>'>
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container, "DataItem.Consumed")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText='<%$ Resources:Content, strFree %>'>
                            <ItemTemplate>
                                <asp:Literal ID="Ltl_Free" runat="server"></asp:Literal>
                                <%--<%#DataBinder.Eval(Container, "DataItem.Free")%>--%>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <%--PagerTemplate Start--%>
                    <PagerTemplate>
                        <EM:Pager ID="Pager1" runat="server" />
                    </PagerTemplate>
                    <%--PagerTemplate End--%>
                </asp:GridView>

            </div>
        </div>
    </asp:Panel>
</asp:Panel>
