<%@ Page Language="C#" MasterPageFile="~/masterpage/MasterPage.master" AutoEventWireup="true"
    CodeFile="FundReportself.aspx.cs" Inherits="FundReportself" Title="e Gen Service" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="request">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td colspan="12" class="hdr">
                    <a href="FundReportself.aspx" class="active">Fund Report-Self</a><span style="padding-right: 80px;">&nbsp;</span>
                    <span style="padding-left: 100px;">&nbsp;</span><a href="FundReportAgent.aspx">Fund
                        Report Distributor</a>
                </td>
            </tr>
            <tr>
                <td style="height: 20px; text-align: center" colspan="10">
                    <asp:Label ID="lblerror" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="10">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="9%">
                                &nbsp;
                            </td>
                            <td width="7%">
                                From
                            </td>
                            <td width="2%">
                                <strong>:</strong>
                            </td>
                            <td width="32%">
                                <asp:TextBox ID="txt_From" runat="server" Style="width: 180px;"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfv_from" runat="server" ErrorMessage="Please Enter From Date"
                                    ControlToValidate="txt_From" Display="None"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="rfv_from">
                                </cc1:ValidatorCalloutExtender>
                                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txt_From"
                                    PopupPosition="BottomRight">
                                </cc1:CalendarExtender>
                            </td>
                            <td width="4%">
                                To
                            </td>
                            <td width="2%">
                                <strong>:</strong>
                            </td>
                            <td width="44%">
                                <asp:TextBox ID="txt_To" runat="server" Style="width: 180px;"></asp:TextBox>
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                                <asp:RequiredFieldValidator ID="rfv_to" runat="server" ErrorMessage="Please Enter To Date"
                                    ControlToValidate="txt_To" Display="None"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="rfv_to">
                                </cc1:ValidatorCalloutExtender>
                                <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txt_To"
                                    PopupPosition="BottomRight">
                                </cc1:CalendarExtender>
                                <asp:Button ID="btn_submit" runat="server" Text="Submit" class="button" OnClick="btn_submit_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="5" style="height:20px"></td>
            </tr>
            <tr>
                <td colspan="10" style="height: 20px">
                    <asp:Button ID="btn_download" runat="server" Text="Download Report" 
                        Style="margin: 0 0 0 75px" onclick="btn_download_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="5" style="height:20px"></td>
            </tr>
            <tr>
                <td colspan="10">
                   <asp:GridView ID="GVGetBalReqDetail" runat="server" AutoGenerateColumns="false" Width="100%" GridLines="None" 
                      HorizontalAlign="Center">
                    <HeaderStyle BackColor="#dddee0" Font-Bold="True" ForeColor="Black" />
                     <Columns>
                        <asp:TemplateField HeaderText="SL.">
                           <ItemTemplate>
                               <%# Container.DataItemIndex+1 %>
                           </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="Request Date" DataField="DEPOSITDATETIME" />
                        <asp:BoundField HeaderText="TXN. ID" DataField="TRANSACTIONID" />
                        <asp:BoundField HeaderText="Amount" DataField="AMOUNT" />
                        <asp:BoundField HeaderText="Bank Name" DataField="BANKNAME" />
                        <asp:BoundField HeaderText="Payment Mode" DataField="MODEOFPAYMENT" />
                        <asp:BoundField HeaderText="Chq/DD/bank Id" DataField="BankTranID" />
                        <asp:BoundField HeaderText="Status" DataField="STATUS" />
                        <asp:BoundField HeaderText="Responce Date" DataField="APPROVALDATE" />
                        <asp:BoundField HeaderText="Remark" DataField="REMARKS" />
                     </Columns>
                   </asp:GridView>
                
                </td>
            </tr>
           
            
            <tr>
                <td colspan="10" style="height: 30px">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
