<%@ Page Language="C#"  MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="PER_ALL_PEOPLE.aspx.cs" Inherits="HRMS.PER_ALL_PEOPLE" Title="Cloud HR - People Setup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<script type="text/javascript">

    function calc_age() {
       
    }
</script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Choose an option:</h4>
      </div>
      <div class="modal-body">
        
        <div class="row">
           <div class="col-md-4">
               <asp:Button ID="btn_update" class="btn btn-info btn-block" runat="server" Text="Update"  ValidationGroup="save" OnClick="btn_update_Click"></asp:Button>
           </div>
           <label class="control-label">Keep history of existing information</label>
        </div>
        <br />
         <div class="row">
           <div class="col-md-4">
               <asp:Button ID="btn_correct" class="btn btn-info btn-block" runat="server" Text="Correction"  onclick="btnSave_Click" ValidationGroup="save" ></asp:Button>
           </div>
           <label class="control-label">Correct existing information</label>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
      </div>
    </div>

  </div>
</div>


<div id="myModal_pic" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
 <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Choose an Picture:</h4>
      </div>
      <div class="modal-body">
      <div class="row">
      <div class="col-md-offset-1"></div>
      <div class="col-md-3">
         <label class="control-label">Choose a Picture</label>
      </div>
      <div class="col-md-8">
          <asp:FileUpload ID="FileUpload1" runat="server" />
      </div>
      </div>
      <div class="row">
            <div class="col-md-3">
                <asp:Label ID="Label1" Text="File Name" runat="server" />
            </div> 
            <div class="col-md-4">
                <asp:TextBox ID="txt_filename" CssClass="form-control" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator_txt_filename" ErrorMessage="File Name is required" ControlToValidate="txt_filename" SetFocusOnError="true" ValidationGroup="save_img" runat="server" />
            </div>    
          </div>
      </div>

<div class="modal-footer">
    <asp:Button ID="btnSave_pic" Text="Save" CssClass="btn btn-info" ValidationGroup="save_img" runat="server" 
        onclick="btnSave_pic_Click" />
        <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
        <hr />
    <asp:Repeater ID="rept" runat="server" >
        <ItemTemplate>
            <asp:HiddenField ID="hid_id" runat="server" Value='<%# Eval("att_id") %>' />
             <div class="col-md-2">
            <img src="<%#Eval("att_physical_file_path")%>" height="100" width="100" alt="" />
           <asp:LinkButton ID="btn_img_update" runat="server" CausesValidation="false" OnClick="btn_img_update_Click"><i class="fa fa-check" style="font-size:20px !important;"></i></asp:LinkButton>
            <asp:LinkButton ID="btn_img_dlt" runat="server" CausesValidation="false" OnClick="btn_img_dlt_Click"><i class="fa fa-trash" style="font-size:20px !important;"></i></asp:LinkButton>
      <%--  <asp:Button ID="btn_img_update" Text="Update" runat="server" OnClick="btn_img_update_Click" /> --%>
        </div>      
        </ItemTemplate>
    </asp:Repeater>
      </div>

</div>
</div>
</div>
<asp:Panel ID="main_pnl" runat="server">
    <div class="row">
        <div class="col-md-12">
            <section class="panel">
                <div class="panel-body">
                            <header class="panel-heading">People Setup 

                              <div class=" pull-right">
                                  
                                    <a data-toggle="modal" data-target="#myModal" id="btn_modal_popup" runat="server" class="btn btn-info">Save</a>
                                   <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>
                
                            </header>

    <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="panel-body">
    <div class="row">
           <div class="col-md-9">
            <div class="row">
                <div class="col-md-6">
                  <div class="row">
                   <label class="control-label col-md-4">Business Group</label>
                    <div class="col-md-8">
                      <asp:DropDownList ID="ddl_BUSINESS_GROUP_ID" runat="server" CssClass="form-control select2"></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>
                </div>
            <div class="row">
              <div class="col-md-6">
               <div class="row">
                 
                   <label class="control-label col-md-4">Title</label>
                 
                  <div class="col-md-8 col-md-8">
                       <asp:DropDownList ID="ddl_TITLE" runat ="server" CssClass="form-control select2"></asp:DropDownList>
                       <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_TITLE" ControlToValidate="ddl_TITLE" ErrorMessage="Title is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                  </div>
                  </div>
              </div>

              <div class="col-md-6">
                  <div class="row">
                     
                       <label class="control-label col-md-4">Type</label>
                     
                     <div class="col-md-8 col-md-8">
                     <asp:DropDownList ID="ddl_PERSON_TYPE_ID" runat="server" 
                         CssClass="form-control select2" AutoPostBack="True" 
                         onselectedindexchanged="ddl_PERSON_TYPE_ID_SelectedIndexChanged"></asp:DropDownList>
                     <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_PERSON_TYPE_ID" ControlToValidate="ddl_PERSON_TYPE_ID" ErrorMessage="Person Type is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>
                 </div>
               </div>
              </div>
            
            </div>
            <div class="row">
             <div class="col-md-6">
                <div class="row">
                    
                        <label class="control-label col-md-4">First Name</label>   
                      
                      <div class="col-md-8 col-md-8">
                        <asp:TextBox ID="txt_FIRST_NAME" runat="server" CssClass="form-control"></asp:TextBox>
                  
                      </div>
                    </div>
             </div>
             <div class="col-md-6">
              <asp:Panel ID="pnl_emp" runat="server">
                 <div class="row">
                  
                   <label class="control-label col-md-4">Employee No.</label>
                 
                  <div class="col-md-8 col-md-8">
                    <asp:HiddenField ID="hid_PERSON_ID" runat="server"></asp:HiddenField>
                     <asp:TextBox ID="txt_EMPLOYEE_NUMBER" runat="server" CssClass="form-control"></asp:TextBox>
                     <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_EMPLOYEE_NUMBER" ControlToValidate="txt_EMPLOYEE_NUMBER" ErrorMessage="Employee Number is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
            
                  </div>
               </div>
              </asp:Panel>

              <asp:Panel ID="pnl_app" runat="server" Visible="false">
                  <div class="row">
                   
                     <label class="control-label  col-md-4">Applicant No.</label>
                  
                    <div class="col-md-8 col-md-8">
                      <asp:TextBox ID="txt_APPLICANT_NUMBER" runat="server" CssClass="form-control"></asp:TextBox>
                    </div> 
                  </div>
              </asp:Panel>
            </div>
            
            </div>
            <div class="row">
               <div class="col-md-6">
                  <div class="row">
                     
                        <label class="control-label col-md-4">Mid. Name</label>
                    
                      <div class="col-md-8 col-md-8">
                         <asp:TextBox ID="txt_MIDDLE_NAMES" runat="server" CssClass="form-control"></asp:TextBox>
                      </div>
                   </div>
               </div>
               <div class="col-md-6">
                 <div class="row">
                   
                       <label class="control-label col-md-4">Gender</label>
                  
                    <div class="col-md-8 col-md-8">
                        <asp:DropDownList ID="ddl_gender" runat ="server" CssClass="form-control">
                            <asp:ListItem Value="">---- Select ----</asp:ListItem>
                            <asp:ListItem Value="M">Male</asp:ListItem>
                            <asp:ListItem Value="F">Female</asp:ListItem>
                        </asp:DropDownList>
                      <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_gender" ControlToValidate="ddl_gender" ErrorMessage="Gender is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>
                 
                    </div>
                  </div>
               </div>
               

            </div>
            <div class="row">
               <div class="col-md-6">
                 <div class="row">
                    
                       <label class="control-label col-md-4">Last Name</label>
                    
                      <div class="col-md-8 col-md-8">
                       <asp:TextBox ID="txt_LAST_NAME" runat="server" CssClass="form-control"></asp:TextBox>
                      </div>
                  </div>
               </div>
               <div class="col-md-6">
                <div class="row">
                 
                      <label class="control-label col-md-4">Identifier No.</label>
                
                    
                   <div class="col-md-8 col-md-8">
                   <asp:TextBox ID="txt_NATIONAL_IDENTIFIER" runat="server"  CssClass="form-control"></asp:TextBox>
                   </div>
                 </div>
               </div>
            </div>


         </div>
         <div class="col-md-3 col-md-3 col-md-3" >
           <img id="img_profile" class="task-thumb img-round" runat="server" alt="">
          
        </div>

        
    </div>
  </div>
    <ul class="nav nav-tabs">
      <li class="active"><a data-toggle="tab" href="#Personal">Personal</a></li>
      <li><a data-toggle="tab" href="#emp_ofce_dtl">Office Details</a></li>
      <li><a data-toggle="tab" href="#applicant">Applicant</a></li>
      <li><a data-toggle="tab" href="#emp_background">Background</a></li>
      <li><a data-toggle="tab" href="#emp_rehire">Rehire</a></li>
      <li><a data-toggle="tab" href="#emp_furthername">Further Name</a></li>
      <li><a data-toggle="tab" href="#emp_medical">Medical</a></li>
      <li><a data-toggle="tab" href="#emp_benifit">Benefits</a></li>
    
    </ul>

    <div class="tab-content">
         <div id="Personal" class="tab-pane fade in active">
           <br />
           <br />

          <div class="row">
                <div class="col-md-5 col-md-offset-1">
                    <div class="row">
                        <label  class="control-label col-md-4">Date Of Birth</label>
                        <div class="col-md-4 col-md-4">
                            <asp:textbox id="txt_DATE_OF_BIRTH" runat="server" cssclass="form-control datetime" onblur="calc_age();"></asp:textbox>
                            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="txt_DATE_OF_BIRTH" ErrorMessage="Date is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                </div>
                <div class="col-md-5 ">
                    <div class="row">
                            <label  class="control-label col-md-4">Age</label>
                        <div class="col-md-2 col-md-2">
                            <asp:textbox id="txt_age" runat="server" cssclass="form-control" enabled="false"></asp:textbox>
                        </div>
                    </div>
                </div>
            </div>
          <div class="row">
                <div class="col-md-5 col-md-offset-1">
                    <div class="row">
                            <label class="control-label col-md-4">Town Of Birth</label>
                        <div class="col-md-6 col-md-6">
                            <asp:textbox id="txt_TOWN_OF_BIRTH" runat="server" cssclass="form-control"></asp:textbox>
                        </div>
                    </div>
                </div>
                <div class="col-md-5 ">
                    <div class="row">
                            <label class="control-label col-md-4">Status</label>
                        <div class="col-md-6 col-md-6">
                            <asp:dropdownlist id="ddl_MARITAL_STATUS" runat="server" cssclass="form-control"></asp:dropdownlist>
                        </div>
                    </div>
                </div>
            </div>
          <div class="row">
            <div class="col-md-5 col-md-offset-1">
                <div class="row">
                        <label  class="control-label col-md-4">Region Of Birth</label>
                    <div class="col-md-6 col-md-6">
                        <asp:textbox id="txt_REGION_OF_BIRTH" runat="server" cssclass="form-control"></asp:textbox>
                    </div>
                </div>
            </div>
            <div class="col-md-5 ">
                <div class="row">
                        <label class="control-label col-md-4">Nationality</label>
                    <div class="col-md-6 col-md-6">
                        <asp:dropdownlist id="ddl_NATIONALITY" runat="server" cssclass="form-control"></asp:dropdownlist>
                    </div>
                </div>
            </div>
        </div>
          <div class="row">
            <div class="col-md-5 col-md-offset-1">
                <div class="row">
                        <label  class="control-label col-md-4">Country Of Birth</label>
                    <div class="col-md-6 col-md-6">
                        <asp:textbox id="txt_COUNTRY_OF_BIRTH" runat="server" cssclass="form-control"></asp:textbox>
                    </div>
                </div>
            </div>
            <div class="col-md-5 ">
                <div class="row">
                        <label class="control-label col-md-4">Regisrted Disable</label>
                    <div class="col-md-6 col-md-6">
                        <asp:textbox id="txt_REGISTERED_DISABLED_FLAG" runat="server" cssclass="form-control"></asp:textbox>
                    </div>
                </div>
            </div>
        </div>
           
           <hr  /> 

        </div>
         
         <div id="emp_ofce_dtl" class="tab-pane fade">
                 <br />
                 <br />

               <div class="row">
                  <div class="col-md-10 col-md-offset-1">
                      <label  class="control-label col-md-2">Office</label>
                     <div class="col-md-2">
                      <asp:TextBox ID="txt_OFFICE_NUMBER" runat="server"  CssClass="form-control"></asp:TextBox>
                     </div>
                      <label  class="control-label col-md-3">Email</label>
                      <div class="col-md-4">
                         <asp:TextBox ID="txt_EMAIL_ADDRESS" runat="server"  CssClass="form-control"></asp:TextBox>
                     </div>                
                 
                  </div>
                  
               </div>
               <div class="row" >
                  <div class="col-md-10 col-md-offset-1">
                      <label  class="control-label col-md-2">Mailstop</label>
                     <div class="col-md-3">
                      <asp:TextBox ID="txt_MAILSTOP" runat="server"  CssClass="form-control"></asp:TextBox>
                     </div>
                  </div>
               </div>
               <div class="row">
                  <div class="col-md-10 col-md-offset-1">
                      <label  class="control-label col-md-2">Location</label>
                     <div class="col-md-9">
                      <asp:TextBox ID="txt_INTERNAL_LOCATION" runat="server"  CssClass="form-control"></asp:TextBox>
                     </div>
                  </div>
               </div>
             

               <hr  /> 
         </div>
         <div id="applicant" class="tab-pane fade">
                <br />

            <div class="row">
                <div class="col-md-8 col-md-offset-2">
                   <h5><i class="fa fa-file-pdf-o" aria-hidden="true"></i> Resume Information</h5>
                   <hr style="margin-bottom:5px !important;"/>
                       <div class="row">
                            <label class="control-label col-md-4">Exist</label>
                            <div class="col-md-3">
                              <asp:CheckBox ID="chk_RESUME_EXISTS" runat="server" CssClass="checkbox"></asp:CheckBox>
                            </div>
                       </div>
                       <div class="row">
                            <label class="control-label col-md-4">Last Updated</label>
                            <div class="col-md-3">
                               <asp:TextBox ID="txt_RESUME_LAST_UPDATED" runat="server"  CssClass="form-control"></asp:TextBox>
                            </div>
                       </div>
                       <div class="row">
                            <label class="control-label col-md-4">Hold Application Until</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_HOLD_APPLICANT_DATE_UNTIL" runat="server"  CssClass="form-control"></asp:TextBox>
                            </div>
                       </div>

                </div>
            </div>
             <hr />
         </div>
         <div id="emp_background" class="tab-pane fade">
                <br />

                    <div class="row">
                        <div class="col-md-8 col-md-offset-1">
                               <div class="row">
                                    <label class="control-label col-md-4">Background Checked</label>
                                    <div class="col-md-3">
                                      <asp:CheckBox ID="chk_BACKGROUND_CHECK_STATUS" runat="server" CssClass="checkbox"></asp:CheckBox>
                                    </div>
                               </div>
                               <div class="row">
                                    <label class="control-label col-md-4">Date Checked</label>
                                    <div class="col-md-3">
                                     <asp:TextBox ID="txt_BACKGROUND_DATE_CHECK" runat="server"  CssClass="form-control datetime"></asp:TextBox>

                                    </div>
                               </div>

                        </div>
                    </div>
             <hr />
         </div>
         <div id="emp_rehire" class="tab-pane fade">
                <br />

                    <div class="row">
                        <div class="col-md-8 col-md-offset-1">
                               <div class="row">
                                    <label class="control-label col-md-4">Recommendation</label>
                                    <div class="col-md-3">
                                      <asp:CheckBox ID="chk_REHIRE_RECOMMENDATION" runat="server" CssClass="checkbox"></asp:CheckBox>
                                    </div>
                               </div>
                               <div class="row">
                                    <label class="control-label col-md-4">Reason</label>
                                    <div class="col-md-8">
                                     <asp:TextBox ID="txt_REHIRE_REASON" runat="server" CssClass="form-control"></asp:TextBox>

                                    </div>
                               </div>

                        </div>
                    </div>
             <hr />
         </div>
         <div id="emp_furthername" class="tab-pane fade">
                <br />

                    <div class="row">
                        <div class="col-md-8 col-md-offset-1">
                               <div class="row">
                                    <label class="control-label col-md-4">Honors</label>
                                    <div class="col-md-6">
                                        <asp:TextBox ID="txt_HONORS" runat="server"  CssClass="form-control"></asp:TextBox>
                                    </div>
                               </div>
                               <div class="row">
                                    <label class="control-label col-md-4">Perferred Name</label>
                                    <div class="col-md-6">
                                        <asp:TextBox ID="txt_KNOWN_AS" runat="server"  CssClass="form-control"></asp:TextBox>
                                    </div>
                               </div>
                               <div class="row">
                                    <label class="control-label col-md-4">Previous Last Name</label>
                                    <div class="col-md-6">
                                    <asp:TextBox ID="txt_PREVIOUS_LAST_NAME" runat="server" CssClass="form-control"></asp:TextBox> 
                                    </div>
                               </div>
                               
                        </div>
                    </div>
             <hr />
         </div>
         <div id="emp_medical" class="tab-pane fade">
                <br />

                    <div class="row">
                        <div class="col-md-8 col-md-offset-1">
                               <div class="row">
                                    <label class="control-label col-md-4">Blood Type</label>
                                    <div class="col-md-5">
                                        <asp:DropDownList ID="ddl_BLOOD_TYPE" runat="server" CssClass="form-control"></asp:DropDownList>
                                    </div>
                                </div>     
                               
                                    <div class="row">
                                        <label class="control-label col-md-4">Last Test Date</label>
                                        <div class="col-md-5">
                                            <asp:TextBox ID="txt_LAST_MEDICAL_TEST_DATE" runat="server"  CssClass="form-control datetime"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <label class="control-label col-md-4">Last Test By</label>
                                        <div class="col-md-5">
                                        <asp:TextBox ID="txt_LAST_MEDICAL_TEST_BY" runat="server"  CssClass="form-control"></asp:TextBox>
                                        </div>
                                    </div>
                              
                             
                         </div>
                               
                               
                     </div>
             <hr />
         </div>
         <div id="emp_benifit" class="tab-pane fade">
           <br />
               <div class="row">
                    <div class="col-md-5 col-md-offset-1">
                       <div class="row">
                         <label class="control-label col-md-5">Benifit Group</label>
                         <div class="col-md-6">
                            <asp:DropDownList ID="ddl_BENEFIT_GROUP_ID" runat="server" CssClass="form-control"></asp:DropDownList>
                         </div>
                       </div>
                    </div>
                    <div class="col-md-4">
                       <div class="row">
                         <label class="control-label col-md-7">Date Recieved Death Cert.</label>
                         <div class="col-md-5">
                           <asp:TextBox ID="txt_RECEIPT_OF_DEATH_CERT_DATE" runat="server"  CssClass="form-control datetime"></asp:TextBox>
                         </div>
                       </div>
                    </div>
               </div>
               <div class="row">
                    <div class="col-md-5 col-md-offset-1">
                       <div class="row">
                         <label class="control-label col-md-5">Uses Tobacco</label>
                         <div class="col-md-6">
                            <asp:DropDownList ID="ddl_USES_TOBACCO_FLAG" runat="server" CssClass="form-control"></asp:DropDownList>
                         </div>
                       </div>
                    </div>
                     <div class="col-md-4">
                       <div class="row">
                         <label class="control-label col-md-7">Other Coverage</label>
                         <div class="col-md-5">
                            <asp:CheckBox ID="CheckBox1" runat="server" CssClass="checkbox"></asp:CheckBox>
                         </div>
                       </div>
                     </div>
                    
               </div>
               <div class="row">
                    <div class="col-md-5 col-md-offset-1">
                       <div class="row">
                         <label class="control-label col-md-5">Medical Plan</label>
                         <div class="col-md-6">
                           <asp:TextBox ID="txt_COORD_BEN_MED_PLN_NO" runat="server" CssClass="form-control"></asp:TextBox>
                         </div>
                       </div>
                    </div>
                    <div class="col-md-4">
                       <div class="row">
                         <label class="control-label col-md-7">Voluntary Service</label>
                         <div class="col-md-5">
                            <asp:CheckBox ID="CheckBox3" runat="server" CssClass="checkbox"></asp:CheckBox>
                         </div>
                       </div>
                     </div>
                 
               </div>

               <div class="row">
                    <div class="col-md-5 col-md-offset-1">
                       <div class="row">
                         <label class="control-label col-md-5">Adoption Date</label>
                         <div class="col-md-6">
                           <asp:TextBox ID="txt_DPDNT_ADOPTION_DATE" runat="server"  CssClass="form-control datetime"></asp:TextBox>
                         </div>
                       </div>
                    </div>
                    <div class="col-md-4">
                       <div class="row">
                         <label class="control-label col-md-7">Date First Hired</label>
                         <div class="col-md-5">
                           <asp:TextBox ID="txt_ORIGINAL_DATE_OF_HIRE" runat="server"  CssClass="form-control datetime"></asp:TextBox>
                         </div>
                       </div>
                    </div>
               </div>

               

         <hr />
         </div>


        



    </div>
    <div class="row">
                       <label class="control-label col-md-2">Effective Start Date</label> 
                        <div class="col-md-2">
                        <asp:TextBox ID="txt_EFFECTIVE_START_DATE" runat="server"  CssClass="form-control datetime"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ErrorMessage="Effective Date is required" ControlToValidate="txt_EFFECTIVE_START_DATE" SetFocusOnError="true" ValidationGroup="save_img" runat="server" />
                        </div>

                        <label class="control-label col-md-2">Effective End Date</label> 
                        <div class="col-md-2">
                           <asp:TextBox ID="txt_EFFECTIVE_END_DATE" runat="server" Enabled= "false"  CssClass="form-control datetime"></asp:TextBox>
                        </div>
   
                        <label class="control-label col-md-2">Latest Date</label> 
                        <div class="col-md-2">
                        <asp:TextBox ID="txt_START_DATE" runat="server"  CssClass="form-control datetime"></asp:TextBox>
                        </div>
   
   </div>
    <hr />
   <div class="row">
  
       <div class="col-md-11 col-md-11 col-md-offset-1  box-header" style="padding-top:2px;">
            
            <div class="row">
              <div class="col-md-3 col-md-3">
                 <asp:Button ID="btn_address" runat="server" CssClass="btn btn-default btn-block" 
                      Text="Address" onclick="btn_address_Click"></asp:Button>
              </div>
              <div class="col-md-3 col-md-3">
                 <a href="#" id="btn_assignment" runat="server" class="btn btn-default btn-block" >Assignment</a>
              </div>

             

              <div class="dropup">
              <div class="col-md-3 col-md-3">
                 <button type="button" id="btn_others" class="btn btn-default btn-block btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick="btn_others_Click">Others
                      <span class="caret"></span>
                      </button>
                    <ul class="dropdown-menu">
                         <li><a id="acontact" href="" runat="server">Contact</a></li>
                        <li class="divider"></li>
                        <li><a id="aQual" href="" runat="server">Qualification</a></li>
                         <li class="divider"></li>
                        <li><a id="aPreEmp" href="" runat="server">Previous Employer</a></li>
                         <li class="divider"></li>
                        <li><a data-toggle="modal" data-target="#myModal_pic" id="aPic" runat="server">Pictures</a></li>
                         <li class="divider"></li>
                           <li><a id="att" href="" runat="server">Attachment</a></li>
                    </ul>
                </div>
                </div>
            </div>
       </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-md-1"></div>
                <asp:Label ID="r_lbl" runat="server" class="col-md-2 col-md-2 control-label" Text='<%# Eval("PROMPT") %>'></asp:Label>
                <div class="col-md-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>
            </section>
        </div>
    </div>
</asp:Panel>

<script src="../../ThemeScrips/jquery.min.js"></script>
    <link href="../../ThemeScrips/select2.min.css" rel="stylesheet" />
    <script src="../../ThemeScrips/select2.min.js"></script>
    <script>
        $('.select2').select2();
    </script>

</asp:Content>