<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="True" CodeBehind="HR_CALC_ELIGIBIILTY_DTL.aspx.cs"
    Inherits="HRMS.HR_CALC_ELIGIBIILTY_DTL" Title="Cloud HR - Element Calculation Formula" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading" style="padding-bottom:30px">
                           <span class="label label-primary"> Element Calculation Formula</span>

                    </header>
                        <div class="panel-body">
                                <div class="span6">
                                    <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                        <i class="icon-check-sign"></i>
                                        <asp:Label ID="lblMessage" class="msg" runat="server" Text="" ></asp:Label>
                                    </div>
                                    <div class="span6">
                                        <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                                            <i class="icon-check-sign"></i>
                                             <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
                                        </div>
                                    </div>
                                </div>
                               <div class="row">
                                     <div class="col-md-11 col-md-offset-1">
                                       <div class="row">
                                            <div class="col-md-6">
                                               <label class="control-label col-md-4">Element Name</label>
                                               <div class="col-md-8">
                                                <asp:HiddenField ID="hid_BUSINESS_GROUP_ID" runat="server"></asp:HiddenField>
                                                <asp:HiddenField ID="hid_ELEMENT_LINK_ID" runat="server"></asp:HiddenField>
                                                <asp:HiddenField ID="hid_ELEMENT_TYPE_ID" runat="server"></asp:HiddenField>
                                                 <asp:TextBox ID="txt_element_name" CssClass="form-control" Enabled="false" runat="server"></asp:TextBox>
                                               </div>
                                             </div>
                                            <div class="col-md-6">
                                               <label class="control-label col-md-4">Reporting Name</label>
                                               <div class="col-md-8">
                                                  <asp:TextBox ID="txt_rpt_name" CssClass="form-control" Enabled="false" runat="server"></asp:TextBox>
                                               </div>
                                             </div>
                                         </div>
                                     </div>
                                </div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Calculation Column</label>
<div class="col-lg-4">
<asp:DropDownList ID="ddl_CALC_ELEMENT_TYPE_ID" runat="server" CssClass="form-control"></asp:DropDownList>

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_CALC_ELEMENT_TYPE_ID" ControlToValidate="ddl_CALC_ELEMENT_TYPE_ID" ErrorMessage="Calculation Column is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Calculation Value</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_CALCULATION_VALUE" runat="server" placeholder="Calculation Value" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_CALCULATION_VALUE" ControlToValidate="txt_CALCULATION_VALUE" ErrorMessage="Calculation Value is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Date From</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_EFFECTIVE_START_DATE" runat="server" placeholder="Date From" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_EFFECTIVE_START_DATE" ControlToValidate="txt_EFFECTIVE_START_DATE" ErrorMessage="Date From is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Date To</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_EFFECTIVE_END_DATE" runat="server" placeholder="Date To" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_EFFECTIVE_END_DATE" ControlToValidate="txt_EFFECTIVE_END_DATE" ErrorMessage="Date To is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
</div>
</div>


<div class="form-group">
<div class="col-lg-1"></div>
<div class="col-lg-offset-2 col-lg-8">
<asp:Button ID="btnSave" class="btn btn-info" runat="server" Text="Save"  onclick="btnSave_Click" ValidationGroup="save" ></asp:Button>
<a href="#" id="aCancel" runat="server" class="btn btn-info">Cancel</a>
</div>
</div>

                        </div>
                </section>
            </div>
        </div>
    </asp:Panel>
</asp:Content>
