<%@ Page Title="" Language="C#" MasterPageFile="~/eosWinkartWeb/eosWinkartWeb.Master"
    AutoEventWireup="true" CodeBehind="CustomReport.aspx.cs" Inherits="WebKart.eosWinkartWeb.CustomReport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <script src="../Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
     <script type="text/javascript">
         $(document).ready(function () {
             $("#<%=btnPdfOutPut.ClientID%>").click(function () {
                 $("#<%=lblError.ClientID%>").text("");
             });

             $("#<%=btnExcelOutPut.ClientID%>").click(function () {
                 $("#<%=lblError.ClientID%>").text("");
             });
         });
      
     </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%">
        <tr>
            <td colspan="4" class="RightTD">
               گزارش سفارشی
            </td>
        </tr>

        <tr>
            <td class="RightTD" style="width: 500px">
                <asp:DropDownList ID="ddlPeriod" runat="server" DataTextField="PERIOD" DataValueField="PERIOD"
                    Width="100px">
                </asp:DropDownList>
            </td>
            <td class="LeftTD" style="width: 90px">
                انتخاب دوره:
            </td>
            <td class="RightTD" style="width: 146px">
                <asp:DropDownList ID="ddlYears" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlYears_SelectedIndexChanged"
                    Width="100px">
                </asp:DropDownList>
            </td>
            <td class="LeftTD">
                انتخاب سال:
            </td>
        </tr>
        <tr>
            <td class="RightTD" colspan="3">
                <asp:DropDownList ID="ddlSections" runat="server" SkinID="ddlYellow" Width="200px">
                </asp:DropDownList>
                &nbsp;<asp:Button ID="btnPdfOutPut" runat="server" Text="خروجی Pdf" SkinID="btnOrange"
                    OnClick="btnPdfOutPut_Click" />
                <asp:Button ID="btnExcelOutPut" runat="server" Text="خروجی Excel" 
                    SkinID="btnOrange" onclick="btnExcelOutPut_Click"  />
            </td>
            <td class="LeftTD" style="width: 250px">
                قسمت کاری:
            </td>
        </tr>
        <tr>
        <td colspan="4" class="RightTD" style="right:200px;">
         <asp:Label ID="lblError" runat="server" Text="" SkinID="LblError"></asp:Label>
        </td>
        </tr>
    </table>
</asp:Content>
