<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ArchiveData.aspx.cs" Inherits="Neclog_3_0.ArchiveData" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class='divtable'>
        <div class='form-box'>
            <div class="box box-success">
                <div class="box-header with-border">
                    <div class='row'>
                        <div class='col-md-10'>
                            <asp:Label ID="lblTitle" runat="server" class="box-title"></asp:Label>
                        </div>
                        <div class='col-md-1'>
                            <asp:Button ID="btnArchive" runat="server" Text="Archive Data" OnClick="Archive_Data" CssClass="myButton" ToolTip="Archive Data" />
                        </div>
                    </div>
                </div>
                <!-- /.box-header -->
                <!-- form start -->
                <div class="form-horizontal">
                    <div class="box-body">
                        <div class="form-group">
                            <asp:Label ID="Label3" runat="server" Text="Department Name*" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-3">
                                <asp:DropDownList ID="cmbBranchId" OnSelectedIndexChanged="cmbBranchId_SelectedIndexChanged" AutoPostBack="true" runat="server" class="form-control">
                                </asp:DropDownList>
                            </div>
                            <div class="col-sm-5">
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="cmbBranchId"
                                    CssClass="text-alert" ErrorMessage="Department Name field is required." InitialValue="0" />
                            </div>
                        </div>
                        <div class="form-group">
                            <asp:Label ID="Label1" runat="server" Text="Data Archive Date <=" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-3">
                                <asp:TextBox ID="txtArchiveDate" runat="server" MaxLength="20" CssClass="form-control" onKeyUp="scrollDateField(this,event);"
                                                     onFocus="SetDateField(this); searchKeyFocus(this);"
                                                    ToolTip="Format : [ddmmyyyy], [d] or [dd], [ddm] or [ddmm], [ ].&#xa;Keys : Day-[Up/Down], Month-[alt+Up/Down], Year-[shift+Up/Down], Today-[Home]."
                                                    onkeypress="searchKeyPress(event);" Width="98%"></asp:TextBox>
                            </div>
                            <div class='col-md-3'>
                                <asp:PlaceHolder runat="server" ID="dtpArchiveDate"></asp:PlaceHolder>
                            </div>
                        </div>
                        <div class="form-group" align="center">
                                <asp:Image src="~/../Images/ArchiveData.png" runat="server" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
