<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="True" CodeBehind="FND_SIT_SEGMENTS.aspx.cs"
    Inherits="HRMS.FND_SIT_SEGMENTS" Title="Cloud HR - Sit Segment Setup" %>

<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">Sit Segment Setup
                    
                       <div class="pull-right">
                       
                            <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>
                    
                    </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" style="padding-top:10px;">
                                <div class="col-md-5 col-md-offset-1">
                                  <label class="col-md-4 control-label">Sequence No</label>
                                  <div class="col-md-4">
                                        <asp:HiddenField ID="hid_SIT_SEQ_ID" runat="server"></asp:HiddenField>
                                        <asp:HiddenField ID="hid_SIT_ID" runat="server"></asp:HiddenField>
                                       <asp:TextBox ID="txt_SEQ_NO" runat="server"  CssClass="form-control"></asp:TextBox>
                                       <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_SEQ_NO" ControlToValidate="txt_SEQ_NO" ErrorMessage="Sequence No is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>

                                   </div>
                                   </div>

                    </div>



                    <div class="row" style="padding-top:10px;">
                                <div class="col-md-5 col-md-offset-1">
                                  <label class="col-md-4 control-label">Segment</label>
                                  <div class="col-md-8">
                                    <asp:DropDownList ID="ddl_SEGMENT_NAME" runat="server" CssClass="form-control"></asp:DropDownList>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_SEGMENT_NAME" ControlToValidate="ddl_SEGMENT_NAME" ErrorMessage="Segment is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>
                                     
                                   </div>
                                   </div>

                                   <div class="col-md-5">
                                      <label class="col-md-4 control-label">Prompt</label>
                                      <div class="col-md-8">
                                        <asp:TextBox ID="txt_PROMPT" runat="server"  CssClass="form-control"></asp:TextBox>
                                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_PROMPT" ControlToValidate="txt_PROMPT" ErrorMessage="Prompt is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>

                                       </div>
                                    </div>

                    </div>

                    <div class="row" style="padding-top:10px;">
                                <div class="col-md-5 col-md-offset-1">
                                  <label class="col-md-4 control-label">Field Type</label>
                                  <div class="col-md-8">
                                   <asp:DropDownList ID="ddl_FIELD_TYPE" runat="server" CssClass="form-control">
                                  
                                   
                                       <asp:ListItem Value="">---- Select ----</asp:ListItem>
                                       <asp:ListItem Value="T">Textbox</asp:ListItem>
                                       <asp:ListItem Value="D">DropDown</asp:ListItem>
                                  
                                   
                                   </asp:DropDownList>
                                   
                                   </div>
                                   </div>

                                   <div class="col-md-5">
                                      <label class="col-md-4 control-label">Lookup</label>
                                      <div class="col-md-8">
                                        <asp:DropDownList ID="ddl_LOOKUP_TYPE" runat="server" CssClass="form-control"></asp:DropDownList>
                                       </div>
                                    </div>

                    </div>

                    <div class="row" style="padding-top:10px;">
                                <div class="col-md-5 col-md-offset-1">
                                  <label class="col-md-4 control-label">Default Value</label>
                                      <div class="col-md-8">
                                        <asp:TextBox ID="txt_DEFAULT_VALUE" runat="server" CssClass="form-control"></asp:TextBox>
                                       </div>

                                  </div>

                                  <div class="col-md-5 ">
                                  <label class="col-md-4 control-label">Required</label>
                                  <div class="col-md-1">
                                     <asp:CheckBox runat="server" ID ="chk_IS_REQUIRED" CssClass="checkbox" Text=""/>
                                   </div>
                                  <label class="col-md-3 control-label">Read Only </label>
                                   
                                     <div class="col-md-2">
                                         <asp:CheckBox runat="server" ID ="chk_IS_READONLY" CssClass="checkbox" Text=""/>
                                      </div>
                                   </div>


                    </div>

                    
                    <div class="row" style="padding-top:10px;">
                                <div class="col-md-5 col-md-offset-1">
                                  <label class="col-md-4 control-label">Date From</label>
                                  <div class="col-md-6">
                                        <asp:TextBox ID="txt_DATE_FROM" runat="server" CssClass="form-control"></asp:TextBox>
                                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_DATE_FROM" ControlToValidate="txt_DATE_FROM" ErrorMessage="Date From is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>

                                   </div>
                                   </div>

                                   <div class="col-md-5">
                                      <label class="col-md-4 control-label">Date To</label>
                                      <div class="col-md-6">
                                        <asp:TextBox ID="txt_DATE_TO" runat="server"  CssClass="form-control"></asp:TextBox>

                                       </div>
                                    </div>

                    </div>

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