<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="PER_ALL_ASSIGNMENTS.aspx.cs" Inherits="HRMS.PER_ALL_ASSIGNMENTS" Title="Cloud HR - Assignment" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="row">
        <div class="col-lg-12">
            <!--breadcrumbs start -->
            <ul class="breadcrumb">
                <li><a href="#" id="home" runat="server"><i class="fa fa-home"></i>Home</a></li>
                <li><a href="#" id="ppl" runat="server">People</a></li>
                <li><a href="#" id="ppl_index" runat="server">Employee List</a></li>
            </ul>
            <!--breadcrumbs end -->
        </div>
    </div>
    <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>


    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">Assignment
                    
                             <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="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-5 col-md-offset-1">
                                     <asp:HiddenField ID="hid_elem_type" runat="server" />
                                     <asp:HiddenField ID="hid_elem_lnk" runat="server" />
                                     <asp:HiddenField ID="hid_ELEMENT_ENTRY_ID" runat="server" />
                                  <label class="control-label col-md-4">Organization</label>
                                     <asp:HiddenField ID="gid" runat="server" />
                                    <div class="col-md-8">
                                      <asp:DropDownList ID="ddl_ORGANIZATION_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                      <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ddl_ORGANIZATION_ID" controltovalidate="ddl_ORGANIZATION_ID" errormessage="Organization is Required!" />
                                    </div>
                                  </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-3">Group</label>
                                     <div class="col-md-9">
                                       <asp:DropDownList ID="ddl_PEOPLE_GROUP_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                       
                                     </div>   
                                 </div>
                                </div>
                                 
                                <div class="row">
                                 <div class="col-md-5 col-md-offset-1">
                                  <label class="control-label col-md-4">Job</label>
                                    <div class="col-md-8">
                                      <asp:DropDownList ID="ddl_JOB_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                      <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ddl_JOB_ID" controltovalidate="ddl_JOB_ID" errormessage="Job is Required!" />
                                    </div>
                                 </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-3">Position</label>
                                     <div class="col-md-9">
                                       <asp:DropDownList ID="ddl_POSITION_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                       <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ddl_POSITION_ID" controltovalidate="ddl_POSITION_ID" errormessage="Position is Required!" />
                                     </div>   
                                 </div>
                                 
                                </div>
                                <div class="row">
                                 <div class="col-md-5 col-md-offset-1">
                                  <label class="control-label col-md-4">Grade</label>
                                    <div class="col-md-8">
                                      <asp:DropDownList ID="ddl_GRADE_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                      <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ddl_GRADE_ID" controltovalidate="ddl_GRADE_ID" errormessage="Grade is Required!" />

                                    </div>
                                  </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-3">Payroll</label>
                                     <div class="col-md-9">
                                       <asp:DropDownList ID="ddl_PAYROLL_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                       <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ddl_PAYROLL_ID" controltovalidate="ddl_PAYROLL_ID" errormessage="Payroll is Required!" />--%>
                                     </div>   
                                 </div>
                                </div>
                               
                                <div class="row">
                                 <div class="col-md-5 col-md-offset-1">
                                  <label class="control-label col-md-4">Location</label>
                                    <div class="col-md-8">
                                      <asp:DropDownList ID="ddl_LOCATION_ID" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                      <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ddl_LOCATION_ID" controltovalidate="ddl_LOCATION_ID" errormessage="Location is Required!" />

                                    </div>
                                  </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-3">Status</label>
                                     <div class="col-md-9">
                                       <asp:DropDownList ID="ddl_ASSIGNMENT_STATUS_TYPE_ID" runat="server" CssClass="form-control"></asp:DropDownList>
                                       <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_ASSIGNMENT_STATUS_TYPE_ID" ControlToValidate="ddl_ASSIGNMENT_STATUS_TYPE_ID" ErrorMessage="Status is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>
                                       
                                     </div>   
                                 </div>
                                </div>

                                <div class="row">
                                 <div class="col-md-5 col-md-offset-1">
                                  
                                  </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-3">Vacancy</label>
                                     <div class="col-md-9">
                                       <asp:DropDownList ID="ddl_vacancy" runat="server" CssClass="form-control"></asp:DropDownList>
                                     </div>   
                                 </div>
                                </div>

                                <br />
                                <div class="row">
                                 <div class="col-md-5">
                                    <label class="control-label col-md-7">Assignment Number</label>
                                     <div class="col-md-5">
                                       <asp:TextBox ID="txt_ASSIGNMENT_NUMBER" runat="server" CssClass="form-control"></asp:TextBox>
                                     </div>
                                  </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-7">Collective Assignment</label>
                                     <div class="col-md-5">
                                          <asp:TextBox ID="TextBox1" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                     </div>   
                                 </div>
                                </div>
                                <div class="row">
                                 <div class="col-md-5">
                                    <label class="control-label col-md-7">Assignment Category</label>
                                     <div class="col-md-5">
                                       <asp:DropDownList ID="ddl_assignment_cat" runat="server" CssClass="form-control"></asp:DropDownList>
                                     </div>
                                  </div>
                                 <div class="col-md-5">
                                     <label class="control-label col-md-7">Employee Category</label>
                                     <div class="col-md-5">
                                          <asp:DropDownList ID="ddl_emp_category" runat="server" CssClass="form-control"></asp:DropDownList>
                                        
                                     </div>   
                                 </div>
                                </div>

                                <div class="row">
                                    <div class="col-md-5">
                                        <label class="control-label col-md-7">Attendance ID</label>
                                    <div class="col-md-3">
                                        <asp:TextBox ID="txt_att_id" runat="server" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    </div>
                                </div>
                                <br />



                                <div class="row">
                           <div class="col-md-2 pull-right">
                            <a href="#" data-target="#CostVal" data-toggle="modal" id="btn_CostVal"   runat="server" class="btn btn-block btn-info">Costing Values</a>
                           </div>
                          </div>

                          <div class="modal fade" id="CostVal" role="dialog">
                               <div class="modal-dialog modal-dialog-center" >
                                <div class="modal-content">
                                  <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                                    <h4 class="modal-title">Costing Values :</h4>
                                  </div>
                                  <div class="modal-body">
                                        <asp:Repeater ID="rpt_cost" runat="server" OnItemDataBound="rpt_cost_OnItemDataBound">
                                          <ItemTemplate>
                                            <div class="form-group">
                                              <div class="col-lg-1"></div>
                                                <asp:Label ID="r_lbl" runat="server" class="col-lg-3 col-sm-3 control-label" Text='<%# Eval("PROMPT") %>'></asp:Label>
                                                <div class="col-lg-6">
                                                     <asp:DropDownList ID="ddl_r_value" runat="server" CssClass="form-control"></asp:DropDownList>
                                                     <asp:HiddenField ID="hid_field_name" runat="server" Value='<%# Eval("col_name") %>' ></asp:HiddenField>
                                                     <asp:HiddenField ID="hid_vs_name" runat="server" Value='<%# Eval("SEG_VALUE_SET") %>' ></asp:HiddenField>
                                                     <asp:HiddenField ID="hid_value" runat="server" Value='<%# Eval("VALUE") %>' ></asp:HiddenField>

                                                </div>
                                            </div>
                                            
                                           </ItemTemplate>
                                       </asp:Repeater>
                                        
         
                                  </div>
                                  <hr />
                                              <div class="form-group">
                                              <div class="col-lg-1"></div>
                                                <asp:Label ID="Label1" runat="server" class="col-lg-3 col-sm-3 control-label" Text="Balancing Account"></asp:Label>
                                                <div class="col-lg-6">
                                                     <asp:DropDownList ID="ddl_bal_account" runat="server" CssClass="form-control"></asp:DropDownList>

                                                </div>
                                            </div>
                                  <div class="modal-footer">
                                    <button type="button" class="btn btn-default" data-dismiss="modal" >Save & Close</button>
                                  </div>
                                </div>
                               </div>
                            </div>



                                <br />
                                <ul class="nav nav-tabs">
                                  <li class="active"><a data-toggle="tab" href="#SLInfo">Salary Information</a></li>
                                  <li><a data-toggle="tab" id="Sup" href="#Supervisor">Supervisor</a></li>
                                  <li><a data-toggle="tab" href="#PNB">Probation & Notice Period</a></li>
                                  <li><a data-toggle="tab" href="#StInfo">Standard Conditions</a></li>
                                  <li><a data-toggle="tab" href="#Misc">Miscellaneous</a></li>
                                  <li><a data-toggle="tab" href="#SPCEI">Special Ceiling</a></li>
                                </ul>

                                 <div class="tab-content">
                                   <div id="SLInfo"  class="tab-pane fade in active">
                                        <br />
                                        <div class="row">
                                           <div class="col-md-5 col-md-offset-2">
                                            <label class="control-label col-md-4">Salary Basis</label>
                                             <div class="col-md-8">
                                              <asp:DropDownList ID="ddl_PAY_BASIS_ID" runat="server" CssClass="form-control"></asp:DropDownList>
                                             </div>
                                           </div>
                                        </div>

                                        <div class="row" style="padding-top:10px;">
                                        
                                          <div class="col-md-6">
                                               <div class="row">
                                                   <div class="col-md-10 col-md-offset-2 ">
                                                     <h6>Review Salary</h6>
                                                     <hr style="margin-top:0px !important;"/>
                                                    </div>
                                               </div>
                                               <label class="control-label col-md-4">Every</label>
                                               <div class="col-md-3">
                                                 <asp:TextBox ID="txt_SAL_REVIEW_PERIOD" runat="server" CssClass="form-control"></asp:TextBox>
                                               </div>
                                               <div class="col-md-4">
                                                 <asp:TextBox ID="txt_SAL_REVIEW_PERIOD_FREQUENCY" runat="server" CssClass="form-control"></asp:TextBox>

                                               </div>

                                          </div>
                                        
                                           <div class="col-md-6">
                                               <div class="row">
                                                   <div class="col-md-10 col-md-offset-2 ">
                                                     <h6>Review Performence</h6>
                                                     <hr style="margin-top:0px !important;"/>
                                                    </div>
                                               </div>
                                               <label class="control-label col-md-4">Every</label>
                                               <div class="col-md-3">
                                                 <asp:TextBox ID="txt_PERF_REVIEW_PERIOD" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                               </div>
                                               <div class="col-md-4">
                                                 <asp:TextBox ID="txt_PERF_REVIEW_PERIOD_FREQUENCY" runat="server"  CssClass="form-control"></asp:TextBox>
                                               </div>

                                          </div>
                                        
                                        </div>

                                        

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




                                             <div class="col-md-10">
                                         
                                                     
                                         
                                         
                                                <label class="control-label col-md-4">Name</label>
                                                 <div class="col-md-8">
                                                  <div class="input-group">
                                                         <asp:TextBox ID="txt_SupervisorName" CssClass="form-control " runat="server" ></asp:TextBox>
                                                         <span class="input-group-btn">
                                                            <button id="btn_lov_SUP" type="button" runat="server" onserverclick="btn_lov_Click" class="btn btn-white">
                                                            <i class="fa fa-search"></i></button>
                                                          </span>
                                                           <span class="input-group-btn">
                                                            <button id="btn_upd_sup" type="button" runat="server" onserverclick="btn_upd_sup_Click" class="btn btn-white">
                                                            <i class="fa fa-trash"></i></button>
                                                          </span>
                                                      </div>
                                                 </div>         
                                             </div>
                                         
                                         </div>

                                         <div class="row">
                                             <div class="col-md-10">
                                                <label class="control-label col-md-4">Worker Number</label>
                                                 <div class="col-md-4">
                                                   <asp:HiddenField ID="hid_sup_person_id" runat="server"></asp:HiddenField>
                                                   <asp:TextBox ID="txt_sup_workerno" runat="server"  CssClass="form-control"></asp:TextBox>
                                                 </div>         
                                             </div>
                                         
                                         </div>

                                         <div class="row">
                                             <div class="col-md-10">
                                                <label class="control-label col-md-4">Assignment Number</label>
                                                 <div class="col-md-4">
                                                   <asp:TextBox ID="txt_SUPERVISOR_ASSIGNMENT_ID" runat="server"  CssClass="form-control"></asp:TextBox>
                                                 </div>         
                                             </div>
                                         
                                         </div>


                                   </div>
                                   <div id="PNB" class="tab-pane fade">
                                            
                                        <div class="row" style="padding-top:10px;">
                                        
                                          <div class="col-md-6">
                                               <div class="row">
                                                   <div class="col-md-10 col-md-offset-2 ">
                                                     <h6>Probation Period</h6>
                                                     <hr style="margin-top:0px !important;"/>
                                                    </div>
                                               </div>

                                               <div class="row">
                                                   <label class="control-label col-md-4">Length</label>
                                                   <div class="col-md-5">
                                                     <asp:TextBox ID="txt_PROBATION_PERIOD" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                   </div>
                                               </div>
                                               <div class="row">
                                                   <label class="control-label col-md-4">Unit</label>
                                                   <div class="col-md-5">
                                                      <asp:DropDownList ID="ddl_PROBATION_UNIT" runat="server" CssClass="form-control"></asp:DropDownList>
                                                   </div>
                                               </div>
                                               <div class="row">
                                                   <label class="control-label col-md-4">End date</label>
                                                   <div class="col-md-4">
                                                      <asp:TextBox ID="txt_DATE_PROBATION_END" runat="server" placeholder="" CssClass="form-control form_datetime"></asp:TextBox>
                                                   </div>
                                               </div>
                                               
                                          </div>
                                        
                                           <div class="col-md-6">
                                               <div class="row">
                                                   <div class="col-md-10 col-md-offset-2 ">
                                                     <h6>Notice Period</h6>
                                                     <hr style="margin-top:0px !important;"/>
                                                    </div>
                                               </div>
                                                <div class="row">
                                                   <label class="control-label col-md-4">Length</label>
                                                   <div class="col-md-5">
                                                     <asp:TextBox ID="txt_NOTICE_PERIOD" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                   </div>
                                               </div>
                                               <div class="row">
                                                   <label class="control-label col-md-4">Unit</label>
                                                   <div class="col-md-5">
                                                      <asp:DropDownList ID="ddl_NOTICE_PERIOD_UOM" runat="server" CssClass="form-control"></asp:DropDownList>
                                                   </div>
                                               </div>

                                          </div>
                                        
                                        </div>

                                   </div>
                                   <div id="StInfo" class="tab-pane fade">
                                            <br />
                                            <div class="row">
                                              <div class="col-md-4">  
                                               <div class="row">
                                                   <label class="control-label col-md-6">Working Hours</label>
                                                   <div class="col-md-6">
                                                     <asp:TextBox ID="txt_NORMAL_HOURS" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                   </div>
                                               </div>
                                               <div class="row">
                                                   <label class="control-label col-md-6">Frequency</label>
                                                   <div class="col-md-6">
                                                      <asp:DropDownList ID="ddl_FREQUENCY" runat="server" CssClass="form-control"></asp:DropDownList>
                                                   </div>
                                               </div>
                                              
                                              </div>  
                                              <div class="col-md-8">
                                               <div class="row">
                                               
                                                      <label class="control-label col-md-3">Start Time</label>
                                                          <div class="col-md-3">
                                                             <asp:TextBox ID="txt_TIME_NORMAL_START" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                           </div>

                                                      <label class="control-label col-md-2">End Time</label>
                                                           <div class="col-md-3">
                                                             <asp:TextBox ID="txt_TIME_NORMAL_FINISH" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                           </div>
                                                </div>
                                                <div class="row">
                                                 
                                                 
                                                 
                                                 <label class="control-label col-md-3">Working at home</label>
                                                 <div class="col-md-1">
                                                  <asp:CheckBox id="chk_WORK_AT_HOME" runat="server" CssClass="checkbox"/>
                                                 </div> 
                                                </div>
                                              </div>
                                              
                                                   
                                            </div>
                                   </div>
                                   <div id="Misc" class="tab-pane fade">
                                         <br />
                                         <div class="row">
                                              <div class="col-md-9 ">
                                                  
                                               <div class="row">
                                                   <label class="control-label col-md-4">Internal Address</label>
                                                   <div class="col-md-7">
                                                     <asp:TextBox ID="txt_INTERNAL_ADDRESS_LINE" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                   </div>
                                               </div>
                                               <div class="row">
                                                   <label class="control-label col-md-4">Reason</label>
                                                   <div class="col-md-7">
                                                      <asp:TextBox ID="txt_CHANGE_REASON" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                   </div>
                                               </div>
                                               <div class="row">
                                                   <label class="control-label col-md-4">Projected Assignment End</label>
                                                   <div class="col-md-2">
                                                      <asp:TextBox ID="txt_PROJECTED_ASSIGNMENT_END" runat="server" placeholder="" CssClass="form-control"></asp:TextBox>
                                                   </div>
                                               </div>


                                              </div>

                                              <div class="col-md-3">
                                                <div class="row">
                                                     <div class="col-md-1">
                                                     <asp:CheckBox id="chk_PRIMARY_FLAG" runat="server" CssClass="checkbox"/>
                                                     </div>
                                                    <label class="control-label col-md-2">Primary</label>
                                                </div>

                                                <div class="row">
                                                     <div class="col-md-1">
                                                     <asp:CheckBox id="chk_MANAGER_FLAG" runat="server" CssClass="checkbox"/>
                                                     </div>
                                                     <label class="control-label col-md-2">Manager</label>
                                                </div>


                                         </div>

                                   </div>
                                   <div id="ProInfo" class="tab-pane fade">
                                         ProInfo
                                   </div>
                                 
                                 </div>
                                   <div id="SPCEI" class="tab-pane fade">
                                     <br />
                                     <div class="row">
                                       <label class="control-label col-md-3">Progession Point</label>
                                       <div class="col-md-4">
                                         <asp:DropDownList ID="DropDownList14" runat="server" CssClass="form-control"></asp:DropDownList>                                          
                                       </div>
                                     </div>
                                     <div class="row">
                                      <label class="control-label col-md-3">Step</label>
                                       <div class="col-md-2">
                                         <asp:DropDownList ID="DropDownList15" runat="server" CssClass="form-control"></asp:DropDownList>                                          
                                       </div>
                                     </div>


                                   </div>
                                 </div>


                                <hr />


                                <div class="row">
                                  <label class="control-label col-md-3">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 runat="server" ID="RequiredFieldValidator_txt_EFFECTIVE_START_DATE" ControlToValidate="txt_EFFECTIVE_START_DATE" ErrorMessage="Effective From is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>

                                  </div>

                                  <label class="control-label col-md-3">Effective End Date</label>
                                  <div class="col-md-2">
                                     <asp:TextBox ID="txt_EFFECTIVE_END_DATE" runat="server" placeholder="" CssClass="form-control datetime"></asp:TextBox>
                                  </div>
                                </div>
                                <hr />
                                <div class="row">
                                       <div class="col-md-11 " style="padding-top:2px;">
            
                                            <div class="row">
                                              <div class="col-md-2">
                                                 <asp:Button ID="Button1" runat="server" Visible="false" CssClass="btn btn-default btn-block" Text="Salary"></asp:Button>
                                              </div>
                                              <div class="col-md-2 ">
                                                <a href="#" id="btn_entries" runat="server" class="btn btn-default btn-block" >Entries</a>
                                              </div>

                                               <div class="col-md-3 col-md-3">
                 <a href="#" id="btn_end_emp" runat="server" class="btn btn-default btn-block" >End Employeement</a>
              </div>

               <div class="dropup" id="div" runat="server" visible="false">
              <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">Others
                      <span class="caret"></span>
                      </button>
                    <ul class="dropdown-menu">
                        <li><a id="apro" href="" runat="server">Project Assignment</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 class="pull-right">
                                                  <div class="col-md-12">
                                                     <asp:Button ID="btn_other" runat="server" CssClass="btn btn-default btn-block" 
                                                          Text="Others" onclick="btn_other_Click1"></asp:Button>
                                                  </div>
                                              </div>
                                             </div>
            
                                       </div>
                                       <div class="col-md-4 col-md-4">
       
                                       </div>
                                       <asp:HiddenField ID="hid_ASSIGNMENT_ID" runat="server" />
                                       <asp:HiddenField ID="hid_PERSON_ID" runat="server" />
                                       <asp:HiddenField ID="hid_business_grp" runat="server" />
   
                                   </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>
                    </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>
