<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="MapPrinting.aspx.cs" Inherits="VMT.MapPrinting" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphJavaScriptContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitleContentPlaceHolder" runat="server">
     <div id="CssPageTitle">
        <h1>
            Map Printing
        </h1>
    </div>
    <div id="SubPageTitle">
        <!-- OPTIONAL SUB PAGE TITLE -->
     
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphMainContentPlaceHolder" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
 <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
             <div id="loaderdiv">
                    <asp:updateprogress id="UpdateProgress1" runat="server" associatedupdatepanelid="UpdatePanel2" dynamiclayout="true">
                        <progresstemplate>

                           <img src="resource_gallery/graphics/loader.gif" class="ajax-loader">

                        </progresstemplate>
                    </asp:updateprogress>

                    </div>          
    <%--<div style="text-align:right;"><a href="default.aspx">Home</a> <strong>&#8249;&#8249;</strong> <a href="CurrentYTD.aspx">Current</a> <strong>&#8249;&#8249;</strong> </div>--%>
    <div style="text-align:left; width: 100%;">
                            <fieldset class="masterform">
                                <legend>Select Business Unit and Year</legend>
                                <div style=" width: 100%; height:60px; ">
                                    
                                    <table class="auto-style2">
                                        <tr>
                                            <td style="width: 20%">Business Unit</td>
                                            <td style="width: 20%">Cycle Year</td>
                                            <td style="width: 20%">Option</td>
                                             
                                        </tr>
                                        <tr>
                                            <td style="width: 20%">
                                                <asp:DropDownList ID="ddlBunit" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlBunit_SelectedIndexChanged" OnDataBound="ddlBunit_DataBound">
                                                </asp:DropDownList>
                                            </td>
                                            
                                            <td style="width: 20%">
                                                <asp:DropDownList ID="ddlCycleYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCycleYear_SelectedIndexChanged" OnDataBound="ddlCycleYear_DataBound">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 20%">
                                                <asp:DropDownList ID="ddlOption" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlOption_SelectedIndexChanged" OnDataBound="ddlOption_DataBound">                                   
                                                    <asp:ListItem Text="- Select -" Selected="True" Value="- Select -"></asp:ListItem>
                                                    <asp:ListItem Text="Section/WA" Value="WorkAreaID"></asp:ListItem>
                                                    <asp:ListItem Text="Project/Event" Value="EvnetCodeID" ></asp:ListItem>    
                                                </asp:DropDownList>
                                            </td>
                                           <%-- <td>

                                            </td>--%>
                                        </tr>
                                    </table>
                                    
                                </div><br />
                               
                        <div style=" width: 100%; height:240px; overflow-y: scroll; ">
                            <asp:GridView ID="gdvMapPrinting" runat="server" AllowSorting="True" AutoGenerateColumns="true" BorderColor="#014567" Width="100%"
                                emptydatatext="No data in the data source."  OnSorting="gdvMapPrinting_Sorting" >
                                <AlternatingRowStyle BackColor="#E9EFF2" />
                            </asp:GridView>
                        </div>
                                <br />
                                <asp:Button ID="btnExportExcel" runat="server" CssClass="FormButton" OnClick="btnExportExcel_Click" Text="Export To Excel" />
                         
                         </fieldset></div>
</ContentTemplate>
            </asp:UpdatePanel>
</asp:Content>

