<%@ Page Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true"
    CodeFile="RestorationCPSFiles.aspx.cs" Inherits="Business_AutomaticClaims" %>

<%@ Register Src="../UserControls/DatePicker.ascx" TagName="DatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    d<table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
        <tr align="center">
            <td valign="top">
                <!------------------------------------body St  ---------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                    <tr>
                        <td>
                            Restoration of CPS Files
                        </td>
                    </tr>
                </table>
                <br>
                <!------------------------------------body End1 ----------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                    <tr>
                        <td align="center">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Frow">
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label>
                            <asp:Panel ID="pnlBR" runat="server" Width="100%">
                               
                                <table border="1" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                    <tr>
                                        <td class="tdNormal" style="width: 20%">
                                            From Date
                                        </td>
                                        <td>
                                            <uc1:DatePicker ID="DatePickerFrom" runat="server" width="250" />
                                        </td>
                                        <td class="tdNormal" style="width: 20%">
                                            To Date
                                        </td>
                                        <td>
                                            <uc1:DatePicker ID="DatePickerTo" runat="server" width="250" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal">
                                        </td>
                                        <td>
                                            <asp:Button ID="Button1" runat="server" CssClass="Btn_L_Normal" OnClick="Button1_Click"
                                                Text="Search CPS" />
                                        </td>
                                        <td class="tdNormal">
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <br />
                               <fieldset id="addItem">
                                    <legend id="addItem">Re-Generating CPS</legend>
                                </fieldset>
                             
                                <table border="0" width="95%" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                        </td>
                                        <td class="tdNormal" style="width: 85%">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            CPS Files
                                        </td>
                                        <td class="tdNormal" style="width: 85%">
                                            <asp:DropDownList ID="ddlCPSPFiles" runat="server" DataTextField="file_name"
                                            Width="250px" DataValueField="file_name" class="fieldNormal">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                     <% if (ddlCPSPFiles.Items.Count > 0)
                                        { %>
                                    <tr>
                                   
                                        <td class="tdNormal" style="width: 15%">
                                        </td>
                                        <td class="tdNormal" style="width: 85%">
                                            <asp:Button ID="btnGenerate0" runat="server" class="Btn_L_Normal1" OnClick="btnGenerate_Click"
                                                Text="   Generate CPS  " />&nbsp;
                                            <asp:Button ID="btnDownload" runat="server" class="Btn_L_Normal1" OnClick="btnDownload_Click"
                                                Text="   Download CPS  " />&nbsp;
                                            <asp:Button ID="btnGeneratemd5" runat="server" class="Btn_L_Normal1" OnClick="btnGeneratemd5_Click"
                                                Text="   Generate MD5" />&nbsp;
                                        </td>
                                    </tr>
                                     <% } %>
                                </table>
                                <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <!------------------------------------body End2 ----------------------------------------------->
                            <br>
                        </td>
                    </tr>
                </table>
                <!------------------------------------body End2 ----------------------------------------------->
            </td>
        </tr>
    </table>
</asp:Content>
