<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" Inherits="FPCManualOverride" Title="Brightstar Device Protection: FPC Manual Override"
    Theme="eMain" Culture="auto" UICulture="auto" CodeBehind="FPCManualOverride.aspx.cs" %>

<%@ Register Src="~/Controls/DefaultHeader.ascx" TagName="DefaultHeader" TagPrefix="uc" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="server">
    <table width="100%">
        <tr>
            <td>
                <h1>
                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: AdministrationManagement, LabelLoader %>" />
                </h1>
            </td>
        </tr>
    </table>
    <uc:DefaultHeader ID="DefaultHeader1" runat="server" />
    <div class="mastersearch">
        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources : Default, FPCManualOverride %>" />
        <asp:Label ID="m_lblSuccessMessage" runat="server" CssClass="successmessage" /></h2>
    </div>
    <div style="BACKGROUND-COLOR: #DBDCDE" id="m_pnlMasterSearchCriteria">
        <asp:HiddenField runat="server" ID="m_hfFPCId"></asp:HiddenField>
        <table class="gvTable" cellspacing="0" cellpadding="0" border="0">
            <tbody>
                <tr>
                    <td align="right">
                        <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources: OrganizationManagement, LabelClientColon %>"></asp:Literal>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="m_ddlCarriers" runat="server" OnSelectedIndexChanged="m_ddlCarriers_SelectedIndexChanged" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 150px" align="right">
                        <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources: Default, ServiceNumbers %>"></asp:Literal>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="m_txtMDNList" runat="server" TextMode="MultiLine" Width="512px" Height="50px"></asp:TextBox>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div style="padding-left: 275px">
        <asp:Button ID="m_btnEdit" runat="server" Text="<%$ Resources: AdministrationManagement, EditLinkButton %>" CssClass="pagebutton" OnClick="m_btnEdit_Click" Visible="false" />
        <asp:Button ID="m_btnInsert" runat="server" Text="<%$ Resources: Default, ButtonSave %>" CssClass="pagebutton" OnClick="m_btnInsert_Click" />
        <asp:Button ID="m_btnClear" runat="server" Text="<%$ Resources: Default, ButtonClear %>" CssClass="pagebutton" OnClick="m_btnClear_Click" />
    </div>
    <asp:Panel ID="m_pnlResults" runat="server">
        <h2>
            <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources: Default, ResultsLabel %>" />
        </h2>
    </asp:Panel>
    <asp:Panel ID="m_pnlFPCManualUpgradeGrid" Visible="true" runat="server">
        <h3>
            <asp:Literal ID="Literal23" runat="server" Text="" />
        </h3>
        <cc1:HitsSearchGridView ID="m_gvFPCManualUpgrade" runat="server" AutoGenerateColumns="False" OnRowCommand="m_gvFPCManualUpgrade_RowCommand" OnRowEditing="m_gvFPCManualUpgrade_RowEditing"
            AllowPaging="false" OnRowDataBound="m_gvFPCManualUpgrade_RowDataBound" ShowMenu="false" ShowSelectField="false"
            ShowSetStatus="False" ShowExportCSVWithSummary="false"
            ShowExportXMLWithSummary="True" ShowActivateMenu="False" ShowDeActivateMenu="False"
            ShowEmailMenu="False" ShowHotlineMenu="False" ShowDeHotlineMenu="False" CustomPagerID="HitsPager1"
            ClientFunctionPrint="window.print();" AtlasScriptManagerID=""
            ClientFunctionActivateSelected="" ClientFunctionDeActivateSelected="" ClientFunctionDeHotline=""
            ClientFunctionDelete="" ClientFunctionEmailSelected="" ClientFunctionExportSelected=""
            ClientFunctionHotline="" ClientFunctionSetStatus="" CssClassCustomPaging="" CssClassMenu=""
            PropagateActionToChildID="" ShowDeleteMenu="false"
            ShowDeSelectMenu="false" ShowExportCSV="False" ShowExportMenu="False" ShowExportXML="False"
            ShowPrintMenu="False" ShowSelectMenu="False" ShowValidateMenu="False" ShowExecuteMenu="false" Width="100%">
            <Columns>
                <%--company--%>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal runat="server" ID="Literal50" Text="<%$ Resources: OrganizationManagement, HeaderTextCompany %>"></asp:Literal>
                        <br />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:HiddenField runat="server" ID="m_hfId"></asp:HiddenField>
                        <asp:Label runat="server" ID="m_lblCompany"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--MDNs--%>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal runat="server" ID="Literal51" Text="<%$ Resources: Default, ServiceNumbers %>"></asp:Literal>
                        <br />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label runat="server" ID="m_lblMDNs"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--Added date--%>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal runat="server" ID="Literal52" Text="<%$ Resources: AdministrationManagement, HeaderTextDateUpload %>"></asp:Literal>
                        <br />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label runat="server" ID="m_lblDateUpload"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--Executed date--%>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal runat="server" ID="Literal25" Text="<%$ Resources: AdministrationManagement, HeaderTextExecOn %>"></asp:Literal>
                        <br />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label runat="server" ID="m_lblExecOn"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--Edit--%>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Literal runat="server" ID="Literal33" Text="<%$ Resources: Default, HyperLinkEdit %>"></asp:Literal>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:LinkButton runat="server" ID="m_edit_link" Text="<%$ Resources: AdministrationManagement, EditLinkButton %>" CommandName="Edit" CommandArgument="<%# Container.DataItemIndex %>"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </cc1:HitsSearchGridView>
    </asp:Panel>
</asp:Content>
