<%@ Page Language="C#"  MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="PER_PAY_BASIS.aspx.cs" Inherits="HRMS.PER_PAY_BASIS" Title="Cloud HR - Pay Basis" %>
<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">Pay Basis</span>Pay Basis</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="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label"></label>
<div class="col-lg-4">
<asp:HiddenField ID="hid_PAY_BASIS_ID" runat="server"></asp:HiddenField>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">INPUT_VALUE_ID</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_INPUT_VALUE_ID" runat="server" placeholder="INPUT_VALUE_ID" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">RATE_ID</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_RATE_ID" runat="server" placeholder="RATE_ID" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Business Group</label>
<div class="col-lg-4">
<asp:DropDownList ID="ddl_BUSINESS_GROUP_ID" runat="server" CssClass="form-control"></asp:DropDownList><asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_BUSINESS_GROUP_ID" ControlToValidate="ddl_BUSINESS_GROUP_ID" ErrorMessage="Business Group 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">NAME</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_NAME" runat="server" placeholder="NAME" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_NAME" ControlToValidate="txt_NAME" ErrorMessage="NAME 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">PAY_BASIS</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_PAY_BASIS" runat="server" placeholder="PAY_BASIS" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">RATE_BASIS</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_RATE_BASIS" runat="server" placeholder="RATE_BASIS" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">ANNUALIZED_HOURS</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_ANNUALIZED_HOURS" runat="server" placeholder="ANNUALIZED_HOURS" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">PAY_ANNUALIZATION_FACTOR</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_PAY_ANNUALIZATION_FACTOR" runat="server" placeholder="PAY_ANNUALIZATION_FACTOR" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">GRADE_ANNUALIZATION_FACTOR</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_GRADE_ANNUALIZATION_FACTOR" runat="server" placeholder="GRADE_ANNUALIZATION_FACTOR" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Comments</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_COMMENTS" runat="server" placeholder="Comments" CssClass="form-control"></asp:TextBox>
</div>
</div>

<div class"form-group">
<asp:Repeater ID="add_info" runat="server">
<HeaderTemplate> <header class="panel-heading">Additional Information</header><br /></HeaderTemplate>
<ItemTemplate>
<div class="form-group">
<div class="col-lg-1"></div>
<asp:Label ID="r_lbl" runat="server" class="col-lg-2 col-sm-2 control-label" Text='<%# Eval("PROMPT") %>'></asp:Label>
<div class="col-lg-4">
<asp:TextBox ID="txt_r_value" runat="server"  placeholder='<%# Eval("PROMPT") %>' Text='<%# Eval("value") %>' CssClass="form-control"></asp:TextBox>
<asp:HiddenField ID="hid_field_name" runat="server" Value='<%# Eval("col_name") %>' ></asp:HiddenField>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</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>