<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" Inherits="site_HITS_Orders_Default" Title="Brightstar Device Protection: Orders"
    Theme="eMain" Culture="auto" UICulture="auto" Codebehind="Default.aspx.cs" %>

<%@ Register Src="~/Controls/ScriptingHelper.ascx" TagName="ScriptingHelper" TagPrefix="uc" %>
<%@ Register Src="~/Controls/HITSCalendar.ascx" TagName="HITSCalendar" TagPrefix="uc" %>
<%@ Register Src="~/Controls/DefaultHeader.ascx" TagName="DefaultHeader" TagPrefix="uc" %>
<%@ Register Src="~/Controls/CustomSorter.ascx" TagName="CustomSorter" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ModelSummary.ascx" TagName="ModelSummary" TagPrefix="uc" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components" TagPrefix="cc1" %>
<%@ Register Src="~/Controls/CheckBoxListEx.ascx" TagName="CheckBoxListEx" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">

    <script src="../../../script/eSetFormControls.js" type="text/javascript"></script>

    <script src="../../../script/eGridHelper.js" type="text/javascript"></script>

    <uc:ScriptingHelper ID="ScriptingHelper1" runat="server" />
    <h1>
        <asp:Literal ID="m_litHeader" runat="server" Text="<%$ Resources : BillingManagement,LabelOrders %>" />
    </h1>
    <!---------------------------------UC----------------------------------->
    <uc:DefaultHeader ID="DefaultHeader1" runat="server" OnImportClicked="DefaultHeader1_ImportClick" />
    <!---------------------------------T1----------------------------------->
    <div class="mastersearch">
        <img src="../../../images/Collapse_13x13.jpg" class="showstate" onclick="expandMasterSearch(this, 'm_pnlMasterSearchCriteria')"
            alt="contract" />
        <asp:Literal ID="m_litSearch" runat="server" Text="<%$ Resources : Default,LabelSearchCriteria %>" />
    </div>
     <div id="m_pnlMasterSearchCriteria" style="background-color: #DBDCDE; position:static">
      <asp:UpdatePanel runat="server" ID="SearchCriteriaUpdatePanel" UpdateMode="Conditional">
         <ContentTemplate>
          <div>
        <table id="m_tblOrderFilter" border="0" cellpadding="0" cellspacing="0"  class="gvTable">
      
                 <tr>
                    <td  align="right">
                        <asp:Literal ID="m_litOrderN" runat="server" Text="<%$ Resources : ServicePlanManagement,LabelOrderNumberSignColon %>" />
                    </td>
                    <td >
                        <asp:TextBox ID="m_tbOrderN" runat="server" Width="200px"></asp:TextBox>
                       <SmartAjaxToolkit:SmartAutoCompleteExtender ID="SmartAutoCompleteExtender1" runat="server"
                        OnAutoCompleteCallback="SearchOrders" TargetControlID="m_tbOrderN"
                        UpdateMode="Callback" EnableCaching="false" MinimumPrefixLength="2" />  
                    </td>
                    <td align="right">
                        <asp:Literal ID="m_litSupplier" runat="server" Text="<%$ Resources : SubscriberManagement,SupplierLabel %>" />
                    </td>
                    <td>
                        <asp:DropDownList ID="m_ddlSupplier" runat="server" Width="212px">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                            ControlToValidate="m_ddlSupplier"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td  align="right">
                        <asp:Literal ID="m_litInvoiceN" runat="server" Text="<%$ Resources : ClaimsManagement,LabelInvoiceNumberSignColon %>" />
                    </td>
                    <td >
                        <asp:TextBox ID="m_tbInvoiceN" runat="server" Width="200px"></asp:TextBox>
                       <SmartAjaxToolkit:SmartAutoCompleteExtender ID="SmartAutoCompleteExtender2" runat="server"
                        OnAutoCompleteCallback="SearchInvoices" TargetControlID="m_tbInvoiceN"
                        UpdateMode="Callback" EnableCaching="false" MinimumPrefixLength="2" />   
                    </td>
                    <td align="right">
                        <asp:Literal ID="m_litShippedTo" runat="server" Text="<%$ Resources : BillingManagement,LabelShippedToColon %>" />
                    </td>
                    <td >
                        <asp:DropDownList ID="m_ddlShippedTo" runat="server" Width="212px">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                            ControlToValidate="m_ddlShippedTo"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Literal ID="m_litMonth" runat="server" Text="<%$ Resources : SubscriberManagement,LabelMonthColon %>" />
                    </td>
                    <td >
                        <asp:DropDownList ID="m_ddlMonth" runat="server" Width="212px">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                            ControlToValidate="m_ddlMonth"></asp:RequiredFieldValidator>
                    </td>
                    <td align="right">
                        <asp:Literal ID="m_litTrackingN" runat="server" Text="<%$ Resources : BillingManagement,LabelTrackingNumberSignColon %>" />
                    </td>
                    <td>
                        <asp:TextBox ID="m_tbTrackingN" runat="server" Width="200px"></asp:TextBox>                               
                    </td>
                </tr>                        
                <tr>
                    <td align="right">
                        <asp:Literal ID="m_litDateFrom" runat="server" Text="<%$ Resources : Default,LabelFromColon %>" />
                    </td>
                    <td>
                        <uc:HITSCalendar DateTextBox-Width="200px" ID="m_calDateFrom" runat="server" />
                    </td>
                    <td align="right">
                        <asp:Literal ID="m_litDateTo" runat="server" Text="<%$ Resources : Default,DateToLabel %>" />
                    </td>
                    <td>
                        <uc:HITSCalendar DateTextBox-Width="200px" ID="m_calDateTo" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Literal ID="m_litStatus" runat="server" Text="<%$ Resources : Default,LabelStatusColon %>" />
                    </td>
                    <td>
                        <asp:DropDownList ID="m_ddlStatus" runat="server" Width="212px">
                        </asp:DropDownList>
                    </td>
                    <td align="right">
                        <asp:Literal ID="m_litESN" runat="server" Text="<%$ Resources : HandsetManagement,LabelESNColon %>" />
                    </td>
                    <td>
                        <asp:TextBox ID="m_tbESN" runat="server" Width="200px"></asp:TextBox>                                                              
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Literal ID="m_litApplyDatesTo" runat="server" Text="<%$ Resources : CallRecordingManagement,ApplyDatesToLabel %>" />
                    </td>
                    <td>
                        <asp:CheckBox ID="m_chbAll" runat="server" TextAlign="Right"
                            Text="<%$ Resources : Default,ListItemAll %>" />
                        <asp:CheckBox ID="m_chbPosted" runat="server"  
                            TextAlign="Right" Text="<%$ Resources : BillingManagement,LabelPosted %>"  />
                        <asp:CheckBox ID="m_chbShipped" runat="server" 
                            TextAlign="Right" Text="<%$ Resources : BillingManagement,LabelShipped %>" />
                        <asp:CheckBox ID="m_chbReceived" runat="server" 
                            TextAlign="Right" Text="<%$ Resources : BillingManagement,LabelReceived %>" />
                    </td>
                    <td align="right">
                        <asp:Literal ID="m_litCondition" runat="server" Text="<%$ Resources : Default,LabelConditionColon %>" />
                    </td>
                    <td align="left">
                        <uc:CheckBoxListEx ID="m_chblCondition" RepeatDirection="Horizontal" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Literal ID="m_litPageSize" Text="<%$ Resources : HandsetManagement,LabelRecordsPerPageColon %>" runat="server" />
                    </td>
                    <td>
                        <asp:DropDownList ID="m_ddlPageSize" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>&nbsp;
                    </td>
                    <td>&nbsp;
                    </td>
                </tr>
          </table>
     </div>
     </ContentTemplate>
     </asp:UpdatePanel>
    </div>
    <!--------------------------------Buttons---------------------------------->
      <div style="text-align: center">
        <asp:Button ID="m_btnSearch" runat="server" Text="<%$ Resources :Default,ButtonSearch %>" CssClass="pagebutton" Font-Bold="False"
            OnClick="m_btnSearch_Click" />
        <input id="m_btnClear" type="button" runat="server" value="<%$ Resources : Default,ButtonClear %>" class="pagebutton" 
             />
    </div>
    <asp:Panel ID="m_pnlSearchResults" runat="server">
        <h2>
            <asp:Literal ID="m_litSearchResultsHeader" runat="server" Text="<%$ Resources : Default,LabelSearchResults %>" />
        </h2>
        <asp:Label ID="lblSuccess" runat="server" Text="<%$ Resources : Default,LabelLabel %>" CssClass="successmessage"
            ></asp:Label>
    </asp:Panel>
    <!----------------------------------Model Summary----------------------------------->
    <asp:Panel ID="m_pnlModelSummary" runat="server">
        <uc:ModelSummary ID="m_ucModelSummary" OnPageIndexChanged="m_ucModelSummary_OnPageIndexChanged"
            runat="server" />
    </asp:Panel>
    <!----------------------------------Supplier Summary----------------------------------->
    <asp:Panel ID="m_pnlSupplierSummary" runat="server">
        <table width="100%">
            <tr>
                <td>
                    <h3>
                        <asp:Literal ID="m_litSupplierSummaryHeader" runat="server" Text="<%$ Resources : OrganizationManagement,LabelSupplierSummary %>"
                            /></h3>
                </td>
                <td>
                    
                        <asp:LinkButton ID="m_lbuttExpandAll" runat="server" Text="<%$ Resources : Default,LabelExpandAll %>" OnClick="m_lbuttExpandAll_Click"></asp:LinkButton>
                        <asp:LinkButton ID="m_lbuttCollapseAll" runat="server" Text="<%$ Resources : Default,LabelCollapseAll %>" OnClick="m_lbuttCollapseAll_Click"></asp:LinkButton>
                </td>
            </tr>
        </table>
        
        <asp:GridView ID="m_gvSupplierSummary" runat="server" AutoGenerateColumns="False"
            OnRowDataBound="m_gvSupplierSummary_RowDataBound"
            GridLines="Both" OnRowCommand="m_gvSupplierSummary_RowCommand" Width="100%">
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litTestHeader" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:ImageButton ID="m_ibExpandCollapse" OnClick="m_ibExpandCollapse_Click" runat="server" />
                        <asp:HiddenField ID="m_hfIsExpandOrCollapse" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litSupplierSmHeader" Text="<%$ Resources : SubscriberManagement,LabelSupplier %>" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:HyperLink ID="m_linkSupplierSm" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litModelSmHeader" Text="<%$ Resources : ModelManagement,HeaderTextModel %>" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litModelSm" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litQtySmHeader" Text="<%$ Resources : BillingManagement,LabelQty %>" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litQtySm" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litEquipmentCostHeader" Text="<%$ Resources : ServicePlanManagement,LabelEquipmentCost %>" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litEquipmentCost" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Right" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litShip_n_HandlHeader" Text="<%$ Resources : LogisticsManagement,LabelShippingHandling %>" runat="server"
                            />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litShip_n_Handl" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Right" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litTotalCostHeader" Text="<%$ Resources : ServicePlanManagement,LabelTotalCost %>" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litTotalCost" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Right" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal ID="m_litAvgCostHeader" Text="<%$ Resources : BillingManagement,LabelAvgCost %>" runat="server" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litAvgCost" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Right" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Literal ID="m_litModelSumm" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Right" />
                </asp:TemplateField>
            </Columns>
            <%--                <RowStyle BorderColor="#400040" BorderStyle="Solid" BorderWidth="1px" BackColor="#EEEEEE" ForeColor="Black" />
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="Gainsboro" />
--%>
            <RowStyle VerticalAlign="Top" />
        </asp:GridView>
    </asp:Panel>
   <br /> 
    <!---------------------------------Grid Pnl----------------------------------->
    <asp:Panel ID="m_pnlGrid" Visible="False" runat="server">
        <!---------------------------------HitsSearchGridView----------------------------------->
        <cc1:HitsSearchGridView ID="m_gvOrder" runat="server" AutoGenerateColumns="False"
            Width="100%" AllowPaging="True" OnRowDataBound="m_gvOrder_RowDataBound" OnPageIndexChanged="m_gvOrder_PageIndexChanged"
            OnPageIndexChanging="m_gvOrder_PageIndexChanging" OnMenuItemCommand="m_gvOrder_OnMenuItemCommand"
            ShowMenu="True" ShowSelectField="True" ShowActivateMenu="False" ShowDeActivateMenu="False"
            ShowEmailMenu="True" ShowPrintMenu="True" ShowHotlineMenu="False" ShowDeHotlineMenu="False"
            CustomPagerID="HitsPager1" ClientFunctionPrint="window.print();" OnCustomPageIndexChanged="m_gvOrder_PageIndexChanged"
            OnCustomPageIndexChanging="m_gvOrder_PageIndexChanging"
            ShowDeleteMenu="True" ShowDeSelectMenu="True" ShowExportMenu="True" ShowSelectMenu="True"
            AtlasScriptManagerID="" ClientFunctionActivateSelected="" ClientFunctionDeActivateSelected=""
            ClientFunctionDeHotline="" ClientFunctionDelete="" ClientFunctionEmailSelected=""
            ClientFunctionExportSelected="" ClientFunctionHotline="" ClientFunctionSetStatus=""
            CssClassCustomPaging="" CssClassMenu="" PropagateActionToChildID="" ShowExportCSV="True"
            ShowExportCSVWithSummary="False" ShowExportXML="True" ShowExportXMLWithSummary="False"
            ShowSetStatus="False">
            <Columns>
            
                <asp:TemplateField>
                    <headertemplate>
                            <asp:Literal runat="server" ID="m_litOrderNHeader" Text="<%$ Resources : ServicePlanManagement,LabelOrderNumberSign %>" ></asp:Literal>
                            <br />      
                            <uc:CustomSorter runat="server" ID="m_csOrderN" SortExpression="OrderNumber" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>
                    </headertemplate>
                    <itemtemplate>
                             <asp:HiddenField runat="server" ID="m_hfOrderId"></asp:HiddenField>
                            <asp:HyperLink runat="server" ID="m_linkOrderNGr"></asp:HyperLink>
                    </itemtemplate>
                </asp:TemplateField>
                
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litInvoiceNHeader" Text="<%$ Resources : ClaimsManagement,LabelInvoiceNumberSign %>" ></asp:Literal>

                            <br />      
                            <uc:CustomSorter runat="server" ID="m_csInvoiceN" SortExpression="InvoiceNumber" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:Literal runat="server" ID="m_litInvoiceNGr"></asp:Literal>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litSupplierHeader" Text="<%$ Resources : SubscriberManagement,LabelSupplier %>" ></asp:Literal>

                            <br />
                            <uc:CustomSorter runat="server" ID="m_csSupplier" SortExpression="ShipperCompanyName" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:HyperLink runat="server" ID="m_linkSupplier"></asp:HyperLink>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litShippedToHeader" Text="<%$ Resources : BillingManagement,LabelShippedTo %>" ></asp:Literal>

                            <br />
                            <uc:CustomSorter runat="server" ID="m_csShippedTo" SortExpression="ShipCompanyName" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:HyperLink runat="server" ID="m_linkShippedTo"></asp:HyperLink>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litDateShippedHeader" Text="<%$ Resources : BillingManagement,LabelDateShipped %>" ></asp:Literal>

                            <br />
                            <uc:CustomSorter runat="server" ID="m_csDateShipped" SortExpression="DateShip" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:Literal runat="server" ID="m_litDateShipped"></asp:Literal>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litDateReceivedHeader" Text="<%$ Resources : BillingManagement,LabelDateReceived %>" ></asp:Literal></asp:Literal>

                           <br />
                            <uc:CustomSorter runat="server" ID="m_csDateReceived" SortExpression="DateReceive" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:Literal runat="server" ID="m_litDateReceived"></asp:Literal>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litDatePostedHeader" Text="<%$ Resources : BillingManagement,LabelDatePosted %>" ></asp:Literal>

                            <br />
                            <uc:CustomSorter runat="server" ID="m_csDatePosted" SortExpression="DatePosted" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:Literal runat="server" ID="m_litDatePosted"></asp:Literal>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
<asp:Literal runat="server" ID="m_litQtyHeader" Text="<%$ Resources : BillingManagement,LabelQty %>" ></asp:Literal>

                            <br/>
                            <uc:CustomSorter runat="server" ID="m_csQty" SortExpression="Qty" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
                    <itemtemplate>
<asp:Literal runat="server" ID="m_litQty"></asp:Literal>

                        
</itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
                        <asp:Literal runat="server" ID="m_litTotalCostHeader" Text="<%$ Resources : ServicePlanManagement,LabelTotalCost %>" ></asp:Literal>
                            <br/>
                            <uc:CustomSorter runat="server" ID="m_csTotalCost" SortExpression="TotalCost" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>

                        
</headertemplate>
<ItemStyle HorizontalAlign="Right" />
                    <itemtemplate>
<asp:Literal runat="server" ID="m_litTotalCost"></asp:Literal>

                        
</itemtemplate>                    
                </asp:TemplateField>
                <asp:TemplateField>
                    <headertemplate>
                            <asp:Literal runat="server" ID="m_litAvgCostPhoneHeader" Text="<%$ Resources : BillingManagement,LabelAvgCostsSlashPhone %>" ></asp:Literal>
                            <br /><br />
<%--                            <uc:CustomSorter runat="server" ID="m_csAvgCostPhone" SortExpression="AvgCost" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>
--%>                        </headertemplate>
<ItemStyle HorizontalAlign="Right" />
                    <itemtemplate>
                            <asp:Literal runat="server" ID="m_litAvgCostPhone"></asp:Literal>
                        </itemtemplate>                    
                </asp:TemplateField>
            </Columns>
            <PagerTemplate>
                <cc1:HitsPager ID="HitsPager1" runat="server" GoButtonText="<%$ Resources : Default, GoButtonText %>" />
            </PagerTemplate>
            <PagerSettings Mode="NumericFirstLast" />
            <RowStyle HorizontalAlign="Left" VerticalAlign="Top" Font-Size="XX-Small" />
            <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
            <HeaderStyle Font-Size="XX-Small" />
        </cc1:HitsSearchGridView>
        <br />
    </asp:Panel>
    <asp:Label ID="m_lblNoFound" Font-Bold="True" ForeColor="Red" runat="server" Visible="False"
        Text="<%$ Resources : Default,LabelNoResultsFound %>" />
    <!----------------------------------Data Source---------------------------------->
    <asp:ObjectDataSource ID="m_objDataSource" runat="server" SelectMethod="Select" SelectCountMethod="SelectCount"
        TypeName="OrderDataSource" EnablePaging="True">
        <SelectParameters>
            <asp:SessionParameter DefaultValue="null" Name="objDataSearch" SessionField="OrderSearchCriteria_SessionKey"
                Type="Object" />
            <asp:ControlParameter ControlID="m_gvOrder" DefaultValue="" Name="startRowIndex"
                PropertyName="PageIndex" Type="Int32" />
            <asp:Parameter DefaultValue="10" Name="maximumRows" Type="Int32" />
            <asp:SessionParameter Name="strSortExpression" SessionField="OrderSortExpression_SessionKey"
                Type="Object" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <!-------------------------------------------------------------------->
    <%--   <asp:Literal ID = "m_litErrorMessage" runat = "server" />
--%>
</asp:Content>