<%@ Page Title="" Language="C#" MasterPageFile="~/masterpages/eDashboard.master"
    AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebSite.site.Administrative.OnlineClaimsConfig.site_Administrative_OnlineClaimsConfig_Default" %>
    <%@ Register Src="~/Controls/ScriptingHelper.ascx" TagName="ScriptingHelper" TagPrefix="uc" %>
<%@ Register Src="~/Controls/DefaultHeader.ascx" TagName="DefaultHeader" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="server">
    <script src="../../../script/eSetFormControls.js" type="text/javascript"></script>
    <uc:ScriptingHelper ID="ScriptingHelper1" runat="server" />
    <div class="mastersearch">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td align="left"><h1>
                    <asp:Label ID="lblOnlineClaimsConfiguration" runat="server" Font-Bold="False" Text="<%$ Resources:Default, LabelOnlineClaimsTitle %>"></asp:Label>
                </h1></td>
            </tr>
        </table>
    </div>
    <div style="background-color: #DBDCDE">
        <table border="0" cellpadding="0" cellspacing="0" class="gvTable" width="100%">
            <tr>
                <td style="text-align: center">
                    &nbsp;<asp:Label ID="Label2"  runat="server" Text="Program Search:"></asp:Label>
                </td>
                <td class="style4">
                    <asp:TextBox ID="txtSearch" runat="server"></asp:TextBox>
                </td>
                <td class="style9">
                    &nbsp;
                </td>
                <td>
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="lblFilterBy" runat="server" Text="Filter By:"></asp:Label>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                <asp:RadioButtonList ID="rdbFilterBy" runat="server" RepeatDirection="Horizontal"
                                    Width="263px">
                                    <asp:ListItem>Client Name</asp:ListItem>
                                    <asp:ListItem Selected="True">Program Name</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                            <td>
                                <asp:Button ID="btnFilter" runat="server" Text="Search" 
                                    OnClick="btnFilter_Click" height="27px" />
                            </td>
                        </tr>
                    </table>
                </td>
                <td align="right">
                    <asp:Button ID="btnAddNewProgram" runat="server" Height="27px" Text="Add New Program" Width="148px"
                        OnClick="btnAddNewProgram_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:Panel runat="server" ID="pnlBlank">
        <table>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="m_pnlSearchResults" runat="server" Visible="false">
        <h2>
            <asp:Label ID="m_litSearchResultsHeader" Font-Bold="False" runat="server" Text="<%$ Resources: Default, LabelSearchResults %>" />
        </h2><br />
    </asp:Panel>
      <asp:Panel ID="m_pnlGridPrograms" runat="server" Visible="true">
       <asp:GridView class="gvTable cs-table-border-fix" ID="m_grdPrograms" runat="server"  DataKeyNames="ProgramId" 
            Width="100%" OnRowDataBound="grdPrograms_RowDataBound" 
              AutoGenerateColumns="False"  >
            <Columns>
                <asp:TemplateField ItemStyle-Width = "12%" ItemStyle-Height = "25px" >
                    <headertemplate>
                                <asp:Literal runat="server" ID="m_litProgramNameColumnHeader" Text="<%$ Resources: OnlineClaims, HeaderTextProgramName %>"></asp:Literal>
                                <br />                             
                    </headertemplate>
                    <itemtemplate>     
                    <asp:HyperLink ID="m_hlkProgramName" runat="server" ></asp:HyperLink>                            
                    </itemtemplate>
                    <ItemStyle Height="25px" Width="12%" />
                </asp:TemplateField>
                <asp:TemplateField ItemStyle-Width = "12%" ItemStyle-Height = "25px">
                    <headertemplate>
                                <asp:Literal runat="server" ID="m_litProgramDescriptionColumnHeader" Text="<%$ Resources: OnlineClaims, HeaderTextProgramDescription %>"></asp:Literal>
                                <br />                            
                    </headertemplate>
                    <itemtemplate>
                                <asp:Label ID = "m_lblDescription" runat = "server" Text='<%# Eval("Description") %>' ></asp:Label>
                    </itemtemplate>
                    <ItemStyle Height="25px" Width="12%" />
                </asp:TemplateField>
                <asp:TemplateField ItemStyle-Width = "12%" ItemStyle-Height = "25px" >
                    <headertemplate>
                                <asp:Literal runat="server" ID="m_litGlobalColumnHeader" Text="<%$ Resources: OnlineClaims, HeaderTextGlobalProgram %>"></asp:Literal>
                                <br />                              
                    </headertemplate>
                    <itemtemplate>
                    <table width="100%"><tr><td align="center"> <asp:CheckBox ID = "m_lblGlobal" runat = "server" Enabled="false" Checked='<%# Eval("IsGlobal") %>' /> </td></tr></table>
                              
                    </itemtemplate>
                    <ItemStyle Height="25px" Width="12%" />
                </asp:TemplateField>
                <asp:TemplateField ItemStyle-Width = "16%" ItemStyle-Height = "25px">
                    <headertemplate>
                                <asp:Literal runat="server" ID="m_litActiveProgramColumnHeader" Text="<%$ Resources: OnlineClaims, HeaderTextActiveProgram %>"></asp:Literal>
                                <br />                             
                    </headertemplate>
                    <itemtemplate>       <table width="100%"><tr><td align="center">  <asp:CheckBox ID = "m_lblActive" runat = "server" Enabled="false" Checked='<%# Eval("Active") %>'  /></td></tr></table>
                              
                    </itemtemplate>
                    <ItemStyle Height="25px" Width="16%" />
                </asp:TemplateField>               
               
            </Columns>          
            <RowStyle HorizontalAlign="Left" VerticalAlign="Top" />
            <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
            <EmptyDataTemplate>No products were found.</EmptyDataTemplate>
   </asp:GridView>
        <br />
    </asp:Panel>
</asp:Content>
