<%@ Page Title="Cloud HR - Flex Field" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="FlexFieldDetail.aspx.cs" Inherits="HRMS.FlexFieldDetail" %>
<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">Flex Field Detail</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="form-group">
                                  <div class="col-lg-1"></div>
                                     <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Column</label>
                                      <div class="col-lg-4">
                                      <asp:HiddenField ID="hidSatCId" runat="server"></asp:HiddenField>
                                      <asp:HiddenField ID="hidSatId" runat="server"></asp:HiddenField>
                                      <asp:HiddenField ID="hid_tname" runat="server"></asp:HiddenField>
                                        <asp:DropDownList ID="ddl_cname" runat="server" CssClass="form-control"></asp:DropDownList>
                                          <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_cname" ControlToValidate="ddl_cname" ErrorMessage="Column 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">Prompt</label>
                                      <div class="col-lg-4">
                                      <asp:TextBox ID="txtPrompt" runat="server" placeholder="Prompt" MaxLength="200" CssClass="form-control"></asp:TextBox>
                                      <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txtPrompt" ControlToValidate="txtPrompt" ErrorMessage="Prompt 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">Length</label>
                                      <div class="col-lg-4">
                                      <asp:TextBox ID="txtLength" runat="server" placeholder="Length" MaxLength="200" CssClass="form-control"></asp:TextBox>
                                      <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txtLength" ControlToValidate="txtLength" ErrorMessage="Length 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">Sequence</label>
                                      <div class="col-lg-4">
                                      <asp:TextBox ID="txtSequence" runat="server" placeholder="Sequence" MaxLength="200" CssClass="form-control"></asp:TextBox>
                                       <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txtSequence" ControlToValidate="txtSequence" ErrorMessage="Sequence 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">Description</label>
                                      <div class="col-lg-4">
                                      <asp:TextBox ID="txtdesc" runat="server" placeholder="Description" MaxLength="200" 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">Date From</label>
                                      <div class="col-lg-4">
                                      <asp:TextBox ID="Txtfdate" runat="server" placeholder="Date From" MaxLength="10" 
                                              CssClass="form-control"></asp:TextBox>
                                       <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_Txtfdate" ControlToValidate="Txtfdate" 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="Txttdate" runat="server" placeholder="Date To" MaxLength="10" CssClass="form-control"></asp:TextBox>
                                      </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">Back</a>
                                          
                                      </div>
                                  </div>
                    
                            
                         </div>
               </section>
            </div>
        </div>
    </asp:Panel>
</asp:Content>
