<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True"
    Inherits="site_HITS_Escalations_Default" Title="eSecuritel Escalation Master Page" EnableEventValidation="false"
    Theme="eMain" CodeBehind="Default.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/script/eSetFormControls.js" />
            <asp:ScriptReference Path="~/script/eGridHelper.js" />
        </Scripts>
    </asp:ScriptManagerProxy>
    <eSecuritelHITSControls:ScriptingHelper runat="server" ID="ScriptHelper"></eSecuritelHITSControls:ScriptingHelper>
    <div>
        <eSecuritelHITSControls:DefaultTitle runat="server" ID="DefaultTile" Title="<%$ Resources: EscalationManagement, EscalationsLabel %>"></eSecuritelHITSControls:DefaultTitle>
    </div>
    <div>
        <div id="subnav">
            <ul class="pagenav">
                <li>
                    <asp:HyperLink NavigateUrl="~/site/HITS/Escalations/Detail.aspx" ID="CreateLink"
                        runat="server" Text="<%$ Resources: Default, HyperLinkCreate %>" Font-Underline="true" Visible="false" /></li>
                <li>
                    <asp:LinkButton ID="MyEscalationLink" runat="server" Text="<%$ Resources: EscalationManagement, MyEscalationsHyperLink %>" Font-Underline="true"
                        CausesValidation="False" /></li>
                <li>
                    <asp:LinkButton ID="OpenEscalationLink" runat="server" Text="<%$ Resources: EscalationManagement, UnAssignedEscalationsHyperLink %>"
                        Font-Underline="true" CausesValidation="False" Visible="false" /></li>
                <li>
                    <asp:LinkButton ID="MyGroupEscalationLink" runat="server" Text="<%$ Resources: EscalationManagement, MyGroupEscalationsHyperLink %>"
                        Font-Underline="true" CausesValidation="False" /></li>
            </ul>
        </div>
    </div>
    <div id="SearchSection">
        <eSecuritelHITSControls:MasterSearchCollapsableControl Text="<%$ Resources: Default, LabelSearchCriteria %>" runat="server"
            ID="MasterSearchControl" TargetId="m_pnlMasterSearchCriteria"></eSecuritelHITSControls:MasterSearchCollapsableControl>
        <div id="m_pnlMasterSearchCriteria" style="background-color: #DBDCDE">
            <asp:UpdatePanel runat="server" ID="SearchCriteriaUpdatePanel" UpdateMode="Conditional">
                <ContentTemplate>
                    <div class="m_tblEscalationSearchCrt">
                        <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources: SubscriberManagement, LabelSubscriberLastName %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="SubLastNameInput" runat="server" ValidationGroup="1"></asp:TextBox>
                                    <SmartAjaxToolkit:SmartAutoCompleteExtender runat="server" ID="SubLastNameAutoComplete"
                                        TargetControlID="SubLastNameInput" UpdateMode="Callback" EnableCaching="false"
                                        MinimumPrefixLength="2">
                                    </SmartAjaxToolkit:SmartAutoCompleteExtender>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources: EscalationManagement, EscalationNumberLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="EscalationNumberInput" runat="server"></asp:TextBox>
                                    <SmartAjaxToolkit:SmartAutoCompleteExtender ID="EscalationNumberAutoComplete" runat="server"
                                        EnableCaching="false" MinimumPrefixLength="2" TargetControlID="EscalationNumberInput"
                                        UpdateMode="Callback">
                                    </SmartAjaxToolkit:SmartAutoCompleteExtender>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources: SubscriberManagement, LabelSubscriberFirstName %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="SubFirstNameInput" runat="server" ValidationGroup="1"></asp:TextBox>
                                    <SmartAjaxToolkit:SmartAutoCompleteExtender runat="server" ID="SubFirstNameAutoComplete"
                                        TargetControlID="SubFirstNameInput" UpdateMode="Callback" EnableCaching="false"
                                        MinimumPrefixLength="2">
                                    </SmartAjaxToolkit:SmartAutoCompleteExtender>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="Literal54" runat="server" Text="<%$ Resources: OrganizationManagement, LabelClientColon %>" />
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="CarriersList" runat="server" DataTextField="Name" DataValueField="ID" EnableViewState="true" OnSelectedIndexChanged="m_ddlCarriersList_SelectedIndexChanged" AutoPostBack="True">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources: ClaimsManagement, LabelClaimNumber %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="ClaimNumberInput" runat="server"></asp:TextBox>
                                    <SmartAjaxToolkit:SmartAutoCompleteExtender runat="server" ID="ClaimNumberAutoComplete"
                                        TargetControlID="ClaimNumberInput" UpdateMode="Callback" EnableCaching="false"
                                        MinimumPrefixLength="2">
                                    </SmartAjaxToolkit:SmartAutoCompleteExtender>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources: EscalationManagement, AssigneeLastNameLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="AssigneeLastNameInput" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources: HandsetManagement, LabelMDNColon %>" />
                                </td>
                                <td align="left">
                                    <eSecuritelHITSControls:PhoneNumber ID="MDNInput" runat="server" Required="False" />
                                </td>
                                <td align="right">
                                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources: EscalationManagement, AssigneeFirstNameLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="AssigneeFirstNameInput" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources: Default, DateFromLabel %>" />
                                </td>
                                <td>
                                    <eSecuritelHITSControls:Calendar runat="server" ID="DateFromSelect" ValidationName="Date From"></eSecuritelHITSControls:Calendar>
                                </td>
                                <td align="right">
                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources: Default, DateToLabel %>" />
                                </td>
                                <td>
                                    <eSecuritelHITSControls:Calendar runat="server" ID="DateToSelect" ValidationName="Date To"></eSecuritelHITSControls:Calendar>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources: EscalationManagement, ApplyDateRangeToLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="m_ddlApplyDateRangeTo" runat="server">
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, CreationDateListItem %>" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, SolutionDateListItem %>" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, LastUpdateDateListItem %>" Value="3"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="width: 200px;">
                                    <asp:Label ID="m_litESN" runat="server"  Text="<%$ Resources: HandsetManagement, LabelESNColon %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="m_txtESN" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 200px;">
                                    <asp:Label ID="m_litAccountNumber" runat="server"  Text="<%$ Resources: SubscriberManagement, LabelAccountNumberSign %>" />
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="m_txtAccountNumber" runat="server"/>
                                </td>
                                <td align="right" style="width: 200px;">
                                    <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources: EscalationManagement, ESC_RAMP_DOC_STATUS_LIST_CAPTION %>" />
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="RampDocumentStatusList" runat="server">
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, ESC_RAMP_DOC_STATUS_LIST_A %>" Value="ALL"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, ESC_RAMP_DOC_STATUS_LIST_B %>" Value="ACCOVR"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, ESC_RAMP_DOC_STATUS_LIST_C %>" Value="PENDING"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 150px;">
                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: Default, RecordsperpageLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="PageSizeList" runat="server" Style="width: 60px !important;">
                                        <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                        <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                        <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>

                        </table>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>

            <div style="padding-top: 0px">
                <asp:UpdatePanel runat="server" ID="ReasoncodeUpdatePanel" UpdateMode="Conditional">
                    <ContentTemplate>
                        <table border="1" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label1" runat="server" Text="<%$ Resources: EscalationManagement, EscalationStatusesLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="EscalationStatusList" RepeatDirection="Horizontal"
                                        RepeatColumns="5" DataTextField="Name" DataValueField="StatusId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr style="border: 1px solid rgb(143, 137, 137); border-collapse: collapse;">
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label2" runat="server" Text="<%$ Resources: EscalationManagement, EscalationGroupsTiersLabel %>" />
                                </td>
                                <td>
                                    <asp:CheckBoxList runat="server" ID="TierCheckList" RepeatDirection="Vertical" CssClass="chkBoxList"
                                        RepeatColumns="3" DataTextField="Name" DataValueField="TierId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr style="border: 1px solid rgb(143, 137, 137); border-collapse: collapse;">
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label3" runat="server" Text="<%$ Resources: EscalationManagement, ResolutionCodesLabel %>" />
                                </td>
                                <td>
                                    <asp:CheckBoxList runat="server" ID="ResolutionCheckList" RepeatDirection="Vertical"
                                        RepeatColumns="3" DataTextField="Description" DataValueField="ResolutionTypeId"
                                        AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr style="border: 1px solid rgb(143, 137, 137); border-collapse: collapse;">
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label4" runat="server" Text="<%$ Resources: EscalationManagement, SpecialHandlingRequestsLabel %>" />
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="LegalFlagCheckList" RepeatDirection="Vertical"
                                        RepeatColumns="2" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label7" runat="server" Text="<%$ Resources: EscalationManagement, HITSNETIssues %>" />
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="HITSNETIssueCheckList" RepeatDirection="Horizontal"
                                        RepeatColumns="5" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                        </table>
                        <table border="1" cellpadding="0" cellspacing="0" class="gvTable" style="margin-left: 0px;">
                            <tr>
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label8" runat="server" Text="<%$ Resources: EscalationManagement, LabelReasonCodes %>" />
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="AllList" RepeatDirection="Horizontal" AutoPostBack="true">
                                        <asp:ListItem Text="<%$ Resources: Default, ListItemAll %>" Value="0"></asp:ListItem>
                                    </asp:CheckBoxList>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 100px;">&nbsp;
                                </td>

                                <td style="font-weight: bold">
                                    <asp:Label ID="Label13" runat="server" Text="<%$ Resources: EscalationManagement, PreClaim %>" />
                                </td>
                                <td style="font-weight: bold">
                                    <asp:Label ID="Label14" runat="server" Text="<%$ Resources: EscalationManagement, Claim %>" />
                                </td>
                                <td style="font-weight: bold">
                                    <asp:Label ID="Label15" runat="server" Text="<%$ Resources: EscalationManagement, PostClaim %>" />
                                </td>
                            </tr>

                            <tr valign="top">

                                <td align="right" style="width: 100px;">&nbsp;
                                </td>

                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="PreClaimReasonCodeOptionList" RepeatDirection="Vertical"
                                        RepeatColumns="1" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="ClaimReasonCodeOptionList" RepeatDirection="Vertical"
                                        RepeatColumns="1" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="PostClaimReasonCodeOptionList" RepeatDirection="Vertical"
                                        RepeatColumns="1" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 100px;">&nbsp;
                                </td>

                                <td style="font-weight: bold">
                                    <asp:Label ID="Label16" runat="server" Text="<%$ Resources: EscalationManagement, NoClaim %>" />
                                </td>
                                <td style="font-weight: bold">
                                    <asp:Label ID="Label17" runat="server" Text="<%$ Resources: EscalationManagement, Billing %>" />
                                </td>
                                <td style="font-weight: bold">
                                    <asp:Label ID="Label18" runat="server" Text="<%$ Resources: EscalationManagement, Administration %>" />
                                </td>
                            </tr>

                            <tr valign="top">
                                <td align="right" style="width: 100px;">&nbsp;
                                </td>

                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="NoClaimReasonCodeOptionList" RepeatDirection="Vertical"
                                        RepeatColumns="1" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="BillingReasonCodeOptionList" RepeatDirection="Vertical"
                                        RepeatColumns="1" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="AdministrationReasonCodeOptionList" RepeatDirection="Vertical"
                                        RepeatColumns="1" DataTextField="Description" DataValueField="ReasonCodeId" AutoPostBack="true">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>

                        </table>

                        <table border="1" cellpadding="0" cellspacing="0" class="gvTable">
                            <tr>
                                <td align="right" style="width: 200px; font-weight: bold">
                                    <asp:Label ID="Label5" runat="server" Text="<%$ Resources: EscalationManagement, LabelOldReasonCodes %>" />
                                </td>
                                <td align="left">
                                    <asp:CheckBoxList runat="server" ID="OldReasonCodeList" RepeatDirection="Horizontal" AutoPostBack="true">
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, OldReasonCodesAllCheckBoxLabel %>" Value="0"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, DataCarrierCheckBoxLabel %>" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, ShippingLogisticsCheckBoxLabelLabel %>" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, ReplacementHandsetCheckBoxLabel %>" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: EscalationManagement, CustomerServiceCheckBoxLabel %>" Value="4"></asp:ListItem>
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                        </table>

                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </div>
        <div style="padding-left: 494px">
            <asp:Button ID="SearchAction" runat="server" Text="<%$ Resources: Default, ButtonSearch %>" CssClass="pagebutton"
                ValidationGroup="1" />
            <input id="ClearAction" type="button" runat="server" value="<%$ Resources: Default, ButtonClear %>" class="pagebutton" />
        </div>
    </div>
    <div id="ResultSection">
        <div>
            <eSecuritelHITSControls:SearchResultTitle runat="server" Visible="false" ID="ResultTitle"></eSecuritelHITSControls:SearchResultTitle>
        </div>
        <br />
        <br />
        <br />
        <br />
        <div id="Escalation_Type_Summary">
            <div id="AssigneeListDiv" runat="server">
                <table>
                    <tr>
                        <td>
                            <asp:DropDownList ID="AssigneeList" runat="server" DataTextField="Name" DataValueField="Id">
                            </asp:DropDownList>
                            &nbsp;
                            <asp:Button runat="server" ID="AssignAction" Text="<%$ Resources: EscalationManagement, AssignButton %>"></asp:Button>
                        </td>
                    </tr>
                </table>
            </div>
            <div>
                <h2>
                    <asp:Label ID="successStatus" ForeColor="Green" Visible="false" runat="server" /><br />
                    <asp:Label ID="failedStatus" ForeColor="Red" Visible="false" runat="server" />
                </h2>
            </div>
            <div id="ResultDiv" runat="server" visible="true">
                <eSecuritelHITSControls:SectionHeader runat="server" ID="ResultHeader" Header="<%$ Resources: Default, ResultsLabel %>"></eSecuritelHITSControls:SectionHeader>
                <div style="width: 100%; overflow: auto">
                    <eSecuritelHITSControls:HitsSearchGridView runat="server" ID="EscalationSearchGridView"
                        AllowSorting="True" CssClass="gvTable" AutoGenerateColumns="False" Width="100%"
                        ShowUnfulfill="False" ShowReship="False" ShowExportMenu="True" ShowSetStatus="False"
                        ShowDeActivateMenu="False" ShowEmailMenu="False" ShowHotlineMenu="False" ShowDeHotlineMenu="False"
                        ShowActivateMenu="False" AllowToExportAll="False" AtlasScriptManagerID="" ClientFunctionActivateSelected=""
                        ClientFunctionDeActivateSelected="" ClientFunctionDeHotline="" ClientFunctionDelete=""
                        ClientFunctionEmailSelected="" ClientFunctionExecute="" ClientFunctionExportSelected=""
                        ClientFunctionHotline="" ClientFunctionNew="" ClientFunctionPrint="" ClientFunctionReshipReplacement=""
                        ClientFunctionSetStatus="" ClientFunctionUnfulfill="" CssClassCustomPaging=""
                        CssClassMenu="" CustomPagerID="HitsPager" PropagateActionToChildID="" ShowDeleteMenu="True"
                        ShowDeSelectMenu="True" ShowExecuteMenu="False" ShowExportCSV="True" ShowExportCSVWithSummary="False"
                        ShowExportXLS="True" ShowExportXML="True" ShowExportXMLWithSummary="False"
                        ShowMenu="true" ShowNewMenu="False" ShowPrintMenu="False" ShowSelectField="True"
                        ShowSelectMenu="True" ShowSelectMenuChk="False" ShowVerifyModelMapMenu="False"
                        AllowPaging="true" DataKeyNames="EscalationId" Visible="false">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:Literal runat="server" ID="ItemNumberInfo" Text="<%# Container.DataItemIndex + 1 %>"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="Literal24" Text="<%$ Resources: EscalationManagement, HeaderEscalationNumber %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="EscalationNumberSorter" SortExpression="EscalationNumber"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"
                                        EnableTheming="True" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:HyperLink runat="server" ID="EscalationNumberLink" Text='<%# Eval("EscalationNumber") %>'></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="Literal50" Text="<%$ Resources: ClaimsManagement, ColumnHeaderClaimNumber %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="ClaimNumberSorter" SortExpression="ClaimNumber"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:HyperLink runat="server" ID="ClaimNumberLink" Text='<%# Eval("ClaimNumber") %>'></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="SubFNameLabel" Text="<%$ Resources: SubscriberManagement, HeaderTextFirstName %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="FirstNameSorter" SortExpression="SubscriberFName"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="FirstNameInfo" Text='<%# Eval("SubscriberFName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="SubLNameLabel" Text="<%$ Resources: SubscriberManagement, HeaderTextLastName %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="LastNameSorter" SortExpression="SubscriberLName"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="LastNameInfo" Text='<%# Eval("SubscriberLName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="Literal51" Text="<%$ Resources: EscalationManagement, HeaderCreationDate %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="CreationDateSorter" SortExpression="CreationDate"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="CreationDateInfo" Text='<%# string.Format("{0:d}", Eval("CreationDate")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-Wrap="False">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="MDNLbl" Text="<%$ Resources: HandsetManagement, LabelMDN %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="MDNSorter" SortExpression="MDN"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="MDNInfo" Text='<%# Eval("MDN") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="CarrierLBL" Text="<%$ Resources: OrganizationManagement, LabelClient %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="CarrierSorter" SortExpression="CarrierName"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="CarrierInfo" Text='<%# Eval("CarrierName") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="StatusLBL" Text="<%$ Resources: EscalationManagement, HeaderEscalationStatus %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="StatusSorter" SortExpression="Status"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="StatusInfo" Text='<%# Eval("StatusText") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%--                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="Literal53" Text="<%$ Resources: EscalationManagement, ResolutionDateHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="ResolutionDateSorter" SortExpression="ResolutionDate"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="ResolutionDateInfo" Text='<%# string.Format("{0:d}", Eval("ResolutionDate")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="Literal25" Text="<%$ Resources: EscalationManagement, AssigneeHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="AssigneeSorter" SortExpression="AssignedEmployeeName"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="AssigneeInfo" Text='<%# Eval("AssignedEmployeeName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="False">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="Literal26" Text="<%$ Resources: EscalationManagement, TierHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="TierSorter" SortExpression="TierName"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="TierInfo" Text='<%# Eval("TierName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="ReasonCodeAbbrsLBL" Text="<%$ Resources: EscalationManagement, ReasonCodesHeader %>"></asp:Literal>
                                    <br />
                                    <%--<eSecuritelHITSControls:CustomSorter runat="server" ID="ReasonCodeAbbrsSorter" SortExpression="ReasonCodeAbbrs"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />--%>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="ReasonCodesAbbrInfo" Text='<%# Eval("ReasonCodeAbbrs") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="SubStateLBL" Text="<%$ Resources: EscalationManagement, StateHeader %>"></asp:Literal>
                                    <br />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="SubStateInfo" Text='<%# Eval("State") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>                            

                            <%--                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="ResolutionCodeAbbrsLBL" Text="<%$ Resources: EscalationManagement, ResolutionCodesHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="ResolutionCodeAbbrsSorter"
                                        SortExpression="ResolutionCodeAbbrs" OnSortAscendingClicked="customSorter_SortClicked"
                                        OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="ResolutionCodesAbbrInfo" Text='<%# Eval("ResolutionCodeAbbrs") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>--%>

                            <%--                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="LegalFlagAbbrsLBL" Text="<%$ Resources: EscalationManagement, SpecialHandlingRequestHeader %>"></asp:Literal>
                                    <br />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="LegalFlagAbbrsInfo" Text='<%# Eval("LegalFlagAbbrs") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>--%>

                            <%--                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="CrossTierUpdateFlagLBL" Text="<%$ Resources: EscalationManagement, CrossTierUpdateFlagHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="CrossTierUpdateFlagSorter"
                                        SortExpression="CrossTierUpdateFlag" OnSortAscendingClicked="customSorter_SortClicked"
                                        OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="CrossTierUpdateFlagInfo" Text='<%# ((bool)Eval("CrossTierUpdateFlag")) ? Resources.Default.Yes : Resources.Default.No %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>--%>

                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="HITSNETIssuesAbbrsLBL" Text="<%$ Resources: EscalationManagement, HITSNETIssuesHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="HITSNETIssuesAbbrsSorter"
                                        SortExpression="HITSNETIssuesAbbrs" OnSortAscendingClicked="customSorter_SortClicked"
                                        OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="HITSNETIssuesAbbrsInfo" Text='<%# Eval("HITSNETIssuesAbbrs") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="LastUpdateDateLBL" Text="<%$ Resources: EscalationManagement, LastUpdateDateHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="LastUpdateSorter" SortExpression="LastUpdateDate"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="LastUpdateInfo" Text='<%# string.Format("{0:d}", Eval("LastUpdate")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="LastUpdateByLBL" Text="<%$ Resources: EscalationManagement, LastUpdateByHeader %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="LastUpdateBySorter" SortExpression="LastUpdateBy"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="LastUpdateByInfo" Text='<%# Eval("LastUpdateBy") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemStyle CssClass="hide" />
                                <HeaderStyle CssClass="hide" />
                                <ItemTemplate>
                                    <!-- In order for the Emailing Javascript to work, we must have a visible column with the
                                         email information.  We don't want to have to user see it though, so set the display to none. -->
                                    <asp:HyperLink runat="server" CssClass="EmailBox" ID="m_hypEmail"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <%--<asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton Text="Delete" runat="server" ID="DeleteAction" CommandName="Delete"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                             <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="ESNLBL" Text="<%$ Resources: HandsetManagement, LabelESN %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="ESNSorter" SortExpression="ESN"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="ESNInfo" Text='<%# Eval("ESN") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                             <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="EquipmentPurchaseDateLBL" Text="<%$ Resources: HandsetManagement, LabelEquipmentPurchaseDate %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="EquipmentPurchaseDateSorter" SortExpression="BORN_ON_DATE"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="EquipmentPurchaseDateInfo" Text='<%# string.Format("{0:d}", Eval("EquipmentPurchaseDate")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="CoverageEffectiveDateLBL" Text="<%$ Resources: SubscriberManagement, CoverageEffectiveHeaderText %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="CoverageEffectiveDateSorter" SortExpression="COVERAGE_EFFECTIVE_DATE"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="CoverageEffectiveDateInfo" Text='<%# string.Format("{0:d}", Eval("CoverageEffectiveDate")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="False">                               
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="PostalCodeLBL" Text="<%$ Resources: OrganizationManagement, PostalCodeLabel %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="PostalCodeSorter" SortExpression="POSTAL_CODE"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="PostalCodeInfo" Text='<%# Eval("PostalCode") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <asp:Literal runat="server" ID="AccountNumberLBL" Text="<%$ Resources: SubscriberManagement, AcctNumHeaderText %>"></asp:Literal>
                                    <br />
                                    <eSecuritelHITSControls:CustomSorter runat="server" ID="AccountNumberSorter" SortExpression="ACCT_NO"
                                        OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="AccountNumberInfo" Text='<%# Eval("AccountNumber") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <EmptyDataTemplate>
                            <asp:Label ID="lblNoClaimsResultsFound" Font-Bold="True" ForeColor="Red" runat="server"
                                Visible="true" Text="<%$ Resources : Default,LabelNoResultsFound %>" />
                        </EmptyDataTemplate>
                        <PagerTemplate>
                            <eSecuritelHITSControls:HitsPager ID="HitsPager" runat="server" GoButtonText="<%$ Resources: Default, GoButtonText %>" />
                        </PagerTemplate>
                        <PagerSettings Mode="NumericFirstLast" />
                        <RowStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Top" />
                        <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
                    </eSecuritelHITSControls:HitsSearchGridView>
                </div>
                <asp:ObjectDataSource ID="EscalationDS" runat="server" SelectMethod="Select" TypeName="EscalationDataSource"
                    EnablePaging="True" SelectCountMethod="SelectRowCount" OldValuesParameterFormatString="original_{0}">
                    <SelectParameters>
                        <asp:ProfileParameter Name="searchCriteriaObject" PropertyName="EscalationSearchData"
                            Type="Object" />
                        <asp:SessionParameter Name="isCustomSearched" SessionField="IsCustomSearched" Type="Boolean" />
                        <asp:ControlParameter ControlID="EscalationSearchGridView" DefaultValue="1" Name="startRowIndex"
                            PropertyName="PageIndex" Type="Int32" />
                        <asp:Parameter DefaultValue="10" Name="maximumRows" Type="Int32" />
                        <asp:ProfileParameter Name="sortExpression" PropertyName="EscalationSearchData.SortExpression"
                            Type="String" />
                    </SelectParameters>
                </asp:ObjectDataSource>
            </div>
        </div>
    </div>
    <%--<div>
        <eSecuritelHITSControls:PopupControl runat="server" id="EscalationPopupControl"></eSecuritelHITSControls:PopupControl>        
    </div>--%>
</asp:Content>
