<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True" CodeBehind="Default.aspx.cs" Inherits="site_Administrative_Jobs_Default" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components" TagPrefix="cc1" %>
<%@ Register Src="~/Controls/CustomSorter.ascx" TagName="CustomSorter" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server"> 

    <div>
    
        <asp:Button ID="btnRetrieveClaims" runat="server" 
            onclick="btnRetrieveClaims_Click" Text="Retrieve Claims" /> &nbsp;
        <asp:Label ID="Label1" runat="server" Text="Claim Date From:"></asp:Label> &nbsp;
        <asp:TextBox ID="txtClaimDateFrom" runat="server"></asp:TextBox> &nbsp; 
         <asp:Label ID="Label2" runat="server" Text="First 1000 records will be returned" />
        <br />
        
        <asp:Button ID="btnRetrieveMigratedClaims" runat="server" 
            onclick="btnRetrieveMigratedClaims_Click" Text="Retrieve Migrated Claims" />
        <br />

        <asp:Button ID="btnProcessSelected" runat="server" 
            onclick="btnProcessSelected_Click" Text="Process Selected Claims" />
        <br />


        <cc1:HitsSearchGridView ID="grdvClaims" runat="server" AutoGenerateColumns="False"
            AllowPaging="False" CellPadding="5" OnRowDataBound="grdvClaims_RowDataBound"
            Width="100%" AtlasScriptManagerID=""
            CustomPagerID="HitsPager1" 
            ClientFunctionPrint="window.print();"             
            ShowMenu="True" 
            ShowSelectField="True" 
            ShowActivateMenu="False" 
            ShowDeActivateMenu="False"
            ShowEmailMenu="False" 
            ShowPrintMenu="True" 
            ShowHotlineMenu="False" 
            ShowDeHotlineMenu="False"
            ShowDeSelectMenu="true"
            ShowExportMenu="True" 
            ShowSelectMenu="True" 
            ClientFunctionActivateSelected="" 
            ClientFunctionDeActivateSelected="" 
            ClientFunctionDeHotline=""
            ClientFunctionDelete="" 
            ClientFunctionEmailSelected="" 
            ClientFunctionExportSelected=""
            ClientFunctionHotline="" 
            ClientFunctionSetStatus="" 
            CssClassCustomPaging="" 
            CssClassMenu="gridmenu"
            PropagateActionToChildID="" 
            ShowDeleteMenu="false" 
            ShowExportCSV="True" 
            ShowExportCSVWithSummary="False"
            ShowExportXML="True" ShowExportXMLWithSummary="False" ShowSetStatus="False">
         
            <Columns>

                <asp:TemplateField HeaderText="ID">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblID"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="ClaimID">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblClaimID"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>


                <asp:TemplateField HeaderText="LAID">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblLAID"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                                
                <asp:TemplateField HeaderText="ESN">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblESN"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="RMA">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblRMA"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            
                <asp:TemplateField HeaderText="ShippingID">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblShippingID"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="ClaimDate">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblClaimDate"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                 
                <asp:TemplateField HeaderText="IsMigrated">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblIsMigrated"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>


                <asp:TemplateField HeaderText="ModifyDate">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblModifyDate"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="ErrorText">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblErrorText"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>                                                    
                
            </Columns>
         </cc1:HitsSearchGridView> 
              
        <br />
    
    </div>
</asp:Content>
