locked
Wizard having file upload...unable to show image in image control. RRS feed

  • Question

  • User118018937 posted

    Hi,

    I have

    • Wizard steps
    • File Upload
    • Upload button
    • Image control.

    When user selects a file and click file upload the image must be shown in image control.

     i have the file uploa d control in wizard step 2.

    i had referred

    http://aspsnippets.com/Articles/Display-Byte-Array-as-Image-without-using-Generic-Handler-in-ASPNet.aspx

      <Triggers>
       <asp:PostBackTrigger ControlID="wzEmployeeAdministration$WizardStep2$btnfileupload" />
                            </Triggers>
    
    <td>
                                            <asp:Wizard ID="wzEmployeeAdministration" runat="server" Width="965px" DisplaySideBar="False"
                                                ActiveStepIndex="0" 
                                                OnNextButtonClick="wzEmployeeAdministration_NextButtonClick" OnPreviousButtonClick="wzEmployeeAdministration_PreviousButtonClick"
                                                NavigationButtonStyle-CssClass="form_button" OnActiveStepChanged="wzEmployeeAdministration_ActiveStepChanged"
                                                OnFinishButtonClick="wzEmployeeAdministration_FinishButtonClick">
                                                     <FinishNavigationTemplate>
                                                    <asp:Button ID="FinishPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious"
                                                        CssClass="form_button" Text="Previous" />
                                                    <asp:Button ID="FinishButton" runat="server" CommandName="MoveComplete" CssClass="form_button"
                                                        Text="Finish" />
                                                </FinishNavigationTemplate>
                                                <NavigationButtonStyle CssClass="form_button" />
                                                <StartNavigationTemplate>
                                                    <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" CausesValidation="False" CssClass="form_button"
                                                        Text="Next" />
                                                </StartNavigationTemplate>
                                                <StepNavigationTemplate>
                                                    <asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious"
                                                        CssClass="form_button" Text="Previous" />
                                                    <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" CausesValidation="False" CssClass="form_button"
                                                        Text="Next" />
                                                </StepNavigationTemplate>
                                                <WizardSteps>
                                                    <asp:WizardStep ID="WizardStep1" runat="server" Title="Employee Search" StepType="Start">
                                                <div>
                                                
                                                   <asp:UpdatePanel ID="upnlMain" runat="server">
                            <ContentTemplate>
                                   <table width="100%" border="1">
                                                            <tr>
                                                                <td width="100%">
                                                                    <table width="100%">
                                                                        <tr>
                                                                            <td width="100%">
                                                                                <h2 style="font-size: 12px; font-weight: bold; border-width: thin; width: 948px;">
                                                                                    Employee Module</h2>
                                                                            </td>
                                                                        </tr>
                                                                       
                                                                        <tr>
                                                                            <td>
                                                                                <div id="tabs-2">
                                                                                    <table width="100%" class="Form_Table">
                                                                                        <tr>
                                                                                            <td>
                                                                                                <asp:Label ID="lblEmpCode"  CssClass="label100"  runat="server" Text="Employee Code"></asp:Label>
                                                                                            </td>
                                                                                           <td>
                                                                                                <asp:TextBox ID="txtEmpCode" CssClass="textfild_input65" runat="server"></asp:TextBox>
                                                                                            </td>
                                                                                          <td>
                                                                                                <asp:ImageButton ID="imgbtnSearch" runat="server" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/icon_search_n.gif"
                                                                                                    OnClick="imgbtnSearch_Click" />
                                                                                            </td>
                                                                                           
                                                                                            <td>
                                                                                                <ajaxToolkit:ModalPopupExtender ID="mpSearch" BackgroundCssClass="ModalPopupBG" runat="server"
                                                                                                    CancelControlID="imgLoginClose" PopupControlID="divPopupSearch" TargetControlID="btnDummy"
                                                                                                    Enabled="True">
                                                                                                </ajaxToolkit:ModalPopupExtender>
                                                                                                <div id="divPopupSearch" style="width: 600px; height: auto; background-color: White;
                                                                                                    display: none;">
                                                                                                    <div class="popup_Titlebar" id="divLoginTitle" style="background-image: url('~/Layouts/OETC_HRMS_Employee/Images/titlebar_bg.jpg')">
                                                                                                        <div class="TitlebarLeft" style="color: White; text-align: center; font-family: calibri;
                                                                                                            font-size: 14px;">
                                                                                                            Employee Code Search
                                                                                                        </div>
                                                                                                        <div class="TitlebarRight">
                                                                                                            <asp:ImageButton ID="imgLoginClose" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/cross_icon_normal.png"
                                                                                                                runat="server" BorderStyle="None" />
                                                                                                        </div>
                                                                                                        <div style="visibility: hidden">
                                                                                                            <asp:Button ID="btnDummy" runat="server" Text="Button" />
                                                                                                        </div>
    
                                                                                                                
                                                                                                    </div>
                                                                                                    <div style="font-size: 14px; font-weight: normal; color: Black; line-height: 15pt; clear: both; padding: 5px; text-align: center;" id="divLoginBody">
                                                                                                        <table class="Form_Table">
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblPEmpCode" runat="server" Text="Employee Code" CssClass="label100"></asp:Label>
                                                                                                                    <asp:TextBox ID="txtPopEmpCode" AutoPostBack="true" CssClass="textfild_input75" runat="server"
                                                                                                                        OnTextChanged="txtPopEmpCode_TextChanged"></asp:TextBox>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblPEmpName" runat="server" Text="Employee Name" CssClass="label100"></asp:Label>
                                                                                                                    <asp:TextBox ID="txtPopEmpName" CssClass="textfild_input200" runat="server" OnTextChanged="txtPopEmpName_TextChanged"></asp:TextBox>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:GridView ID="gvPopEmpDetails" CssClass="gridview" runat="server" EmptyDataText="&nbsp;No Records Found"
                                                                                                                        ShowHeaderWhenEmpty="true" AllowPaging="True" AutoGenerateColumns="False" Width="550px"
                                                                                                                        OnPageIndexChanging="gvPopEmpDetails_PageIndexChanging">
                                                                                                                        <Columns>
                                                                                                                            <asp:TemplateField HeaderText="Serial No.">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <%#Container.DataItemIndex + 1%>
                                                                                                                                </ItemTemplate>
                                                                                                                            </asp:TemplateField>
                                                                                                                            <asp:TemplateField HeaderText="Employee Code">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:LinkButton ID="lnkbtnEmpcode" runat="server" OnClick="lnkbtnEmpcode_Click" Text='<%# bind("EmployeeCode") 
    
    %>'></asp:LinkButton>
                                                                                                                                </ItemTemplate>
                                                                                                                            </asp:TemplateField>
                                                                                                                            <asp:TemplateField HeaderText="Employee Name">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:LinkButton ID="lnkbtnEmpName" runat="server" OnClick="lnkbtnEmpcode_Click" Text='<%# bind("FullName") 
    
    %>'></asp:LinkButton>
                                                                                                                                </ItemTemplate>
                                                                                                                            </asp:TemplateField>
                                                                                                                        </Columns>
                                                                                                                        <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                                                        <PagerStyle CssClass="test" />
                                                                                                                        <PagerSettings Mode="NumericFirstLast" LastPageText="Last" FirstPageText="First"
                                                                                                                            Visible="true" PageButtonCount="5" NextPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/rightArrow.png"
                                                                                                                            PreviousPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/leftArrow.png" />
                                                                                                                    </asp:GridView>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                        </table>
                                                                                                    </div>
                                                                                                </div>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label ID="lblEmpName" CssClass="label100" runat="server" Text="Employee Name"></asp:Label>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:TextBox ID="txtEmpName" CssClass="textfild_input200" runat="server"></asp:TextBox>
                                                                                            </td>
                                                                                            <td>
                                                                                               <asp:Label ID="lblNationality" runat="server" Text="Nationality" CssClass="label100"></asp:Label></td>
                                                                                            <td>
                                                                                                <asp:DropDownList ID="ddlNationality" runat="server" Width="150px"></asp:DropDownList></td>
                                                                                            <td>
                                                                                                <asp:Label ID="lblDepartment" runat="server" Text="Department" CssClass="label100"></asp:Label></td>
                                                                                            <td>
                                                                                               <asp:TextBox ID="txtDepartmentSearch" runat="server" 
                                                                                                    CssClass="textfild_input140" ReadOnly="True"></asp:TextBox>
                                                                                                <asp:ImageButton ID="imgbtnDeptSearch" runat="server" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/icon_search_n.gif"   OnClick="imgbtnDeptSearch_Click" />                                                                                           
                                                                                               </td>
                                                                                        </tr>
                                                                                       
                                                                                    </table>
                                                        <div>
                                                            <asp:UpdatePanel ID="upnlPopupSearch" runat="server" UpdateMode="Conditional">
                                                                <ContentTemplate>
                                                                
                                                                    <ajaxToolkit:ModalPopupExtender ID="mpeDeptSearch" BackgroundCssClass="ModalPopupBG" runat="server"
                                                                        CancelControlID="imgDeptSrchClose" PopupControlID="divdeptSearch" TargetControlID="btndeptdummy"
                                                                        Enabled="True">
                                                                    </ajaxToolkit:ModalPopupExtender>
                                                                    <div id="divdeptSearch" style="width: 600px; height: auto; background-color: White;
                                                                        display: none;">
                                                                        <div class="popup_Titlebar" id="div2" style="background-image: url('includes/images/titlebar_bg.jpg')">
                                                                            <div class="TitlebarLeft" style="color: White; text-align: center; font-family: calibri;
                                                                                font-size: 14px;">
                                                                                Search
                                                                            </div>
                                                                            <div class="TitlebarRight">
                                                                                <asp:ImageButton ID="imgDeptSrchClose" ImageUrl="~/includes/images/cross_icon_normal.png"
                                                                                    runat="server" BorderStyle="None" />
                                                                            </div>
                                                                            <div style="visibility: hidden">
                                                                                <asp:Button ID="btndeptdummy" runat="server" Text="Button" />
                                                                            </div>
                                                                        </div>
                                                                        <div style="font-size: 14px; font-weight: normal; color: Black; line-height: 15pt;
                                                                            clear: both; padding: 5px; text-align: center;" id="div3">
                                                                            <asp:UpdatePanel ID="upPopupEmpDept" runat="server" UpdateMode="Conditional">
                                                                                <ContentTemplate>
                                                                                    <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                                                        <tr>
                                                                                            <td colspan="2">
                                                                                                <asp:UpdatePanel ID="upnlPopupGrid" runat="server" UpdateMode="Conditional">
                                                                                                    <ContentTemplate>
                                                                                                        <asp:GridView ID="gvDepartment" CssClass="gridview" runat="server" EmptyDataText="&nbsp;No Records Found"
                                                                                                            ShowHeaderWhenEmpty="true" AllowPaging="True" AutoGenerateColumns="False" Width="550px"
                                                                                                            OnPageIndexChanging="gvDepartment_PageIndexChanging">
                                                                                                            <Columns>
                                                                                                                <asp:TemplateField HeaderText="Serial No.">
                                                                                                                    <ItemTemplate>
                                                                                                                        <%#Container.DataItemIndex + 1 %>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <asp:TemplateField HeaderText="Department Code" Visible="false">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:LinkButton ID="lnkbtnDepartmentCode" runat="server" OnClick="lnkbtnDepartment_Click"
                                                                                                                            Text='<%# bind("ID") %>'></asp:LinkButton>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <asp:TemplateField HeaderText="Department">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:LinkButton ID="lnkbtnDepartment" runat="server" OnClick="lnkbtnDepartment_Click"
                                                                                                                            Text='<%# bind("Department") %>'></asp:LinkButton>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                            </Columns>
                                                                                                            <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                                            <PagerStyle CssClass="test" />
                                                                                                            <PagerSettings Mode="NumericFirstLast" LastPageText="Last" FirstPageText="First"
                                                                                                                Visible="true" PageButtonCount="5" />
                                                                                                        </asp:GridView>
                                                                                                        
                                                                                                        
                                                                                                    </ContentTemplate>
                                                                                                </asp:UpdatePanel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ContentTemplate>
                                                                            </asp:UpdatePanel>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
    
    
    
                                                                                    <div class="buttonContainer" style="width: 100%">
                                                                                        <table class="form_buttonContainer" border="0" cellspacing="0" cellpadding="0">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Button ID="btnSearchEmp" CssClass="form_button" runat="server" Text="Search"
                                                                                                        OnClick="btnSearchEmp_Click" />
                                                                                                    &nbsp;
                                                                                                    <asp:Button ID="Button1" CssClass="form_button" runat="server" Text="Reset" OnClick="btnReset_Click" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                    <div>
                                                                                        <table width="100%" class="Form_Table" >
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:GridView ID="gvEmployees" CssClass="gridview" Width="100%" EmptyDataText="&nbsp;No Records Found"
                                                                                                        ShowHeaderWhenEmpty="true" runat="server" AutoGenerateColumns="False" AllowPaging="True"
                                                                                                        OnPageIndexChanging="gvEmployees_PageIndexChanging">
                                                                                                        <Columns>
                                                                                                            <asp:TemplateField HeaderText="Sl No." ItemStyle-Width="50px">
                                                                                                                <ItemTemplate>
                                                                                                                    <%#Container.DataItemIndex + 1%>
                                                                                                                </ItemTemplate>
                                                                                                                <ItemStyle Width="50px" />
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Employee Code" ItemStyle-Width="100px">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDEmpCode" runat="server" Text='<%# bind("EmployeeCode") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                                <ItemStyle Width="100px" />
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Employee Name">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDEmpName" runat="server" Text='<%# bind("FullName") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Unit">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDUnit" runat="server" Text='<%# bind("Unit") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Department">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDDepartment" runat="server" Text='<%# bind("Department") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Position">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDPosition" runat="server" Text='<%# bind("Position") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Work Location">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDWorkLocation" runat="server" Text='<%# bind("WorkLocation") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
    
                                                                                                               <asp:TemplateField HeaderText="Nationality">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDNationality" runat="server" Text='<%# bind("Nationality") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                        </Columns>
                                                                                                        <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                                        <PagerStyle CssClass="test" />
                                                                                                        <PagerSettings Mode="NumericFirstLast" LastPageText="Last" FirstPageText="First"
                                                                                                            Visible="true" PageButtonCount="5" NextPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/rightArrow.png"
                                                                                                            PreviousPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/leftArrow.png" />
                                                                                                    </asp:GridView>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Button ID="btnCreate" runat="server" Text="Create Employee" CssClass="form_button"  OnClick="wzEmployeeAdministration_btnCreateClick" />
                                                                    &nbsp
                                                                    <asp:Button ID="btnEdit" runat="server" Text="Edit" OnClick="btnEdit_Click"  CssClass="form_button" Visible="false" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                         </ContentTemplate></asp:UpdatePanel>
                                                </div>
                                                    </asp:WizardStep>
    
    
    
                                                      <asp:WizardStep ID="WizardStep2" runat="server" Title="Employee Personal Details"
                                                        >
                                                        <div>
                                                            <table border="1" width="100%" >
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                            BorderWidth="1px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txtEmployeeCode" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfvEmployeeCode" ControlToValidate="txtEmployeeCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            runat="server" Text="*" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txtWorkLocation" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txtDepartment" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txtSect" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txtPosition" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDStatus" runat="server" CssClass="label100" Text="Status" Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txtStatus" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlemp" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <table class="Form_Table">
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDTitle" runat="server" CssClass="label100" Text="Title"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlTitle" runat="server" CssClass="select100">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDFullName" runat="server" CssClass="label100" Text="Full Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                            <asp:Label ID="lblFullName" runat="server" CssClass="label100" ></asp:Label>
                                                                                                            </td>
                                                                                                            
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDFirstName" runat="server" CssClass="label100" Text="First Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtFirstName" runat="server" CssClass="textfild_input100"  AutoPostBack="true"
                                                                                                                    OnTextChanged="txtFirstName_TextChanged" ></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:RequiredFieldValidator ID="rfvEPDFirstName" runat="server" ControlToValidate="txtFirstName"
                                                                                                                    ErrorMessage="First Name Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDMiddleName" runat="server" CssClass="label100" Text="Middle Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtMiddleName" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDLastName" runat="server" CssClass="label100" Text="Last Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtLastName" runat="server" CssClass="textfild_input100"   AutoPostBack="true"
                                                                                                                    OnTextChanged="txtLastName_TextChanged"></asp:TextBox>
    
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:RequiredFieldValidator ID="rfvEPDLastName" runat="server" ControlToValidate="txtLastName"
                                                                                                                    ErrorMessage="LastName Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDShortName" runat="server" CssClass="label100" Text="Short Name /Known As"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtShortName" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="pnldob" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                     
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDDOB" runat="server" CssClass="label100" Text="Date Of Birth"></asp:Label>
                                                                                                        <asp:TextBox ID="txtdob" runat="server"    Width="149px" CssClass="datepicker" onFocus="DOB()"
                                                                                                       
                                                                                                        ></asp:TextBox>
                                                                                                <asp:RequiredFieldValidator ID="rgdob" runat="server" ControlToValidate="txtdob" ErrorMessage="Please enter date of birth"  Text="*" ForeColor="Red" ></asp:RequiredFieldValidator>
                                                                                               
                                                                                        
    
    
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDAge" runat="server" CssClass="label100" Text="Age"></asp:Label>
                                                                                                    <asp:TextBox ID="txtAge" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ID="Revage" runat="server" ControlToValidate="txtAge"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$"   ForeColor="Red" ></asp:RegularExpressionValidator>
                                                                                                    <asp:RangeValidator ID="rngValEPDAge" runat="server" ControlToValidate="txtAge" ErrorMessage="Age Is Not In Proper Format"
                                                                                                        MaximumValue="100" MinimumValue="16" Type="Integer" ForeColor="Red"></asp:RangeValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDDOJ" runat="server" CssClass="label100" Text="Date Of Joining"></asp:Label>
                                                                                                    <asp:TextBox ID="txtdoj" runat="server"   Width="49px" CssClass="datepicker" onFocus="DOB()"
                                                                                                        ></asp:TextBox>
                                                                                                     <asp:RequiredFieldValidator ID="rqdoj" runat="server" ControlToValidate="txtdoj" ErrorMessage="Please enter date of joining"  Text="*" ForeColor="Red" ></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                    
    
                                                                                                    <asp:FileUpload ID="fileImage" runat="server" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Button ID="btnfileupload" runat="server" CausesValidation="false"  CssClass="form_button" OnClick="btnfileupload_Click"
                                                                                                        Text="Upload Image" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:RegularExpressionValidator ID="RevImg" runat="server" ControlToValidate="fileImage"
                                                                                                        ErrorMessage="Invalid File!(only  .gif, .jpg, .jpeg Files are supported)"
                                                                                                        ValidationExpression="^.+(.jpg|.JPG|.gif|.GIF|.jpeg|JPEG)$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Image ID="imgPhoto" runat="server" Height="165px" Width="165px"  Visible="false"  ImageUrl = ''
                                                                                                        style="margin-left: 0px" />
                                                                                                    
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                        </table>
                                                                        <asp:Panel ID="pnlDetail" runat="server" GroupingText="Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDGender" runat="server" CssClass="label100" Text="Gender"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlGender" runat="server" CssClass="select100">
                                                                                                        <asp:ListItem>Male</asp:ListItem>
                                                                                                        <asp:ListItem>Female</asp:ListItem>
                                                                                                        <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <asp:RequiredFieldValidator ID="rqGender" runat="server" ControlToValidate="ddlGender" ErrorMessage="Please select gender." ForeColor="Red" Text="*"  ></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDMaritalStatus" runat="server" CssClass="label100" Text="Marital Status"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlMaritalStatus" runat="server" CssClass="select100">
                                                                                                        <asp:ListItem>Married</asp:ListItem>
                                                                                                        <asp:ListItem>UnMarried</asp:ListItem>
                                                                                                        <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <asp:RequiredFieldValidator ID="rqStatus"  runat="server" Text="*" ErrorMessage="Please select Marital Status" ControlToValidate="ddlMaritalStatus" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDCivilID" runat="server" CssClass="label100" Text="Civil ID"></asp:Label>
                                                                                                    <asp:TextBox ID="txtCivilID" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDInsuranceType" runat="server" CssClass="label100" Text="Insurance Type"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlInsuranceType" runat="server" CssClass="select100" Width="96px">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDNationality" runat="server" CssClass="label100" Text="Nationality"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlEPDNationality" runat="server" CssClass="select100" Width="96px">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDReligion" runat="server" CssClass="label100" Text="Religion"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlReligion" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDCIDExpiryDate" runat="server" CssClass="label100" Text="Civil ID Expiry Date"></asp:Label>
                                                                                                    <asp:TextBox ID="txtExpDt" runat="server"  CssClass="datepicker" onFocus="test()"  Width="120px"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDIDNumber" runat="server" CssClass="label100" Text="ID No" 
                                                                                                        Width="79px"></asp:Label>
                                                                                                    <asp:TextBox ID="txtIDNumber" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDEmail" runat="server" CssClass="label100" Text="Email" 
                                                                                                        Width="58px"></asp:Label>
                                                                                                    <asp:TextBox ID="txtEmail" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Invalid email."
                                                                                                        ControlToValidate="txtEmail" ValidationExpression="^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDPOB" runat="server" CssClass="label100" Text="Place Of Birth"></asp:Label>
                                                                                                    <asp:TextBox ID="txtPOB" runat="server" CssClass="datepicker" onFocus="test()" ></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvPOB" ControlToValidate="txtPOB" ErrorMessage="Place Of Birth Field Should Not Be Blank"
                                                                                                        Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnSave" runat="server" Text="Save" ToolTip="Save" CssClass="form_button"
                                                                                        OnClick="btnSave_Click" />&nbsp
                                                                                    <input id="btnhtmReset" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep ID="WizardStep3" runat="server" Title="Employment Details">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Label ID="lblEmploymentDetails" runat="server" Text="Employment Details" Font-Bold="true"></asp:Label>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <asp:Panel ID="panel1" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                            BorderWidth="1px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDEmployeeCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDWorkLocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDDepartment" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDSection" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDEmployeeName" Enabled="false" runat="server" CssClass="textfild_input160"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDPosition" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDStatus" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="Panel2" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <table class="Form_Table">
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDWorkLoc" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlEDWorkLocation" runat="server" CssClass="select100">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEMDptment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMDepartment2" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDSection" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMSection2" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDPositn" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMPosission2" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDJobTitle" runat="server" CssClass="label100" Text="Job Title"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMJobTitle" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEMCategory" runat="server" CssClass="label100" Text="Category"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlEMCategory" runat="server" CssClass="select100">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDGrade" runat="server" CssClass="label100" Text="Grade"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMGrade" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDReportingSupervisor" runat="server" CssClass="label100" Text="Reporting Supervisor"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMReportingSupervisor" runat="server" CssClass="textfild_input160"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDEffectivefromDate" runat="server" CssClass="label100" Text="Effective from Date"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMEffectivefromDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="Panel3" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDDOB" runat="server" CssClass="label100" Text="Date Of Birth"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="TextBox8"  runat="server" Width="100px" onFocus="testDOB()"
                                                                                                        CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDDOJ" runat="server" CssClass="label100" Text="Date Of Joining"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="TextBox9"  runat="server" Width="100px" onFocus="testDoj()"
                                                                                                        CssClass="datepicker" ></asp:TextBox>
                                                                                                           <asp:RequiredFieldValidator ID="rfqDateofJoining" ControlToValidate="TextBox9"
                                                                                            ErrorMessage="Date of Joining Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            runat="server" Text="*" ForeColor="Red" />
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDDateOfConfirmation" runat="server" CssClass="label100" Text="Date Of Confirmation"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEMDOC" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                       <asp:RequiredFieldValidator ID="reqdtConfirm" runat="server" ControlToValidate="txtEMDOC" ErrorMessage="Please enter Date of confirmation" ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDLastPromotionDate" runat="server" CssClass="label100" Text="Last Promotion Date"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEMLastPromotionDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDTerminationDate" runat="server" CssClass="label100" Text="Termination Date"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEMTerminationDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnEMSave" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btnEMSave_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="EMReset" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Address Details" ID="WizardStep4">
                                                        <div>
                                                            <table width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel4" runat="server" GroupingText="Employee Address Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADEmployeeCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADWorkLocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADDepartment" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADSection" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Label1" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADEmployeeName" runat="server" CssClass="textfild_input160"
                                                                                            Enabled="false"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADPosition" runat="server" CssClass="textfild_input100" Enabled="false"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADStatus2" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADStatus" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlAddress" GroupingText="Address Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADType" runat="server" CssClass="label100" Text="Type"></asp:Label>
                                                                                        <asp:DropDownList ID="ddlEADType" runat="server" CssClass="select150">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADAddressID" runat="server" CssClass="label100" Text="Address ID"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADAddressID" runat="server" CssClass="textfild_input100" TabIndex="9"></asp:TextBox>
                                                                                    </td>
                                                                                    <td valign="top">
                                                                                        <asp:CheckBox ID="chkEADPrimaryAddress" runat="server" Text="Primary Address" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td colspan="3">
                                                                                        <asp:Label ID="lblEADAddress" runat="server" CssClass="label100" Text="Address"></asp:Label>
                                                                                        
                                                                                      <asp:TextBox ID="txtEADAddress" runat="server" CssClass="textarea400" TextMode="MultiLine"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="reqAddress" runat="server" ErrorMessage="Please enter address." ForeColor="Red" ControlToValidate="txtEADAddress" Text="*"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADCity" runat="server" CssClass="label100" Text="City"></asp:Label>
                                                                                      
                                                                                        <asp:TextBox ID="txtEADCity" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADPostalCode" runat="server" CssClass="label100" Text="Postal Code"></asp:Label>
                                                                                        
                                                                                     <asp:TextBox ID="txtEADPostalCode" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADContactPerson" runat="server" CssClass="label100" Text="Contact Person"></asp:Label>
                                                                                      
                                                                                        <asp:TextBox ID="txtEADContactPerson" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADContactPersonMobileNumber" runat="server" CssClass="label100"
                                                                                            Text="Contact Person Mobile Number"></asp:Label>
                                                                                        
                                                                                      <asp:TextBox ID="txtEADContactPersonMobileNumber" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ErrorMessage="Invalid Mobile number."
                                                                                                        ControlToValidate="txtEADContactPersonMobileNumber" ValidationExpression="^[0-9]*$" ForeColor="Red" />
                                                                                    </td>
                                                                                   
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlOfficial" GroupingText="Official" runat="server" CssClass="panelGridColumnTable1">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADDirectTelephoneNumber" runat="server" CssClass="label100" 
                                                                                                        Text="Direct Telephone Number" Width="164px"></asp:Label>
                                                                                                   
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADDirectTelephoneNumber" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ErrorMessage="Invalid Direct number."
                                                                                                        ControlToValidate="txtEADDirectTelephoneNumber" ValidationExpression="^[0-9]*$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADOfficeExtensionNumber" runat="server" CssClass="label100" 
                                                                                                        Text="Office Extension Number" Width="148px"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADOfficeExtensionNumber" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage="Invalid Office Extension number."
                                                                                                        ControlToValidate="txtEADOfficeExtensionNumber" ValidationExpression="^[0-9]*$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlPersonal" GroupingText="Personal" runat="server" CssClass="panelGridColumnTable1">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADEmail" runat="server" CssClass="label100" Text="Email"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADEmail" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                                      <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Invalid email."
                                                                                                        ControlToValidate="txtEADEmail" ValidationExpression="^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADMobileNumber" runat="server" CssClass="label100" 
                                                                                                        Text="Mobile Number" Width="101px"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADMobileNumber" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                      <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ErrorMessage="Invalid Mobile number."
                                                                                                        ControlToValidate="txtEADMobileNumber" ValidationExpression="^[0-9]*$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADResidenceTelephoneNumber" runat="server" CssClass="label100"
                                                                                                        Text="Residence Telephone Number"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADResidenceTelephoneNumber" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                       <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ErrorMessage="Invalid Residence number."
                                                                                                        ControlToValidate="txtEADResidenceTelephoneNumber" ValidationExpression="^[0-9]*$" ForeColor="Red" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnEADSave" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btnEADSave_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="ResetEAD" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Identification Details" ID="WizardStep5">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel5" runat="server" GroupingText="Employee Identification Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEid" ControlToValidate="txt_EID_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Worklocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_EmpName" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlIdentification" GroupingText="Identification Details" runat="server"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDIdentificationMarks1" runat="server" CssClass="label100" Text="Identification Marks 1"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtIdentificationMarks1" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDIdentificationMarks2" runat="server" CssClass="label100" Text="Identification Marks 2"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtIdentificationMarks2" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDPhysicallyHandicapped" runat="server" CssClass="label100" Text="Physically Handicapped"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddlPhysicallyHandicapped" runat="server" CssClass="select150">
                                                                                                        <asp:ListItem Selected="True">--Select--</asp:ListItem>
                                                                                                        <asp:ListItem>Yes</asp:ListItem>
                                                                                                        <asp:ListItem>No</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDBloodGroup" runat="server" CssClass="label100" Text="Blood Group"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddlBloodGroup" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDHeight" runat="server" CssClass="label100" Text="Height (in Cms)"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtHeight" runat="server" CssClass="textfild_input100"></asp:TextBox>  
                                                                                                  
                                                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtHeight"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                </td>
                                                                                               
                                                                                                  
                                                                                              
                                                                                                <td>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDEffectiveDateFrom" runat="server" CssClass="label100" Text="Effective Date From"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txEffectiveDateFrom" runat="server" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td style="width: 700px">
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Button ID="btn_IDSave" runat="server" CssClass="form_button" Text="Save" ToolTip="Save"
                                                                                                        OnClick="btn_IDSave_Click" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <input id="btnReset" type="reset" value="Reset" class="form_button" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Training Details" ID="WizardStep6">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel6" runat="server" GroupingText="Employee Training Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEmpCode" ControlToValidate="txt_ETD_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_WorkLocation" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Department" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Section" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Name" Enabled="false" runat="server" Style="margin-left: 2px"
                                                                                            CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Position" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Status" Enabled="false" runat="server" CssClass="textfild_input140"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlTrainingUndergoneDetails" GroupingText="Training Undergone Details"
                                                                            CssClass="panelGridColumnTable1" runat="server">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDTrainingType" runat="server" CssClass="label100" Text="Training Type"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="ddlTrainingType" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDNameOfTheCourse" runat="server" CssClass="label100" Text="Name Of The Course"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtNameOfTheCourse" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfqCourse" ControlToValidate="txtNameOfTheCourse"
                                                                                                        ErrorMessage="Name of the Course Field Should Not Be Blank" Display="Static" ForeColor="Red"
                                                                                                        InitialValue="" Text="*" runat="server" />
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDFromDate" runat="server" CssClass="label100" Text="From Date"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtFromDate" runat="server" CssClass="datepicker"  Width="100px"
                                                                                                        onFocus="test()"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDToDate" runat="server" CssClass="label100" Text="To Date"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtToDate" runat="server" CssClass="datepicker"  Width="100px" onFocus="test()"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDScore" runat="server" CssClass="label100" Text="Score/Grade"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtScore" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDConduct" runat="server" CssClass="label100" Text="Conducted By"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtConduct" runat="server" CssClass="textfild_input120"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDPlaceOfTraining" runat="server" CssClass="label100" Text="Place Of Training"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtPlaceOfTraining" runat="server" CssClass="textfild_input120"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDTopicsCovered" runat="server" CssClass="label100" Text="Topics Covered"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtTopicsCovered" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfqTopicCovered" runat="server" ControlToValidate="txtTopicsCovered"
                                                                                                        Display="Static" ErrorMessage="Topics Covered Field Should Not Be Blank" InitialValue="" ForeColor="Red"
                                                                                                        Text="*" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDFees" runat="server" CssClass="label100" Text="Fees"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtFees" runat="server" CssClass="textfild_input120"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ID="ReqFees" runat="server" ControlToValidate="txtFees"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDSponsoredBy" runat="server" CssClass="label100" Text="Sponsored By"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtSponsoredBy" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Button ID="btnAdd_Training" Text="Add Training Details" runat="server" CssClass="form_button1"
                                                                                            OnClick="btnAdd_Training_Click" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <div id="divTrainining"  runat="server"  visible="false" style="overflow: scroll; height: 188px; width: 890px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td width="90%">
                                                                                        <asp:GridView ID="grdTrainingDetails" runat="server" AutoGenerateColumns="False"
                                                                                            CssClass="gridview" EnableModelValidation="True"
                                                                                            BorderStyle="None"   GridLines="Vertical"  
                                                                                            DataKeyNames="ID" OnRowEditing="grdTrainingDetails_RowEditing" OnRowDataBound="grdTrainingDetails_RowDataBound"
                                                                                            OnRowUpdating="grdTrainingDetails_RowUpdating" 
                                                                                            OnRowCancelingEdit="grdTrainingDetails_RowCancelingEdit" 
                                                                                           >
                                                                                           <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="S.No" Visible="true">
                                                                                                    <ItemTemplate>
                                                                                                      <%--  <asp:Label runat="server" ID="lblSNo" Text='<%# Eval("ID") %>' Visible="false" />--%>
                                                                                                       <%#Container.DataItemIndex + 1%>
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Training Type">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lblTraining" runat="server" Text='<%# Eval("TrainingType") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:Label ID="lblEditTraining" runat="server"  Text='<%# Eval("TrainingType")%>'
                                                                                                            Visible="false"></asp:Label>
                                                                                                        <asp:DropDownList ID="ddlEdit_TrainingType" runat="server" >
                                                                                                        </asp:DropDownList>
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Training Description">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lblCourse" runat="server" Text='<%# Eval("Course") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEdit_TrainingDesc" runat="server" Text='<%# Eval("Course") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="From Date">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_FromDate" runat="server" Text='<%# Eval("FromDate","{0:dd-M-yyyy}") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditFromDate" runat="server" Text='<%# Eval("FromDate","{0:dd-M-yyyy}") %>' onFocus="test()"
                                                                                                            CssClass="datepicker"  />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="To Date">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_ToDate" runat="server" Text='<%# Eval("ToDate","{0:dd-M-yyyy}") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditToDate" runat="server" Text='<%# Eval("ToDate","{0:dd-M-yyyy}") %>'  onFocus="test()"
                                                                                                            CssClass="datepicker"  />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Score/Grade">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Score" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditScore" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Conducted By">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Conduct" runat="server" Text='<%# Eval("ConductedBy") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditConductedBy" runat="server" Text='<%# Eval("ConductedBy") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Place Of Training">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Place" runat="server" Text='<%# Eval("PlaceOfTraining") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditPlaceOfTraining" runat="server" Text='<%# Eval("PlaceOfTraining") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Topics Covered">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Topics" runat="server" Text='<%# Eval("TopicsCovered") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditTopics" runat="server" Text='<%# Eval("TopicsCovered") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Fees">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Fees" runat="server" Text='<%# Eval("Fees") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditFees" runat="server" Text='<%# Eval("Fees") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Sponsored By">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Sponsor" runat="server" Text='<%# Eval("SponsoredBy") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditSponsor" runat="server" Text='<%# Eval("SponsoredBy") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:CommandField ShowEditButton="true" HeaderText="Edit" CausesValidation="false" InsertImageUrl="~/_layouts/OETC_HRMS_Employee/Images/Edit.png" />
                                                                                                <asp:TemplateField HeaderText="Delete">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:ImageButton ID="deleteButton" runat="server" OnClick="DeleteTraining" CommandArgument='<%# Eval("ID")%>' CausesValidation="false"
                                                                                                            Text="Delete" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/Delete.png" OnClientClick="return confirm('Are you sure you want to delete this record.?');" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_ETD_Save" runat="server" CssClass="form_button" CausesValidation="false" 
                                                                                        OnClick="btn_ETD_Save_Click" Text="Save" ToolTip="Save" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btn_Reset_ETD" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Previous Experience Details" ID="WizardStep7">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel7" runat="server" GroupingText="Employee Previous Experience Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txt_PED_EmpCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server" ForeColor="Red"  />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Work" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PEDDepartment" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_EmpName" Enabled="false" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlPreviousExperienceDetails" GroupingText="Previous Experience Details"
                                                                            CssClass="panelGridColumnTable1" runat="server">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDCompanyName" runat="server" CssClass="label100" Text="Company Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDCompanyName" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rqComp" runat="server" ControlToValidate="txtPEDCompanyName" ErrorMessage="Please enter company name" ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDPositionHeld" runat="server" CssClass="label100" Text="Position Held"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDPositionHeld" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDAreaOfExperience" runat="server" CssClass="label100" Text="Area Of Experience"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlAreaOfExperience" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDFromDate" runat="server" CssClass="label100" Text="From Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDFromDate" runat="server" Width="100px" onFocus="test()"
                                                                                            CssClass="datepicker" ></asp:TextBox>
                                                                                            <asp:RequiredFieldValidator ID="reqdt" runat="server" Text="*" ForeColor="Red" ControlToValidate="txtPEDFromDate" ErrorMessage="Enter From Date."></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDToDate" runat="server" CssClass="label100" Text="To Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDToDate" runat="server" Width="100px" onFocus="test()"
                                                                                            CssClass="datepicker" ></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDSectorOfService" runat="server" CssClass="label100" Text="Sector Of Service"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlSectorOfService" runat="server" CssClass="select120">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDTypeOfService" runat="server" CssClass="label100" Text="Type Of Service"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlTypeOfService" runat="server" CssClass="select120">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDReasons" runat="server" CssClass="label100" Text="Reason for Quitting the Job"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDReasons" runat="server" CssClass="textarea30"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDYOS" runat="server" CssClass="label100" Text="Years Of Service"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDYears" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDYears" runat="server" CssClass="label50" Text="Years"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDMonths" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDMonths" runat="server" CssClass="label50" Text="Months"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDDays" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDDays" runat="server" CssClass="label50" Text="Days"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:RegularExpressionValidator ID="ReqYear" runat="server" ControlToValidate="txtPEDYears"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                        <asp:RegularExpressionValidator ID="ReqMonths" runat="server" ControlToValidate="txtPEDMonths"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                        <asp:RegularExpressionValidator ID="ReqDays" runat="server" ControlToValidate="txtPEDDays"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDDocRef" runat="server" CssClass="label100" Text="Document Reference"></asp:Label>
                                                                                    </td>
                                                                                    <td colspan="5">
                                                                                        <asp:FileUpload ID="uploadPEDDocument" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                     
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_PED_Save" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btn_PED_Save_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btn_PED_Reset0" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                        </div>
                                                     
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Professional Membership Details" ID="WizardStep8">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel8" runat="server" GroupingText="Employee Professional Membership Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqemp" ControlToValidate="txt_PMD_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_WorkLoc" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_EmpName" Enabled="false" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlProfessionalMembershipDetails" GroupingText="Professional Membership Details"
                                                                            CssClass="panelGridColumnTable1" runat="server">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDAssociationType" runat="server" CssClass="label100" Text="Association Type"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="ddlAssociationType" runat="server" CssClass="select150">
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rfqAssociationType" ControlToValidate="ddlAssociationType"
                                                                                            ErrorMessage="Association Type Field Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDMembership" runat="server" CssClass="label100" Text="Membership"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlMembership" runat="server" CssClass="select100">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDNameOfAssociation" runat="server" CssClass="label100" Text="Name Of Association"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left" colspan="2">
                                                                                        <asp:TextBox ID="txtNameOfAssociation" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDEntryDate" runat="server" CssClass="label100" Text="Entry Date "></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PMDEntryDate" runat="server" Width="120px" CssClass="datepicker" 
                                                                                            onFocus="test()"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEntryDate0" runat="server" ControlToValidate="txt_PMDEntryDate"
                                                                                            Display="Static" ErrorMessage="Entry Date Field Should Not Be Blank" InitialValue=""
                                                                                            Text="*" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDExpirationDate" runat="server" CssClass="label100" Text="Expiration Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PMDExpirationDate" runat="server" Width="120px" CssClass="datepicker"   onFocus="test()"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDMembershipFees" runat="server" CssClass="label100" Text="Membership Fees"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_MembershipFees" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="ReqMemberFees" runat="server" ControlToValidate="txt_PMD_MembershipFees"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDCurrency" runat="server" CssClass="label100" Text="Currency"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlCurrency" runat="server" CssClass="select100">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDFrequency" runat="server" CssClass="label100" Text="Frequency"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="ddlFrequency" runat="server" CssClass="select100">
                                                                                            <asp:ListItem>Monthly</asp:ListItem>
                                                                                            <asp:ListItem>Daily</asp:ListItem>
                                                                                            <asp:ListItem>Yearly</asp:ListItem>
                                                                                            <asp:ListItem>Quaterly</asp:ListItem>
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDSponsored" runat="server" CssClass="label100" Text="Sponsored"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlSponsored" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Company</asp:ListItem>
                                                                                            <asp:ListItem>Private</asp:ListItem>
                                                                                            <asp:ListItem></asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td align="left">
                                                                                        <asp:Button ID="btnPMDAdd" runat="server" Text="Add Professional Membership" 
                                                                                            CssClass="form_button1" Width="204px" OnClick="btnPMDAdd_Click"  />
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                </tr>
                                                                              
                                                                            </table>
                                                                            <table class="Form_Table">
                                                                            <tr>
                                                                                <td align="right">
                                                                                    <div id="divProfessional" runat="server" visible="false"  style="overflow: scroll; height: 102px;">
                                                                                        <asp:GridView ID="gvProfessional" runat="server" AutoGenerateColumns="False" CssClass="gridview" 
                                                                                             BorderStyle="None"  DataKeyNames="AssociationType"
                                                                                            EnableModelValidation="True"  GridLines="Vertical" 
                                                                                            >
                                                                                          <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="Select">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:CheckBox ID="chkProfessional" runat="server" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:BoundField DataField="AssociationType" HeaderText="Association Type" />
                                                                                                <asp:BoundField DataField="Membership" HeaderText="Membership" />
                                                                                        
                                                                                                <asp:BoundField DataField="AssociationName" HeaderText="AssociationName" />
                                                                                                   <asp:BoundField DataField="EntryDate" HeaderText="Entry Date" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                     <asp:BoundField DataField="ExpirationDate" HeaderText="Expiry Date" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                <asp:BoundField DataField="MembershipFees" HeaderText="MembershipFees" />
                                                                                                <asp:BoundField DataField="Currency" HeaderText="Currency" />
                                                                                                <asp:BoundField DataField="Frequency" HeaderText="Frequency" />
                                                                                              <asp:BoundField DataField="Sponsored" HeaderText="Sponsored" />
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
    
    
    
      <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Button ID="btnEditProfessional" runat="server" CssClass="form_button" 
                                                                                         CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidateProfessional(this)" Text="Edit" 
                                                                                        Visible="False" OnClick="btnEditProfessional_Click" />
    
                                                                                        &nbsp
                                                                                  <asp:Button runat="server" CausesValidation="false"  
                                                                                        OnClientClick="javascript:return CheckBoxValidateProfessional(this)" Text="Delete" 
        CssClass="form_button" ID="btnDeleteProfessional" Visible="False" OnClick="btnDeleteProfessional_Click" 
        ></asp:Button>
    
                                                                            </td>
                                                                            </tr>
                                                                            </table>
    
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_PMD_Save" runat="server" Text="Save" CssClass="form_button" ToolTip="Save" CausesValidation="false"
                                                                                        OnClick="btn_PMD_Save_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btnPMDReset" type="reset" value="Reset" class="form_button" />
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep ID="WizardStep9" runat="server" Title="Passport Details">
                                                        <div>
                                                            <table   width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel9" runat="server" GroupingText="Passport/Identification Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqpmd" ControlToValidate="txt_PID_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_WorkLocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDDept" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PIDSection" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_EmpName" Enabled="false" runat="server" CssClass="textfild_input160"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlIDDetails" GroupingText="ID Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDIDType" runat="server" CssClass="label100" Text="ID Type"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlIDType" runat="server" AutoPostBack="true" CssClass="select100"
                                                                                            OnSelectedIndexChanged="ddlIDType_SelectedIndexChanged">
                                                                                            <asp:ListItem>ID</asp:ListItem>
                                                                                            <asp:ListItem>Visa</asp:ListItem>
                                                                                            <asp:ListItem>Manpower Card</asp:ListItem>
                                                                                            <asp:ListItem>Passport</asp:ListItem>
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDCountry" runat="server" CssClass="label100" Text="Country"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlCountry" runat="server" CssClass="select150">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lbl_ID" runat="server" Text="ID"  Visible="false" CssClass="label100"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtID" runat="server" CssClass="textfild_input100" Visible="False"></asp:TextBox>
                                                                                    </td>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lbl_Place" runat="server" Text="Place Of Issue" Visible="False" CssClass="label100"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPlaceOfIssue" runat="server" CssClass="textfild_input100" Visible="False"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDIssueDate" runat="server" CssClass="label100" Text="Issue Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtIssueDate" runat="server" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqIssueDate" runat="server" ControlToValidate="txtIssueDate"
                                                                                            ErrorMessage="Issue Date Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblPIDExpiryDate" runat="server" CssClass="label100"  Text="Expiry Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtExpiryDate" runat="server" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqExpDate" runat="server" ControlToValidate="txtExpiryDate"
                                                                                            ErrorMessage="Expiry Date Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_PID_Save" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btn_PID_Save_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btnRestPID" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Qualification Details" ID="WizardStep10">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel10" runat="server" GroupingText="Employee Qualification Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QDEmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqQDEmpCode" ControlToValidate="txt_QDEmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QDWork" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_EmpName" Enabled="false" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlqualdetails" GroupingText="Qualification Details" runat="server"
                                                                            CssClass="panelGridColumnTable1" Width="948px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDQualification" runat="server" CssClass="label100" Text="Qualification Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_Qualification" runat="server" AutoPostBack="true" CssClass="select100"
                                                                                            OnSelectedIndexChanged="ddl_QD_Qualification_SelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="ddl_QD_Qualification"
                                                                                            ErrorMessage="Qualification Code Field Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDYearStart" runat="server" CssClass="label100" Text="Start Year"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_YearStart" runat="server" CssClass="select100" >
                                                                                          
                                                                                          
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rqStart" runat="server" ControlToValidate="ddlQD_YearStart" ErrorMessage="Please select year." ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMonthStart" runat="server" CssClass="label100" Text="Month"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_MonthStart" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem Value="1">January</asp:ListItem>
                                                                                            <asp:ListItem Value="2">February</asp:ListItem>
                                                                                            <asp:ListItem Value="3">March</asp:ListItem>
                                                                                            <asp:ListItem Value="4">April</asp:ListItem>
                                                                                            <asp:ListItem Value="5">May</asp:ListItem>
                                                                                            <asp:ListItem Value="6">June</asp:ListItem>
                                                                                            <asp:ListItem Value="7">July</asp:ListItem>
                                                                                            <asp:ListItem Value="8">August</asp:ListItem>
                                                                                            <asp:ListItem Value="9">September</asp:ListItem>
                                                                                            <asp:ListItem Value="10">October</asp:ListItem>
                                                                                            <asp:ListItem Value="11">November</asp:ListItem>
                                                                                            <asp:ListItem Value="12">December</asp:ListItem>
                                                                                        </asp:DropDownList>
    
                                                                                        <asp:RequiredFieldValidator ID="rfqStartMonth" runat="server" ControlToValidate="ddlQD_MonthStart" ErrorMessage="Start Month Should not be Empty." ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
    
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDQualStatus" runat="server" CssClass="label100" Text="Status"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_QualStatus" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Completed</asp:ListItem>
                                                                                            <asp:ListItem>Being Pursued</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rfqStatus" ControlToValidate="ddlQD_QualStatus"
                                                                                            ErrorMessage="Status Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
    
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDSchool" runat="server" CssClass="label200" Text="Name of University/Board/Insitute/School"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_School" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                      <asp:RequiredFieldValidator ID="rfqSchool" ControlToValidate="txt_QD_School"
                                                                                            ErrorMessage="Name Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDYearObtained" runat="server" CssClass="label100" Text="Year of Passing/Year Obtained"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_YearObtained" runat="server" CssClass="select100" 
                                                                                         
                                                                                           >
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMonthObtained" runat="server" CssClass="label100" Text="Month"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_MonthObtained" runat="server" 
                                                                                            CssClass="select100"  AutoPostBack="true" 
                                                                                            OnSelectedIndexChanged="ddl_QD_MonthObtained_SelectedIndexChanged">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem Value="1">January</asp:ListItem>
                                                                                            <asp:ListItem Value="2">February</asp:ListItem>
                                                                                            <asp:ListItem Value="3">March</asp:ListItem>
                                                                                            <asp:ListItem Value="4">April</asp:ListItem>
                                                                                            <asp:ListItem Value="5">May</asp:ListItem>
                                                                                            <asp:ListItem Value="6">June</asp:ListItem>
                                                                                            <asp:ListItem Value="7">July</asp:ListItem>
                                                                                            <asp:ListItem Value="8">Auguest</asp:ListItem>
                                                                                            <asp:ListItem Value="9">September</asp:ListItem>
                                                                                            <asp:ListItem Value="10">October</asp:ListItem>
                                                                                            <asp:ListItem Value="11">November</asp:ListItem>
                                                                                            <asp:ListItem Value="12">December</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMajor" runat="server" CssClass="label100" Text="Major Specialization/Branch"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_Major" runat="server" CssClass="select100">
                                                                                        </asp:DropDownList>
                                                                                         <asp:RequiredFieldValidator ID="rfqMajor" ControlToValidate="ddl_QD_Major"
                                                                                            ErrorMessage="Major Subject Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
    
                                                                                        
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDModeStudy" runat="server" CssClass="label100" Text="Mode of Study"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_ModeStudy" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Online</asp:ListItem>
                                                                                            <asp:ListItem>Full Time</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                    <asp:Label ID="lblTime" runat="server" CssClass="label100" Text="Time Since"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                    <asp:Label ID="lblTimeSince" runat="server" CssClass="label110" ></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMarks" runat="server" CssClass="label100" Text="Percentage of Marks"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Marks" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="ReqMarks" runat="server" ControlToValidate="txt_QD_Marks"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDGPA" runat="server" CssClass="label100" Text="GPA"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_GPA" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="ReqGrade" runat="server" ControlToValidate="txt_QD_GPA"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDClass" runat="server" CssClass="label100" Text="Class"></asp:Label>
    
                                                                                     
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_Class" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                           <asp:RequiredFieldValidator ID="rfqClass" ControlToValidate="txt_Class"
                                                                                            ErrorMessage="Class Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                        <asp:RegularExpressionValidator ControlToValidate="txt_Class" ValidationExpression="^[0-9]*$" ErrorMessage="Only numbers Allowed." runat="server"  ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                         <asp:RangeValidator ID="rvRangeClass" runat="server" ControlToValidate="txt_Class" ErrorMessage="Class Is Not In Proper Format.Enter either 1 or 2."
                                                                                                        MaximumValue="2" MinimumValue="1" Type="Integer" ForeColor="Red"></asp:RangeValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDGrade" runat="server" CssClass="label100" Text="Grade/Rating"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_Grade" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Good</asp:ListItem>
                                                                                            <asp:ListItem>Excellent</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                 
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        <asp:Button ID="btn_Add_Qualification" runat="server"  
                                                                                            OnClick="btn_Add_Qualification_Click"  Text="Add Qualification" 
                                                                                           CssClass="form_button1" Width="172px" />
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
    
                                                                          <div id="divQualification"  runat="server"  visible="false" style="overflow: scroll; height: 188px; width: 890px">
                                                                        <table class="Form_Table">
                                                                        
                                                                            <tr>
                                                                                <td align="right">
                                                                                    <asp:GridView ID="gv_Qualification" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                                                                                        BorderStyle="None" 
                                                                                         GridLines="Vertical" DataKeyNames="InstitutionName"
                                                                                        CssClass="gridview" OnRowDataBound="gv_Qualification_RowDataBound">
                                                                                    <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                        <Columns>
                                                                                        <asp:TemplateField HeaderText="Select">
                                                                                        <ItemTemplate>
                                                                                        <asp:CheckBox ID="chkQualification" runat="server" />
                                                                                        </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Qualification Code">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblQualCode" runat="server" Text='<%# Eval("QualificationCode") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txt_Edit_QD_QualificationCode" runat="server" Text='<%# Eval("QualificationCode") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="University">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QD_University" runat="server" Text='<%# Eval("InstitutionName") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QD_Insitution" runat="server" Text='<%# Eval("InstitutionName") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Branch">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QD_Branch" runat="server" Text='<%# Eval("SpecializationBranch") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QD_Branch" runat="server" Text='<%# Eval("SpecializationBranch") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Mode of Study">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDMode" runat="server" Text='<%# Eval("ModeOfStudy") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditModeStudy" runat="server" Text='<%# Eval("ModeOfStudy") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Marks %">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDMarks" runat="server" Text='<%# Eval("MarksPercentage") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditMarks" runat="server" Text='<%# Eval("MarksPercentage") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="GPA">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDGPA" runat="server" Text='<%# Eval("GPA") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditGPA" runat="server" Text='<%# Eval("GPA") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Class">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Start Year">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_StartYear" runat="server" Text='<%# Eval("StartYear") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txt_EditStartYear" runat="server" Text='<%# Eval("StartYear") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Month">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDMonth" runat="server" Text='<%# Eval("startYearMonth") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditQDMonth" runat="server" Text='<%# Eval("startYearMonth") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Year of Passing">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_YearPassing" runat="server" Text='<%# Eval("YearOfPassing") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditYearPassing" runat="server" Text='<%# Eval("YearOfPassing") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Month of Passing">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_MonthPassing" runat="server" Text='<%# Eval("YOPMonth") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditQD_MonthPassing" runat="server" Text='<%# Eval("YOPMonth") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Class">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblQDClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QDClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Grade">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDGrade" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QDGrade" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                              <asp:TemplateField HeaderText="Status">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDStatus" runat="server" Text='<%# Eval("Status") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QDStatus" runat="server" Text='<%# Eval("Status") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
    
    
                                                                                        </Columns>
                                                                                        <FooterStyle BackColor="#CCCC99" />
                                                                                        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                        <RowStyle BackColor="#F7F7DE" />
                                                                                        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                    </asp:GridView>
                                                                                </td>
                                                                            </tr>
                                                                                
                                                                        </table>
                                                                        </div>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                    <asp:Button ID="btnEditQualification" runat="server" CausesValidation="False" 
                                                                                        CssClass="form_button" OnClick="btnQualificationEdit_Click" 
                                                                                        OnClientClick="javascript:return CheckBoxValidateQualification(this)" 
                                                                                        Text="Edit" Visible="False" />
                                                                                    &nbsp;
                                                                                    <asp:Button ID="btnDeleteQualification" runat="server" CausesValidation="False" 
                                                                                        CssClass="form_button" OnClick="btnQualificationDelete_Click" 
                                                                                        OnClientClick="javascript:return CheckBoxValidateQualification(this)" 
                                                                                        Text="Delete" Visible="False" />
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnQualificationSave" runat="server" CausesValidation="False" 
                                                                                        CssClass="form_button" OnClick="btnQualificationSave_Click" Text="Save" 
                                                                                        ToolTip="Save" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btnResetQualification" type="reset" value="Reset" class="form_button"  />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                          
                                                         
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Family Details" ID="WizardStep11">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel11" runat="server" GroupingText="Employee Family Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" ControlToValidate="txt_FD_EmpCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Work" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Department" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Department" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_EmpName" Enabled="false" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Postion" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel12" GroupingText="Family Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Name" runat="server" CssClass="label100" Text="Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Name" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqFDName" ControlToValidate="txt_FD_Name" ErrorMessage="Name Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Relation" runat="server" CssClass="label100" Text="Relationship"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Relation" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqFDRelation" ControlToValidate="txt_FD_Relation"
                                                                                            ErrorMessage="Relation Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Gender" runat="server" CssClass="label100" Text="Gender"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlFD_Gender" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Male</asp:ListItem>
                                                                                            <asp:ListItem>Female</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rfqGender" ControlToValidate="ddlFD_Gender" ErrorMessage="Gender Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Id" runat="server" CssClass="label100" Text="ID No"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Id" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Occupation" runat="server" CssClass="label100" Text="Occupation"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Occupation" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Birth" runat="server" CssClass="label100" Text="Date of Birth"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Birth" runat="server" Width="100px" 
                                                                                            onFocus="testDOB()"  CssClass="datepickerDOB" 
                                                                                            ></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDAge" runat="server" CssClass="label100" Text="Age"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FDAge" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                       <asp:RegularExpressionValidator ID="revFDAge" runat="server" ControlToValidate="txt_FDAge"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$"   ForeColor="Red" ></asp:RegularExpressionValidator>
                                                                                                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txt_FDAge" ErrorMessage="Age Is Not In Proper Format"
                                                                                                        MaximumValue="100" MinimumValue="16" Type="Integer" ForeColor="Red"></asp:RangeValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                       <asp:Label ID="lblFDContact" runat="server" CssClass="label100" Text="Contact Number"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                       <asp:TextBox ID="txt_FDPhone" runat="server" CssClass="textfild_input100"></asp:TextBox>
    
                                                                                    </td>
                                                                                    <td>
                                                                                     <asp:RegularExpressionValidator ID="reqFDMobile" runat="server" ControlToValidate="txt_FDPhone"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$"   ForeColor="Red" ></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Passport" runat="server" CssClass="label100" Text="Passport Number"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Passport" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_ExpDate" runat="server" CssClass="label100" Text="Expiry Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_ExpDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Physically" runat="server" CssClass="label100" Text="Physically Challenged"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_FD_Physically" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Yes</asp:ListItem>
                                                                                            <asp:ListItem>No</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                          <asp:RequiredFieldValidator ID="rfqPhysicall" ControlToValidate="ddl_FD_Physically" ErrorMessage="Physically Challenged Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                     
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="center" colspan="6">
                                                                                        <asp:Button ID="btnFamilyDetailsAdd" Text="Add Family Details" runat="server" CssClass="form_button1"
                                                                                            OnClick="btnFamilyDetailsAdd_Click" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td align="right">
                                                                                    <div id="divFamily" runat="server" visible="false"  style="overflow: scroll; height: 102px;">
                                                                                        <asp:GridView ID="gvFamily" runat="server" AutoGenerateColumns="False" CssClass="gridview"
                                                                                             DataKeyNames="Name"
                                                                                            EnableModelValidation="True" GridLines="Vertical" OnRowCommand="gvFamily_RowCommand">
                                                                                          <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="Select">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:CheckBox ID="chkFamily" runat="server" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:BoundField DataField="Name" HeaderText="Name" />
                                                                                                <asp:BoundField DataField="Relationship" HeaderText="Relation" />
                                                                                                <asp:BoundField DataField="Gender" HeaderText="Gender" />
                                                                                                <asp:BoundField DataField="IDNo" HeaderText="ID No" />
                                                                                                <asp:BoundField DataField="Occupation" HeaderText="Occupation" />
                                                                                                <asp:BoundField DataField="DateOfBirth" HeaderText="Date Of Birth" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                <asp:BoundField DataField="Age" HeaderText="Age" />
                                                                                                <asp:BoundField DataField="PassportNo" HeaderText="Passport Number" />
                                                                                                <asp:BoundField DataField="ExpiryDate" HeaderText="Expiry Date" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                <asp:BoundField DataField="PhysicallyChallenged" HeaderText="Physically Challenged" />
                                                                                                   <asp:BoundField DataField="Phone" HeaderText="Phone" />
    
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Button ID="btnEditFamily" runat="server" CssClass="form_button" 
                                                                                        OnClick="btnEditFamily_Click"  CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidateFamily(this)" Text="Edit" 
                                                                                        Visible="False" />
    
                                                                                        &nbsp
                                                                                  <asp:Button runat="server" CausesValidation="false"  OnClientClick="javascript:return CheckBoxValidateFamily(this)" Text="Delete" 
        CssClass="form_button" ID="btnDeleteFamily" Visible="False" 
        OnClick="btnDeleteFamily_Click"></asp:Button>
    
                                                                                
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                            <tr align="center">
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnFamilySave" runat="server" CssClass="form_button" Text="Save" CausesValidation="false"
                                                                                        ToolTip="Save" OnClick="btnFamilySave_Click" />&nbsp
                                                                                    <input id="btnResetFamily" class="form_button" type="reset" value="Reset" />
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" StepType="Finish" Title="Employee Language Details"
                                                        ID="WizardStep12">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel13" runat="server" GroupingText="Employee Language Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEmpCodes" ControlToValidate="txt_LD_EmpCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Work" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="lbl_LD_Department" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_EmpName" Enabled="false" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Postion" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlLD" GroupingText="Language Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblLDlanguage" runat="server" CssClass="label100" Text="Language"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddl_LD_language" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                   <asp:RequiredFieldValidator ID="reqLanguage" runat="server" ControlToValidate="ddl_LD_language" Display="Static"  InitialValue=""  Text="*"  ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblLDMotherTonmgue" runat="server" CssClass="label100" Text="Mother Tongue"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddl_LD_MotherTonmgue" runat="server" CssClass="select100">
                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                        <asp:ListItem>No</asp:ListItem>
                                                                                                        <asp:ListItem>Yes</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Panel ID="pnlProficiency" runat="server" GroupingText="Proficiency" BorderColor="#CCCCFF"
                                                                                                        BorderStyle="Solid" BorderWidth="1px">
                                                                                                        <table>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDRead" runat="server" CssClass="label100" Text="To Read"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:CheckBox ID="chkRead" runat="server" AutoPostBack="true" 
                                                                                                                        OnCheckedChanged="chkRead_CheckedChanged" />
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDReadRating" runat="server" CssClass="label100" Text="Rating"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:DropDownList ID="ddl_ReadRating" runat="server" CssClass="select100">
                                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                                        <asp:ListItem>Good</asp:ListItem>
                                                                                                                        <asp:ListItem>Average</asp:ListItem>
                                                                                                                        <asp:ListItem>Excellent</asp:ListItem>
                                                                                                                    </asp:DropDownList>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDWrite" runat="server" CssClass="label100" Text="To Write"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:CheckBox ID="chkWrite" runat="server" AutoPostBack="true" 
                                                                                                                        OnCheckedChanged="chkWrite_CheckedChanged"  />
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDWriteRating" runat="server" CssClass="label100" Text="Rating"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:DropDownList ID="ddl_WriteRating" runat="server" CssClass="select100">
                                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                                        <asp:ListItem>Good</asp:ListItem>
                                                                                                                        <asp:ListItem>Average</asp:ListItem>
                                                                                                                        <asp:ListItem>Excellent</asp:ListItem>
                                                                                                                    </asp:DropDownList>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDSpeak" runat="server" CssClass="label100" Text="To Speak"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:CheckBox ID="chkSpeak" runat="server"  AutoPostBack="true" 
                                                                                                                        OnCheckedChanged="chkSpeak_CheckedChanged" />
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDSpeakRating" runat="server" CssClass="label100" Text="Rating"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:DropDownList ID="ddl_SpeakRating" runat="server" CssClass="select100">
                                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                                        <asp:ListItem>Average</asp:ListItem>
                                                                                                                        <asp:ListItem>Good</asp:ListItem>
                                                                                                                        <asp:ListItem>Excellent</asp:ListItem>
                                                                                                                    </asp:DropDownList>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Button ID="btnAdd_Language" runat="server" Text="Add Language" Visible="true"
                                                                                                                        OnClick="btnAdd_Language_Click" CssClass="form_button" />
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                        </table>
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <div id="divLanguage"  runat="server" visible="false" style="overflow: scroll; height: 83px; width: 795px">
                                                                                        <asp:GridView ID="gvLanguage" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                                                                                            CssClass="gridview" BorderStyle="None"
                                                                                            GridLines="Vertical" DataKeyNames="ID" 
                                                                                         >
                                                                                         <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="Select">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:CheckBox ID="chkLanguage" runat="server" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Language">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lblLanguage" runat="server" Text='<%# Eval("Language") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Mother Tongue">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MotherTongue" runat="server" Text='<%# Eval("MotherTongue") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Proficiency To Read">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_Read" runat="server" Text='<%# Eval("ProficiencyToRead") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Read Rating">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_ReadRating" runat="server" Text='<%# Eval("ReadRating") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Proficiency to Write">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_Write" runat="server" Text='<%# Eval("ProficiencyToWrite") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Write Rating">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_WriteRating" runat="server" Text='<%# Eval("WriteRating") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Proficiency to Speak">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_Speak" runat="server" Text='<%# Eval("ProficiencyToSpeak") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Speak Rating">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_SpeakRating" runat="server" Text='<%# Eval("SpeakRating") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Button ID="btnEditLanguage" runat="server" CssClass="form_button" Visible="false" CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidation(this)" Text="Edit" OnClick="btnEditLanguage_Click" />&nbsp
                                                                                    <asp:Button ID="btnDeleteLanguage" runat="server" CssClass="form_button" Visible="false" CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidation(this)" Text="Delete" OnClick="btnDeleteLanguage_Click" />
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnLanguageSave" runat="server" CssClass="form_button" Text="Save"
                                                                                        OnClick="btnLanguageSave_Click" ToolTip="Save" CausesValidation="false" />&nbsp
                                                                                    <input id="btnResetLanguage" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                </WizardSteps>
                                            </asp:Wizard>
                                        </td>
      protected void btnfileupload_Click(object sender, EventArgs e)
        {
           
            string employeeCode = txtEmployeeCode.Text;
            if (fileImage.HasFile)
            {
    
                //Session["Image"] = fileImage.PostedFile;
    
                System.IO.Stream fs = fileImage.PostedFile.InputStream;
                System.IO.BinaryReader br = new System.IO.BinaryReader(fs);
                Byte[] bytesPhoto = br.ReadBytes((Int32)fs.Length);
                string base64String = Convert.ToBase64String(bytesPhoto, 0, bytesPhoto.Length);
                imgPhoto.ImageUrl = "data:image/png;base64," + base64String;
    
    
                imgPhoto.Visible = true;
              // uplEmployeeAdministration.Update();
    
    
                filePath = fileImage.PostedFile.FileName;
                filename = Path.GetFileName(filePath);
                bytes = UploadFile(filename);
    
               
            }
    
            String save; // storing the path of the image filename
    
            // if image file size is greater then below condition will execute it.
    
    
    
    
    
            //strQuery = "insert into [OETC_HRMS].[dbo].[Emp_PersonalDetails](EmployeeCode, EmpPhoto_Name, EmpPhoto)" +
            //                 " values (@EmployeeCode,@EmpPhoto_Name, @EmpPhoto)";
    
    
            ////strQuery = "UPDATE [OETC_HRMS].[dbo].[Emp_PersonalDetails] SET EmployeeCode = @Employee_Code, Title = @Title, FirstName = @FirstName, MiddleName = @MiddleName, LastName = @LastName, Tribe = @Tribe, ShortName = @ShortName, DOB = @DOB, Age = @Age, DOJ = @DOJ, Gender = @Gender, MaritalStatus = @MaritalStatus, CivilID = @CivilID, InsuranceType = @InsuranceType, Nationality = @Nationality, Religion = @Religion, CivilIDExpiry = " + epdCivilIDExpiryDate + ", IDNo = @IDNo, Email = @Email, PlaceOfBirth = @PlaceOfBirth" +
            ////            " where [EmployeeCode] = '" + employeeCode + "'";
            //SqlCommand cmd = new SqlCommand(strQuery);
            //cmd.Parameters.Add("@EmployeeCode", SqlDbType.VarChar).Value = employeeCode;
    
            //cmd.Parameters.Add("@EmpPhoto_Name", SqlDbType.VarChar).Value = filename;
            //cmd.Parameters.Add("@EmpPhoto", SqlDbType.VarBinary).Value = bytes;
            //objCon.InsertUpdateData(cmd);
    
    
    
    
    
    
        }



     

    Tuesday, December 24, 2013 12:04 AM

Answers

  • User-1818759697 posted

    Hi,

    About this situation, I have tested your codes ( And I have drop the unrelated event, except for the btnfileupload_Click event), and it works fine. Besides, I also create a new Wizard steps control and within the second step there is a upload control, button and image control. And it works also fine. So, you could refer to the following codes and check the result:

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RepeaterWithTextarea.aspx.cs" Inherits="WebApplication1.RepeaterWithTextarea" %>
    
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
    
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
              <br /><br /><br />
            Wizard Step:
    <%--        <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0">
                            
                <WizardSteps>
                    <asp:WizardStep ID="WizardStep1" runat="server" Title="Step 1">
                        Hello
                    </asp:WizardStep>
                    <asp:WizardStep ID="WizardStep2" runat="server" Title="Step 2">
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                        <asp:Button ID="btnUpload" runat="server" Text="Upload" onclick="btnUpload_Click"/>
                        <hr />
                        <asp:Image ID="Image1" Visible = "false" runat="server" Height = "100" Width = "100" />
                    </asp:WizardStep>
                    <asp:WizardStep runat="server" Title="Step 3">
                    </asp:WizardStep>
                </WizardSteps>
            </asp:Wizard>--%>
    
    
            <asp:Wizard ID="wzEmployeeAdministration" runat="server" Width="965px" DisplaySideBar="False"
                                                ActiveStepIndex="0"
                                                OnNextButtonClick="wzEmployeeAdministration_NextButtonClick" OnPreviousButtonClick="wzEmployeeAdministration_PreviousButtonClick"
                                                NavigationButtonStyle-CssClass="form_button" OnActiveStepChanged="wzEmployeeAdministration_ActiveStepChanged"
                                                OnFinishButtonClick="wzEmployeeAdministration_FinishButtonClick">
                                                     <FinishNavigationTemplate>
                                                    <asp:Button ID="FinishPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious"
                                                        CssClass="form_button" Text="Previous" />
                                                    <asp:Button ID="FinishButton" runat="server" CommandName="MoveComplete" CssClass="form_button"
                                                        Text="Finish" />
                                                </FinishNavigationTemplate>
                                                <NavigationButtonStyle CssClass="form_button" />
                                                <StartNavigationTemplate>
                                                    <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" CausesValidation="False" CssClass="form_button"
                                                        Text="Next" />
                                                </StartNavigationTemplate>
                                                <StepNavigationTemplate>
                                                    <asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious"
                                                        CssClass="form_button" Text="Previous" />
                                                    <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" CausesValidation="False" CssClass="form_button"
                                                        Text="Next" />
                                                </StepNavigationTemplate>
                                                <WizardSteps>
                                                    <asp:WizardStep ID="WizardStep1" runat="server" Title="Employee Search" StepType="Start">
                                                <div>
                                                
                                                   <asp:UpdatePanel ID="upnlMain" runat="server">
                            <ContentTemplate>
                                   <table width="100%" border="1">
                                                            <tr>
                                                                <td width="100%">
                                                                    <table width="100%">
                                                                        <tr>
                                                                            <td width="100%">
                                                                                <h2 style="font-size: 12px; font-weight: bold; border-width: thin; width: 948px;">
                                                                                    Employee Module</h2>
                                                                            </td>
                                                                        </tr>
                                                                       
                                                                        <tr>
                                                                            <td>
                                                                                <div id="tabs-2">
                                                                                    <table width="100%" class="Form_Table">
                                                                                        <tr>
                                                                                            <td>
                                                                                                <asp:Label ID="lblEmpCode"  CssClass="label100"  runat="server" Text="Employee Code"></asp:Label>
                                                                                            </td>
                                                                                           <td>
                                                                                                <asp:TextBox ID="txtEmpCode" CssClass="textfild_input65" runat="server"></asp:TextBox>
                                                                                            </td>
                                                                                          <td>
                                                                                                <asp:ImageButton ID="imgbtnSearch" runat="server" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/icon_search_n.gif"
                                                                                                    OnClick="imgbtnSearch_Click" />
                                                                                            </td>
                                                                                           
                                                                                            <td>
                                                                                                <ajaxToolkit:ModalPopupExtender ID="mpSearch" BackgroundCssClass="ModalPopupBG" runat="server"
                                                                                                    CancelControlID="imgLoginClose" PopupControlID="divPopupSearch" TargetControlID="btnDummy"
                                                                                                    Enabled="True">
                                                                                                </ajaxToolkit:ModalPopupExtender>
                                                                                                <div id="divPopupSearch" style="width: 600px; height: auto; background-color: White;
                                                                                                    display: none;">
                                                                                                    <div class="popup_Titlebar" id="divLoginTitle" style="background-image: url('~/Layouts/OETC_HRMS_Employee/Images/titlebar_bg.jpg')">
                                                                                                        <div class="TitlebarLeft" style="color: White; text-align: center; font-family: calibri;
                                                                                                            font-size: 14px;">
                                                                                                            Employee Code Search
                                                                                                        </div>
                                                                                                        <div class="TitlebarRight">
                                                                                                            <asp:ImageButton ID="imgLoginClose" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/cross_icon_normal.png"
                                                                                                                runat="server" BorderStyle="None" />
                                                                                                        </div>
                                                                                                        <div style="visibility: hidden">
                                                                                                            <asp:Button ID="btnDummy" runat="server" Text="Button" />
                                                                                                        </div>
    
                                                                                                                
                                                                                                    </div>
                                                                                                    <div style="font-size: 14px; font-weight: normal; color: Black; line-height: 15pt; clear: both; padding: 5px; text-align: center;" id="divLoginBody">
                                                                                                        <table class="Form_Table">
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblPEmpCode" runat="server" Text="Employee Code" CssClass="label100"></asp:Label>
                                                                                                                    <asp:TextBox ID="txtPopEmpCode" AutoPostBack="true" CssClass="textfild_input75" runat="server"
                                                                                                                        OnTextChanged="txtPopEmpCode_TextChanged"></asp:TextBox>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblPEmpName" runat="server" Text="Employee Name" CssClass="label100"></asp:Label>
                                                                                                                    <asp:TextBox ID="txtPopEmpName" CssClass="textfild_input200" runat="server" OnTextChanged="txtPopEmpName_TextChanged"></asp:TextBox>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:GridView ID="gvPopEmpDetails" CssClass="gridview" runat="server" EmptyDataText="&nbsp;No Records Found"
                                                                                                                        ShowHeaderWhenEmpty="true" AllowPaging="True" AutoGenerateColumns="False" Width="550px"
                                                                                                                        OnPageIndexChanging="gvPopEmpDetails_PageIndexChanging">
                                                                                                                        <Columns>
                                                                                                                            <asp:TemplateField HeaderText="Serial No.">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <%#Container.DataItemIndex + 1%>
                                                                                                                                </ItemTemplate>
                                                                                                                            </asp:TemplateField>
                                                                                                                            <asp:TemplateField HeaderText="Employee Code">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:LinkButton ID="lnkbtnEmpcode" runat="server" OnClick="lnkbtnEmpcode_Click" Text='<%# bind("EmployeeCode")
    
    %>'></asp:LinkButton>
                                                                                                                                </ItemTemplate>
                                                                                                                            </asp:TemplateField>
                                                                                                                            <asp:TemplateField HeaderText="Employee Name">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:LinkButton ID="lnkbtnEmpName" runat="server" OnClick="lnkbtnEmpcode_Click" Text='<%# bind("FullName")
    
    %>'></asp:LinkButton>
                                                                                                                                </ItemTemplate>
                                                                                                                            </asp:TemplateField>
                                                                                                                        </Columns>
                                                                                                                        <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                                                        <PagerStyle CssClass="test" />
                                                                                                                        <PagerSettings Mode="NumericFirstLast" LastPageText="Last" FirstPageText="First"
                                                                                                                            Visible="true" PageButtonCount="5" NextPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/rightArrow.png"
                                                                                                                            PreviousPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/leftArrow.png" />
                                                                                                                    </asp:GridView>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                        </table>
                                                                                                    </div>
                                                                                                </div>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label ID="lblEmpName" CssClass="label100" runat="server" Text="Employee Name"></asp:Label>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:TextBox ID="txtEmpName" CssClass="textfild_input200" runat="server"></asp:TextBox>
                                                                                            </td>
                                                                                            <td>
                                                                                               <asp:Label ID="lblNationality" runat="server" Text="Nationality" CssClass="label100"></asp:Label></td>
                                                                                            <td>
                                                                                                <asp:DropDownList ID="ddlNationality" runat="server" Width="150px"></asp:DropDownList></td>
                                                                                            <td>
                                                                                                <asp:Label ID="lblDepartment" runat="server" Text="Department" CssClass="label100"></asp:Label></td>
                                                                                            <td>
                                                                                               <asp:TextBox ID="txtDepartmentSearch" runat="server"
                                                                                                    CssClass="textfild_input140" ReadOnly="True"></asp:TextBox>
                                                                                                <asp:ImageButton ID="imgbtnDeptSearch" runat="server" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/icon_search_n.gif"   OnClick="imgbtnDeptSearch_Click" />
                                                                                               </td>
                                                                                        </tr>
                                                                                       
                                                                                    </table>
                                                        <div>
                                                            <asp:UpdatePanel ID="upnlPopupSearch" runat="server" UpdateMode="Conditional">
                                                                <ContentTemplate>
                                                                
                                                                    <ajaxToolkit:ModalPopupExtender ID="mpeDeptSearch" BackgroundCssClass="ModalPopupBG" runat="server"
                                                                        CancelControlID="imgDeptSrchClose" PopupControlID="divdeptSearch" TargetControlID="btndeptdummy"
                                                                        Enabled="True">
                                                                    </ajaxToolkit:ModalPopupExtender>
                                                                    <div id="divdeptSearch" style="width: 600px; height: auto; background-color: White;
                                                                        display: none;">
                                                                        <div class="popup_Titlebar" id="div2" style="background-image: url('includes/images/titlebar_bg.jpg')">
                                                                            <div class="TitlebarLeft" style="color: White; text-align: center; font-family: calibri;
                                                                                font-size: 14px;">
                                                                                Search
                                                                            </div>
                                                                            <div class="TitlebarRight">
                                                                                <asp:ImageButton ID="imgDeptSrchClose" ImageUrl="~/includes/images/cross_icon_normal.png"
                                                                                    runat="server" BorderStyle="None" />
                                                                            </div>
                                                                            <div style="visibility: hidden">
                                                                                <asp:Button ID="btndeptdummy" runat="server" Text="Button" />
                                                                            </div>
                                                                        </div>
                                                                        <div style="font-size: 14px; font-weight: normal; color: Black; line-height: 15pt;
                                                                            clear: both; padding: 5px; text-align: center;" id="div3">
                                                                            <asp:UpdatePanel ID="upPopupEmpDept" runat="server" UpdateMode="Conditional">
                                                                                <ContentTemplate>
                                                                                    <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                                                        <tr>
                                                                                            <td colspan="2">
                                                                                                <asp:UpdatePanel ID="upnlPopupGrid" runat="server" UpdateMode="Conditional">
                                                                                                    <ContentTemplate>
                                                                                                        <asp:GridView ID="gvDepartment" CssClass="gridview" runat="server" EmptyDataText="&nbsp;No Records Found"
                                                                                                            ShowHeaderWhenEmpty="true" AllowPaging="True" AutoGenerateColumns="False" Width="550px"
                                                                                                            OnPageIndexChanging="gvDepartment_PageIndexChanging">
                                                                                                            <Columns>
                                                                                                                <asp:TemplateField HeaderText="Serial No.">
                                                                                                                    <ItemTemplate>
                                                                                                                        <%#Container.DataItemIndex + 1 %>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <asp:TemplateField HeaderText="Department Code" Visible="false">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:LinkButton ID="lnkbtnDepartmentCode" runat="server" OnClick="lnkbtnDepartmentCode_Click"
                                                                                                                            Text='<%# bind("ID") %>'></asp:LinkButton>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <asp:TemplateField HeaderText="Department">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:LinkButton ID="lnkbtnDepartment" runat="server" OnClick="lnkbtnDepartmentCode_Click"
                                                                                                                            Text='<%# bind("Department") %>'></asp:LinkButton>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                            </Columns>
                                                                                                            <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                                            <PagerStyle CssClass="test" />
                                                                                                            <PagerSettings Mode="NumericFirstLast" LastPageText="Last" FirstPageText="First"
                                                                                                                Visible="true" PageButtonCount="5" />
                                                                                                        </asp:GridView>
                                                                                                        
                                                                                                        
                                                                                                    </ContentTemplate>
                                                                                                </asp:UpdatePanel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ContentTemplate>
                                                                            </asp:UpdatePanel>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
    
    
    
                                                                                    <div class="buttonContainer" style="width: 100%">
                                                                                        <table class="form_buttonContainer" border="0" cellspacing="0" cellpadding="0">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Button ID="btnSearchEmp" CssClass="form_button" runat="server" Text="Search"
                                                                                                        OnClick="btnSearchEmp_Click" />
                                                                                                    &nbsp;
                                                                                                    <asp:Button ID="Button1" CssClass="form_button" runat="server" Text="Reset" OnClick="Button1_Click" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                    <div>
                                                                                        <table width="100%" class="Form_Table" >
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:GridView ID="gvEmployees" CssClass="gridview" Width="100%" EmptyDataText="&nbsp;No Records Found"
                                                                                                        ShowHeaderWhenEmpty="true" runat="server" AutoGenerateColumns="False" AllowPaging="True"
                                                                                                        OnPageIndexChanging="gvEmployees_PageIndexChanging">
                                                                                                        <Columns>
                                                                                                            <asp:TemplateField HeaderText="Sl No." ItemStyle-Width="50px">
                                                                                                                <ItemTemplate>
                                                                                                                    <%#Container.DataItemIndex + 1%>
                                                                                                                </ItemTemplate>
                                                                                                                <ItemStyle Width="50px" />
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Employee Code" ItemStyle-Width="100px">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDEmpCode" runat="server" Text='<%# bind("EmployeeCode") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                                <ItemStyle Width="100px" />
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Employee Name">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDEmpName" runat="server" Text='<%# bind("FullName") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Unit">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDUnit" runat="server" Text='<%# bind("Unit") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Department">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDDepartment" runat="server" Text='<%# bind("Department") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Position">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDPosition" runat="server" Text='<%# bind("Position") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Work Location">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDWorkLocation" runat="server" Text='<%# bind("WorkLocation") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
    
                                                                                                               <asp:TemplateField HeaderText="Nationality">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="lblDNationality" runat="server" Text='<%# bind("Nationality") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                        </Columns>
                                                                                                        <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                                        <PagerStyle CssClass="test" />
                                                                                                        <PagerSettings Mode="NumericFirstLast" LastPageText="Last" FirstPageText="First"
                                                                                                            Visible="true" PageButtonCount="5" NextPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/rightArrow.png"
                                                                                                            PreviousPageImageUrl="~/Layouts/OETC_HRMS_Employee/Images/leftArrow.png" />
                                                                                                    </asp:GridView>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Button ID="btnCreate" runat="server" Text="Create Employee" CssClass="form_button"  OnClick="btnCreate_Click" />
                                                                    &nbsp
                                                                    <asp:Button ID="btnEdit" runat="server" Text="Edit" OnClick="btnEdit_Click"  CssClass="form_button" Visible="false" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                         </ContentTemplate></asp:UpdatePanel>
                                                </div>
                                                    </asp:WizardStep>
    
    
    
                                                      <asp:WizardStep ID="WizardStep2" runat="server" Title="Employee Personal Details"
                                                        >
                                                        <div>
                                                            <table border="1" width="100%" >
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                            BorderWidth="1px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txtEmployeeCode" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfvEmployeeCode" ControlToValidate="txtEmployeeCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            runat="server" Text="*" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txtWorkLocation" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txtDepartment" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txtSect" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txtPosition" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEPDStatus" runat="server" CssClass="label100" Text="Status" Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txtStatus" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlemp" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <table class="Form_Table">
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDTitle" runat="server" CssClass="label100" Text="Title"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlTitle" runat="server" CssClass="select100">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDFullName" runat="server" CssClass="label100" Text="Full Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                            <asp:Label ID="lblFullName" runat="server" CssClass="label100" ></asp:Label>
                                                                                                            </td>
                                                                                                            
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDFirstName" runat="server" CssClass="label100" Text="First Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtFirstName" runat="server" CssClass="textfild_input100"  AutoPostBack="true"
                                                                                                                    OnTextChanged="txtFirstName_TextChanged" ></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:RequiredFieldValidator ID="rfvEPDFirstName" runat="server" ControlToValidate="txtFirstName"
                                                                                                                    ErrorMessage="First Name Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDMiddleName" runat="server" CssClass="label100" Text="Middle Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtMiddleName" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDLastName" runat="server" CssClass="label100" Text="Last Name"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtLastName" runat="server" CssClass="textfild_input100"   AutoPostBack="true"
                                                                                                                    OnTextChanged="txtLastName_TextChanged"></asp:TextBox>
    
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:RequiredFieldValidator ID="rfvEPDLastName" runat="server" ControlToValidate="txtLastName"
                                                                                                                    ErrorMessage="LastName Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEPDShortName" runat="server" CssClass="label100" Text="Short Name /Known As"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtShortName" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="pnldob" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                     
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDDOB" runat="server" CssClass="label100" Text="Date Of Birth"></asp:Label>
                                                                                                        <asp:TextBox ID="txtdob" runat="server"    Width="149px" CssClass="datepicker" onFocus="DOB()"
                                                                                                       
                                                                                                        ></asp:TextBox>
                                                                                                <asp:RequiredFieldValidator ID="rgdob" runat="server" ControlToValidate="txtdob" ErrorMessage="Please enter date of birth"  Text="*" ForeColor="Red" ></asp:RequiredFieldValidator>
                                                                                               
                                                                                        
    
    
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDAge" runat="server" CssClass="label100" Text="Age"></asp:Label>
                                                                                                    <asp:TextBox ID="txtAge" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ID="Revage" runat="server" ControlToValidate="txtAge"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$"   ForeColor="Red" ></asp:RegularExpressionValidator>
                                                                                                    <asp:RangeValidator ID="rngValEPDAge" runat="server" ControlToValidate="txtAge" ErrorMessage="Age Is Not In Proper Format"
                                                                                                        MaximumValue="100" MinimumValue="16" Type="Integer" ForeColor="Red"></asp:RangeValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDDOJ" runat="server" CssClass="label100" Text="Date Of Joining"></asp:Label>
                                                                                                    <asp:TextBox ID="txtdoj" runat="server"   Width="49px" CssClass="datepicker" onFocus="DOB()"
                                                                                                        ></asp:TextBox>
                                                                                                     <asp:RequiredFieldValidator ID="rqdoj" runat="server" ControlToValidate="txtdoj" ErrorMessage="Please enter date of joining"  Text="*" ForeColor="Red" ></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                    
    
                                                                                                    <asp:FileUpload ID="fileImage" runat="server" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Button ID="btnfileupload" runat="server" CausesValidation="false"  CssClass="form_button" OnClick="btnfileupload_Click1"
                                                                                                        Text="Upload Image" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:RegularExpressionValidator ID="RevImg" runat="server" ControlToValidate="fileImage"
                                                                                                        ErrorMessage="Invalid File!(only  .gif, .jpg, .jpeg Files are supported)"
                                                                                                        ValidationExpression="^.+(.jpg|.JPG|.gif|.GIF|.jpeg|JPEG)$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Image ID="imgPhoto" runat="server" Height="65px" Width="65px"  Visible="false"  ImageUrl = ''
                                                                                                        style="margin-left: 0px" />
                                                                                                    
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                        </table>
                                                                        <asp:Panel ID="pnlDetail" runat="server" GroupingText="Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDGender" runat="server" CssClass="label100" Text="Gender"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlGender" runat="server" CssClass="select100">
                                                                                                        <asp:ListItem>Male</asp:ListItem>
                                                                                                        <asp:ListItem>Female</asp:ListItem>
                                                                                                        <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <asp:RequiredFieldValidator ID="rqGender" runat="server" ControlToValidate="ddlGender" ErrorMessage="Please select gender." ForeColor="Red" Text="*"  ></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDMaritalStatus" runat="server" CssClass="label100" Text="Marital Status"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlMaritalStatus" runat="server" CssClass="select100">
                                                                                                        <asp:ListItem>Married</asp:ListItem>
                                                                                                        <asp:ListItem>UnMarried</asp:ListItem>
                                                                                                        <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <asp:RequiredFieldValidator ID="rqStatus"  runat="server" Text="*" ErrorMessage="Please select Marital Status" ControlToValidate="ddlMaritalStatus" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDCivilID" runat="server" CssClass="label100" Text="Civil ID"></asp:Label>
                                                                                                    <asp:TextBox ID="txtCivilID" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDInsuranceType" runat="server" CssClass="label100" Text="Insurance Type"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlInsuranceType" runat="server" CssClass="select100" Width="96px">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDNationality" runat="server" CssClass="label100" Text="Nationality"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlEPDNationality" runat="server" CssClass="select100" Width="96px">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDReligion" runat="server" CssClass="label100" Text="Religion"></asp:Label>
                                                                                                    <asp:DropDownList ID="ddlReligion" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDCIDExpiryDate" runat="server" CssClass="label100" Text="Civil ID Expiry Date"></asp:Label>
                                                                                                    <asp:TextBox ID="txtExpDt" runat="server"  CssClass="datepicker" onFocus="test()"  Width="120px"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDIDNumber" runat="server" CssClass="label100" Text="ID No"
                                                                                                        Width="79px"></asp:Label>
                                                                                                    <asp:TextBox ID="txtIDNumber" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDEmail" runat="server" CssClass="label100" Text="Email"
                                                                                                        Width="58px"></asp:Label>
                                                                                                    <asp:TextBox ID="txtEmail" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Invalid email."
                                                                                                        ControlToValidate="txtEmail" ValidationExpression="^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEPDPOB" runat="server" CssClass="label100" Text="Place Of Birth"></asp:Label>
                                                                                                    <asp:TextBox ID="txtPOB" runat="server" CssClass="datepicker" onFocus="test()" ></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfvPOB" ControlToValidate="txtPOB" ErrorMessage="Place Of Birth Field Should Not Be Blank"
                                                                                                        Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnSave" runat="server" Text="Save" ToolTip="Save" CssClass="form_button"
                                                                                        OnClick="btnSave_Click" />&nbsp
                                                                                    <input id="btnhtmReset" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep ID="WizardStep3" runat="server" Title="Employment Details">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Label ID="lblEmploymentDetails" runat="server" Text="Employment Details" Font-Bold="true"></asp:Label>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <asp:Panel ID="panel1" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                            BorderWidth="1px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDEmployeeCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDWorkLocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDDepartment" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDSection" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDEmployeeName" Enabled="false" runat="server" CssClass="textfild_input160"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDPosition" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txtEDStatus" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="Panel2" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <table class="Form_Table">
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDWorkLoc" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlEDWorkLocation" runat="server" CssClass="select100">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEMDptment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMDepartment2" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDSection" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMSection2" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDPositn" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMPosission2" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDJobTitle" runat="server" CssClass="label100" Text="Job Title"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMJobTitle" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEMCategory" runat="server" CssClass="label100" Text="Category"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlEMCategory" runat="server" CssClass="select100">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDGrade" runat="server" CssClass="label100" Text="Grade"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMGrade" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDReportingSupervisor" runat="server" CssClass="label100" Text="Reporting Supervisor"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMReportingSupervisor" runat="server" CssClass="textfild_input160"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lblEDEffectivefromDate" runat="server" CssClass="label100" Text="Effective from Date"></asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEMEffectivefromDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="Panel3" runat="server" BorderColor="LightGray" BorderStyle="Solid"
                                                                                        BorderWidth="1px">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDDOB" runat="server" CssClass="label100" Text="Date Of Birth"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="TextBox8"  runat="server" Width="100px" onFocus="testDOB()"
                                                                                                        CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDDOJ" runat="server" CssClass="label100" Text="Date Of Joining"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="TextBox9"  runat="server" Width="100px" onFocus="testDoj()"
                                                                                                        CssClass="datepicker" ></asp:TextBox>
                                                                                                           <asp:RequiredFieldValidator ID="rfqDateofJoining" ControlToValidate="TextBox9"
                                                                                            ErrorMessage="Date of Joining Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            runat="server" Text="*" ForeColor="Red" />
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDDateOfConfirmation" runat="server" CssClass="label100" Text="Date Of Confirmation"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEMDOC" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                       <asp:RequiredFieldValidator ID="reqdtConfirm" runat="server" ControlToValidate="txtEMDOC" ErrorMessage="Please enter Date of confirmation" ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDLastPromotionDate" runat="server" CssClass="label100" Text="Last Promotion Date"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEMLastPromotionDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEDTerminationDate" runat="server" CssClass="label100" Text="Termination Date"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEMTerminationDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnEMSave" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btnEMSave_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="EMReset" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Address Details" ID="WizardStep4">
                                                        <div>
                                                            <table width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel4" runat="server" GroupingText="Employee Address Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADEmployeeCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADWorkLocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADDepartment" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADSection" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Label1" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADEmployeeName" runat="server" CssClass="textfild_input160"
                                                                                            Enabled="false"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADPosition" runat="server" CssClass="textfild_input100" Enabled="false"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADStatus2" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADStatus" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlAddress" GroupingText="Address Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADType" runat="server" CssClass="label100" Text="Type"></asp:Label>
                                                                                        <asp:DropDownList ID="ddlEADType" runat="server" CssClass="select150">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADAddressID" runat="server" CssClass="label100" Text="Address ID"></asp:Label>
                                                                                        <asp:TextBox ID="txtEADAddressID" runat="server" CssClass="textfild_input100" TabIndex="9"></asp:TextBox>
                                                                                    </td>
                                                                                    <td valign="top">
                                                                                        <asp:CheckBox ID="chkEADPrimaryAddress" runat="server" Text="Primary Address" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td colspan="3">
                                                                                        <asp:Label ID="lblEADAddress" runat="server" CssClass="label100" Text="Address"></asp:Label>
                                                                                        
                                                                                      <asp:TextBox ID="txtEADAddress" runat="server" CssClass="textarea400" TextMode="MultiLine"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="reqAddress" runat="server" ErrorMessage="Please enter address." ForeColor="Red" ControlToValidate="txtEADAddress" Text="*"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADCity" runat="server" CssClass="label100" Text="City"></asp:Label>
                                                                                      
                                                                                        <asp:TextBox ID="txtEADCity" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADPostalCode" runat="server" CssClass="label100" Text="Postal Code"></asp:Label>
                                                                                        
                                                                                     <asp:TextBox ID="txtEADPostalCode" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADContactPerson" runat="server" CssClass="label100" Text="Contact Person"></asp:Label>
                                                                                      
                                                                                        <asp:TextBox ID="txtEADContactPerson" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEADContactPersonMobileNumber" runat="server" CssClass="label100"
                                                                                            Text="Contact Person Mobile Number"></asp:Label>
                                                                                        
                                                                                      <asp:TextBox ID="txtEADContactPersonMobileNumber" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ErrorMessage="Invalid Mobile number."
                                                                                                        ControlToValidate="txtEADContactPersonMobileNumber" ValidationExpression="^[0-9]*$" ForeColor="Red" />
                                                                                    </td>
                                                                                   
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlOfficial" GroupingText="Official" runat="server" CssClass="panelGridColumnTable1">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADDirectTelephoneNumber" runat="server" CssClass="label100"
                                                                                                        Text="Direct Telephone Number" Width="164px"></asp:Label>
                                                                                                   
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADDirectTelephoneNumber" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ErrorMessage="Invalid Direct number."
                                                                                                        ControlToValidate="txtEADDirectTelephoneNumber" ValidationExpression="^[0-9]*$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADOfficeExtensionNumber" runat="server" CssClass="label100"
                                                                                                        Text="Office Extension Number" Width="148px"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADOfficeExtensionNumber" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage="Invalid Office Extension number."
                                                                                                        ControlToValidate="txtEADOfficeExtensionNumber" ValidationExpression="^[0-9]*$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Panel ID="pnlPersonal" GroupingText="Personal" runat="server" CssClass="panelGridColumnTable1">
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADEmail" runat="server" CssClass="label100" Text="Email"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADEmail" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                                      <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Invalid email."
                                                                                                        ControlToValidate="txtEADEmail" ValidationExpression="^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADMobileNumber" runat="server" CssClass="label100"
                                                                                                        Text="Mobile Number" Width="101px"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADMobileNumber" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                      <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ErrorMessage="Invalid Mobile number."
                                                                                                        ControlToValidate="txtEADMobileNumber" ValidationExpression="^[0-9]*$"  ForeColor="Red"/>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEADResidenceTelephoneNumber" runat="server" CssClass="label100"
                                                                                                        Text="Residence Telephone Number"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtEADResidenceTelephoneNumber" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                       <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ErrorMessage="Invalid Residence number."
                                                                                                        ControlToValidate="txtEADResidenceTelephoneNumber" ValidationExpression="^[0-9]*$" ForeColor="Red" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnEADSave" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btnEADSave_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="ResetEAD" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Identification Details" ID="WizardStep5">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel5" runat="server" GroupingText="Employee Identification Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEid" ControlToValidate="txt_EID_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Worklocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_EmpName" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblEIDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txt_EID_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlIdentification" GroupingText="Identification Details" runat="server"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDIdentificationMarks1" runat="server" CssClass="label100" Text="Identification Marks 1"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtIdentificationMarks1" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDIdentificationMarks2" runat="server" CssClass="label100" Text="Identification Marks 2"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtIdentificationMarks2" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDPhysicallyHandicapped" runat="server" CssClass="label100" Text="Physically Handicapped"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddlPhysicallyHandicapped" runat="server" CssClass="select150">
                                                                                                        <asp:ListItem Selected="True">--Select--</asp:ListItem>
                                                                                                        <asp:ListItem>Yes</asp:ListItem>
                                                                                                        <asp:ListItem>No</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDBloodGroup" runat="server" CssClass="label100" Text="Blood Group"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddlBloodGroup" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDHeight" runat="server" CssClass="label100" Text="Height (in Cms)"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtHeight" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                  
                                                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtHeight"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                </td>
                                                                                               
                                                                                                  
                                                                                              
                                                                                                <td>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblEIDEffectiveDateFrom" runat="server" CssClass="label100" Text="Effective Date From"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txEffectiveDateFrom" runat="server" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td style="width: 700px">
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Button ID="btn_IDSave" runat="server" CssClass="form_button" Text="Save" ToolTip="Save"
                                                                                                        OnClick="btn_IDSave_Click" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <input id="btnReset" type="reset" value="Reset" class="form_button" />
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Training Details" ID="WizardStep6">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel6" runat="server" GroupingText="Employee Training Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEmpCode" ControlToValidate="txt_ETD_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_WorkLocation" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Department" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Section" Enabled="false" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Name" Enabled="false" runat="server" Style="margin-left: 2px"
                                                                                            CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Position" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input140"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblETDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txt_ETD_Status" Enabled="false" runat="server" CssClass="textfild_input140"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlTrainingUndergoneDetails" GroupingText="Training Undergone Details"
                                                                            CssClass="panelGridColumnTable1" runat="server">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDTrainingType" runat="server" CssClass="label100" Text="Training Type"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="ddlTrainingType" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDNameOfTheCourse" runat="server" CssClass="label100" Text="Name Of The Course"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtNameOfTheCourse" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfqCourse" ControlToValidate="txtNameOfTheCourse"
                                                                                                        ErrorMessage="Name of the Course Field Should Not Be Blank" Display="Static" ForeColor="Red"
                                                                                                        InitialValue="" Text="*" runat="server" />
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDFromDate" runat="server" CssClass="label100" Text="From Date"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtFromDate" runat="server" CssClass="datepicker"  Width="100px"
                                                                                                        onFocus="test()"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDToDate" runat="server" CssClass="label100" Text="To Date"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtToDate" runat="server" CssClass="datepicker"  Width="100px" onFocus="test()"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDScore" runat="server" CssClass="label100" Text="Score/Grade"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtScore" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDConduct" runat="server" CssClass="label100" Text="Conducted By"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtConduct" runat="server" CssClass="textfild_input120"></asp:TextBox>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDPlaceOfTraining" runat="server" CssClass="label100" Text="Place Of Training"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtPlaceOfTraining" runat="server" CssClass="textfild_input120"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDTopicsCovered" runat="server" CssClass="label100" Text="Topics Covered"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtTopicsCovered" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ID="rfqTopicCovered" runat="server" ControlToValidate="txtTopicsCovered"
                                                                                                        Display="Static" ErrorMessage="Topics Covered Field Should Not Be Blank" InitialValue="" ForeColor="Red"
                                                                                                        Text="*" />
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDFees" runat="server" CssClass="label100" Text="Fees"></asp:Label>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtFees" runat="server" CssClass="textfild_input120"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ID="ReqFees" runat="server" ControlToValidate="txtFees"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblETDSponsoredBy" runat="server" CssClass="label100" Text="Sponsored By"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtSponsoredBy" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Button ID="btnAdd_Training" Text="Add Training Details" runat="server" CssClass="form_button1"
                                                                                            OnClick="btnAdd_Training_Click" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <div id="divTrainining"  runat="server"  visible="false" style="overflow: scroll; height: 188px; width: 890px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td width="90%">
                                                                                        <asp:GridView ID="grdTrainingDetails" runat="server" AutoGenerateColumns="False"
                                                                                            CssClass="gridview" EnableModelValidation="True"
                                                                                            BorderStyle="None"   GridLines="Vertical"
                                                                                            DataKeyNames="ID" 
                                                                                           >
                                                                                           <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="S.No" Visible="true">
                                                                                                    <ItemTemplate>
                                                                                                      <%--  <asp:Label runat="server" ID="lblSNo" Text='<%# Eval("ID") %>' Visible="false" />--%>
                                                                                                       <%#Container.DataItemIndex + 1%>
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Training Type">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lblTraining" runat="server" Text='<%# Eval("TrainingType") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:Label ID="lblEditTraining" runat="server"  Text='<%# Eval("TrainingType")%>'
                                                                                                            Visible="false"></asp:Label>
                                                                                                        <asp:DropDownList ID="ddlEdit_TrainingType" runat="server" >
                                                                                                        </asp:DropDownList>
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Training Description">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lblCourse" runat="server" Text='<%# Eval("Course") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEdit_TrainingDesc" runat="server" Text='<%# Eval("Course") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="From Date">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_FromDate" runat="server" Text='<%# Eval("FromDate","{0:dd-M-yyyy}") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditFromDate" runat="server" Text='<%# Eval("FromDate","{0:dd-M-yyyy}") %>' onFocus="test()"
                                                                                                            CssClass="datepicker"  />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="To Date">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_ToDate" runat="server" Text='<%# Eval("ToDate","{0:dd-M-yyyy}") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditToDate" runat="server" Text='<%# Eval("ToDate","{0:dd-M-yyyy}") %>'  onFocus="test()"
                                                                                                            CssClass="datepicker"  />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Score/Grade">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Score" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditScore" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Conducted By">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Conduct" runat="server" Text='<%# Eval("ConductedBy") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditConductedBy" runat="server" Text='<%# Eval("ConductedBy") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Place Of Training">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Place" runat="server" Text='<%# Eval("PlaceOfTraining") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditPlaceOfTraining" runat="server" Text='<%# Eval("PlaceOfTraining") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Topics Covered">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Topics" runat="server" Text='<%# Eval("TopicsCovered") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditTopics" runat="server" Text='<%# Eval("TopicsCovered") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Fees">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Fees" runat="server" Text='<%# Eval("Fees") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditFees" runat="server" Text='<%# Eval("Fees") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Sponsored By">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_Sponsor" runat="server" Text='<%# Eval("SponsoredBy") %>' />
                                                                                                    </ItemTemplate>
                                                                                                    <EditItemTemplate>
                                                                                                        <asp:TextBox ID="txtEditSponsor" runat="server" Text='<%# Eval("SponsoredBy") %>' />
                                                                                                    </EditItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:CommandField ShowEditButton="true" HeaderText="Edit" CausesValidation="false" InsertImageUrl="~/_layouts/OETC_HRMS_Employee/Images/Edit.png" />
                                                                                                <asp:TemplateField HeaderText="Delete">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:ImageButton ID="deleteButton" runat="server" OnClick="deleteButton_Click3"
                                                                                                             CommandArgument='<%# Eval("ID")%>' CausesValidation="false"
                                                                                                            Text="Delete" ImageUrl="~/Layouts/OETC_HRMS_Employee/Images/Delete.png" OnClientClick="return confirm('Are you sure you want to delete this record.?');" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_ETD_Save" runat="server" CssClass="form_button" CausesValidation="false"
                                                                                        OnClick="btn_ETD_Save_Click" Text="Save" ToolTip="Save" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btn_Reset_ETD" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Previous Experience Details" ID="WizardStep7">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel7" runat="server" GroupingText="Employee Previous Experience Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txt_PED_EmpCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server" ForeColor="Red"  />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Work" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PEDDepartment" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_EmpName" Enabled="false" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PED_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlPreviousExperienceDetails" GroupingText="Previous Experience Details"
                                                                            CssClass="panelGridColumnTable1" runat="server">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDCompanyName" runat="server" CssClass="label100" Text="Company Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDCompanyName" runat="server" CssClass="textfild_input140"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rqComp" runat="server" ControlToValidate="txtPEDCompanyName" ErrorMessage="Please enter company name" ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDPositionHeld" runat="server" CssClass="label100" Text="Position Held"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDPositionHeld" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDAreaOfExperience" runat="server" CssClass="label100" Text="Area Of Experience"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlAreaOfExperience" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDFromDate" runat="server" CssClass="label100" Text="From Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDFromDate" runat="server" Width="100px" onFocus="test()"
                                                                                            CssClass="datepicker" ></asp:TextBox>
                                                                                            <asp:RequiredFieldValidator ID="reqdt" runat="server" Text="*" ForeColor="Red" ControlToValidate="txtPEDFromDate" ErrorMessage="Enter From Date."></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDToDate" runat="server" CssClass="label100" Text="To Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDToDate" runat="server" Width="100px" onFocus="test()"
                                                                                            CssClass="datepicker" ></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDSectorOfService" runat="server" CssClass="label100" Text="Sector Of Service"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlSectorOfService" runat="server" CssClass="select120">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDTypeOfService" runat="server" CssClass="label100" Text="Type Of Service"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlTypeOfService" runat="server" CssClass="select120">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDReasons" runat="server" CssClass="label100" Text="Reason for Quitting the Job"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDReasons" runat="server" CssClass="textarea30"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDYOS" runat="server" CssClass="label100" Text="Years Of Service"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDYears" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDYears" runat="server" CssClass="label50" Text="Years"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDMonths" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDMonths" runat="server" CssClass="label50" Text="Months"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPEDDays" runat="server" CssClass="textfild_input45"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDDays" runat="server" CssClass="label50" Text="Days"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:RegularExpressionValidator ID="ReqYear" runat="server" ControlToValidate="txtPEDYears"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                        <asp:RegularExpressionValidator ID="ReqMonths" runat="server" ControlToValidate="txtPEDMonths"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                        <asp:RegularExpressionValidator ID="ReqDays" runat="server" ControlToValidate="txtPEDDays"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPEDDocRef" runat="server" CssClass="label100" Text="Document Reference"></asp:Label>
                                                                                    </td>
                                                                                    <td colspan="5">
                                                                                        <asp:FileUpload ID="uploadPEDDocument" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                     
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_PED_Save" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btn_PED_Save_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btn_PED_Reset0" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                        </div>
                                                     
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Professional Membership Details" ID="WizardStep8">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel8" runat="server" GroupingText="Employee Professional Membership Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqemp" ControlToValidate="txt_PMD_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_WorkLoc" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_EmpName" Enabled="false" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlProfessionalMembershipDetails" GroupingText="Professional Membership Details"
                                                                            CssClass="panelGridColumnTable1" runat="server">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDAssociationType" runat="server" CssClass="label100" Text="Association Type"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="ddlAssociationType" runat="server" CssClass="select150">
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rfqAssociationType" ControlToValidate="ddlAssociationType"
                                                                                            ErrorMessage="Association Type Field Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDMembership" runat="server" CssClass="label100" Text="Membership"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlMembership" runat="server" CssClass="select100">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDNameOfAssociation" runat="server" CssClass="label100" Text="Name Of Association"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left" colspan="2">
                                                                                        <asp:TextBox ID="txtNameOfAssociation" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDEntryDate" runat="server" CssClass="label100" Text="Entry Date "></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PMDEntryDate" runat="server" Width="120px" CssClass="datepicker"
                                                                                            onFocus="test()"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEntryDate0" runat="server" ControlToValidate="txt_PMDEntryDate"
                                                                                            Display="Static" ErrorMessage="Entry Date Field Should Not Be Blank" InitialValue=""
                                                                                            Text="*" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDExpirationDate" runat="server" CssClass="label100" Text="Expiration Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PMDExpirationDate" runat="server" Width="120px" CssClass="datepicker"   onFocus="test()"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDMembershipFees" runat="server" CssClass="label100" Text="Membership Fees"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txt_PMD_MembershipFees" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="ReqMemberFees" runat="server" ControlToValidate="txt_PMD_MembershipFees"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDCurrency" runat="server" CssClass="label100" Text="Currency"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlCurrency" runat="server" CssClass="select100">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDFrequency" runat="server" CssClass="label100" Text="Frequency"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="ddlFrequency" runat="server" CssClass="select100">
                                                                                            <asp:ListItem>Monthly</asp:ListItem>
                                                                                            <asp:ListItem>Daily</asp:ListItem>
                                                                                            <asp:ListItem>Yearly</asp:ListItem>
                                                                                            <asp:ListItem>Quaterly</asp:ListItem>
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPMDSponsored" runat="server" CssClass="label100" Text="Sponsored"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlSponsored" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Company</asp:ListItem>
                                                                                            <asp:ListItem>Private</asp:ListItem>
                                                                                            <asp:ListItem></asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td align="left">
                                                                                        <asp:Button ID="btnPMDAdd" runat="server" Text="Add Professional Membership"
                                                                                            CssClass="form_button1" Width="204px" OnClick="btnPMDAdd_Click1"  />
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                </tr>
                                                                              
                                                                            </table>
                                                                            <table class="Form_Table">
                                                                            <tr>
                                                                                <td align="right">
                                                                                    <div id="divProfessional" runat="server" visible="false"  style="overflow: scroll; height: 102px;">
                                                                                        <asp:GridView ID="gvProfessional" runat="server" AutoGenerateColumns="False" CssClass="gridview"
                                                                                             BorderStyle="None"  DataKeyNames="AssociationType"
                                                                                            EnableModelValidation="True"  GridLines="Vertical"
                                                                                            >
                                                                                          <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="Select">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:CheckBox ID="chkProfessional" runat="server" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:BoundField DataField="AssociationType" HeaderText="Association Type" />
                                                                                                <asp:BoundField DataField="Membership" HeaderText="Membership" />
                                                                                        
                                                                                                <asp:BoundField DataField="AssociationName" HeaderText="AssociationName" />
                                                                                                   <asp:BoundField DataField="EntryDate" HeaderText="Entry Date" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                     <asp:BoundField DataField="ExpirationDate" HeaderText="Expiry Date" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                <asp:BoundField DataField="MembershipFees" HeaderText="MembershipFees" />
                                                                                                <asp:BoundField DataField="Currency" HeaderText="Currency" />
                                                                                                <asp:BoundField DataField="Frequency" HeaderText="Frequency" />
                                                                                              <asp:BoundField DataField="Sponsored" HeaderText="Sponsored" />
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
    
    
    
      <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Button ID="btnEditProfessional" runat="server" CssClass="form_button"
                                                                                         CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidateProfessional(this)" Text="Edit"
                                                                                        Visible="False" OnClick="btnEditProfessional_Click" />
    
                                                                                        &nbsp
                                                                                  <asp:Button runat="server" CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidateProfessional(this)" Text="Delete"
        CssClass="form_button" ID="btnDeleteProfessional" Visible="False" OnClick="btnDeleteProfessional_Click"
        ></asp:Button>
    
                                                                            </td>
                                                                            </tr>
                                                                            </table>
    
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_PMD_Save" runat="server" Text="Save" CssClass="form_button" ToolTip="Save" CausesValidation="false"
                                                                                        OnClick="btn_PMD_Save_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btnPMDReset" type="reset" value="Reset" class="form_button" />
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep ID="WizardStep9" runat="server" Title="Passport Details">
                                                        <div>
                                                            <table   width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel9" runat="server" GroupingText="Passport/Identification Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqpmd" ControlToValidate="txt_PID_EmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_WorkLocation" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDDept" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PIDSection" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_EmpName" Enabled="false" runat="server" CssClass="textfild_input160"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_PID_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlIDDetails" GroupingText="ID Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDIDType" runat="server" CssClass="label100" Text="ID Type"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlIDType" runat="server" AutoPostBack="true" CssClass="select100"
                                                                                            OnSelectedIndexChanged="ddlIDType_SelectedIndexChanged">
                                                                                            <asp:ListItem>ID</asp:ListItem>
                                                                                            <asp:ListItem>Visa</asp:ListItem>
                                                                                            <asp:ListItem>Manpower Card</asp:ListItem>
                                                                                            <asp:ListItem>Passport</asp:ListItem>
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDCountry" runat="server" CssClass="label100" Text="Country"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlCountry" runat="server" CssClass="select150">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lbl_ID" runat="server" Text="ID"  Visible="false" CssClass="label100"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtID" runat="server" CssClass="textfild_input100" Visible="False"></asp:TextBox>
                                                                                    </td>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lbl_Place" runat="server" Text="Place Of Issue" Visible="False" CssClass="label100"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtPlaceOfIssue" runat="server" CssClass="textfild_input100" Visible="False"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPIDIssueDate" runat="server" CssClass="label100" Text="Issue Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtIssueDate" runat="server" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqIssueDate" runat="server" ControlToValidate="txtIssueDate"
                                                                                            ErrorMessage="Issue Date Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td align="right">
                                                                                        <asp:Label ID="lblPIDExpiryDate" runat="server" CssClass="label100"  Text="Expiry Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txtExpiryDate" runat="server" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqExpDate" runat="server" ControlToValidate="txtExpiryDate"
                                                                                            ErrorMessage="Expiry Date Field Should Not Be Blank" Text="*" ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btn_PID_Save" runat="server" Text="Save" CssClass="form_button" ToolTip="Save"
                                                                                        OnClick="btn_PID_Save_Click" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btnRestPID" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Qualification Details" ID="WizardStep10">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel10" runat="server" GroupingText="Employee Qualification Details"
                                                                            CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QDEmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqQDEmpCode" ControlToValidate="txt_QDEmpCode" ErrorMessage="Employee Code Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QDWork" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Dept" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_EmpName" Enabled="false" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Position" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlqualdetails" GroupingText="Qualification Details" runat="server"
                                                                            CssClass="panelGridColumnTable1" Width="948px">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDQualification" runat="server" CssClass="label100" Text="Qualification Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_Qualification" runat="server" AutoPostBack="true" CssClass="select100"
                                                                                            OnSelectedIndexChanged="ddl_QD_Qualification_SelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="ddl_QD_Qualification"
                                                                                            ErrorMessage="Qualification Code Field Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDYearStart" runat="server" CssClass="label100" Text="Start Year"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_YearStart" runat="server" CssClass="select100" >
                                                                                          
                                                                                          
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rqStart" runat="server" ControlToValidate="ddlQD_YearStart" ErrorMessage="Please select year." ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMonthStart" runat="server" CssClass="label100" Text="Month"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_MonthStart" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem Value="1">January</asp:ListItem>
                                                                                            <asp:ListItem Value="2">February</asp:ListItem>
                                                                                            <asp:ListItem Value="3">March</asp:ListItem>
                                                                                            <asp:ListItem Value="4">April</asp:ListItem>
                                                                                            <asp:ListItem Value="5">May</asp:ListItem>
                                                                                            <asp:ListItem Value="6">June</asp:ListItem>
                                                                                            <asp:ListItem Value="7">July</asp:ListItem>
                                                                                            <asp:ListItem Value="8">August</asp:ListItem>
                                                                                            <asp:ListItem Value="9">September</asp:ListItem>
                                                                                            <asp:ListItem Value="10">October</asp:ListItem>
                                                                                            <asp:ListItem Value="11">November</asp:ListItem>
                                                                                            <asp:ListItem Value="12">December</asp:ListItem>
                                                                                        </asp:DropDownList>
    
                                                                                        <asp:RequiredFieldValidator ID="rfqStartMonth" runat="server" ControlToValidate="ddlQD_MonthStart" ErrorMessage="Start Month Should not be Empty." ForeColor="Red" Text="*"></asp:RequiredFieldValidator>
    
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDQualStatus" runat="server" CssClass="label100" Text="Status"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_QualStatus" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Completed</asp:ListItem>
                                                                                            <asp:ListItem>Being Pursued</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rfqStatus" ControlToValidate="ddlQD_QualStatus"
                                                                                            ErrorMessage="Status Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
    
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDSchool" runat="server" CssClass="label200" Text="Name of University/Board/Insitute/School"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_School" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                      <asp:RequiredFieldValidator ID="rfqSchool" ControlToValidate="txt_QD_School"
                                                                                            ErrorMessage="Name Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDYearObtained" runat="server" CssClass="label100" Text="Year of Passing/Year Obtained"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlQD_YearObtained" runat="server" CssClass="select100"
                                                                                         
                                                                                           >
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMonthObtained" runat="server" CssClass="label100" Text="Month"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_MonthObtained" runat="server"
                                                                                            CssClass="select100"  AutoPostBack="true"
                                                                                            OnSelectedIndexChanged="ddl_QD_MonthObtained_SelectedIndexChanged">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem Value="1">January</asp:ListItem>
                                                                                            <asp:ListItem Value="2">February</asp:ListItem>
                                                                                            <asp:ListItem Value="3">March</asp:ListItem>
                                                                                            <asp:ListItem Value="4">April</asp:ListItem>
                                                                                            <asp:ListItem Value="5">May</asp:ListItem>
                                                                                            <asp:ListItem Value="6">June</asp:ListItem>
                                                                                            <asp:ListItem Value="7">July</asp:ListItem>
                                                                                            <asp:ListItem Value="8">Auguest</asp:ListItem>
                                                                                            <asp:ListItem Value="9">September</asp:ListItem>
                                                                                            <asp:ListItem Value="10">October</asp:ListItem>
                                                                                            <asp:ListItem Value="11">November</asp:ListItem>
                                                                                            <asp:ListItem Value="12">December</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMajor" runat="server" CssClass="label100" Text="Major Specialization/Branch"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_Major" runat="server" CssClass="select100">
                                                                                        </asp:DropDownList>
                                                                                         <asp:RequiredFieldValidator ID="rfqMajor" ControlToValidate="ddl_QD_Major"
                                                                                            ErrorMessage="Major Subject Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
    
                                                                                        
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDModeStudy" runat="server" CssClass="label100" Text="Mode of Study"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_ModeStudy" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Online</asp:ListItem>
                                                                                            <asp:ListItem>Full Time</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                    <asp:Label ID="lblTime" runat="server" CssClass="label100" Text="Time Since"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                    <asp:Label ID="lblTimeSince" runat="server" CssClass="label110" ></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDMarks" runat="server" CssClass="label100" Text="Percentage of Marks"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_Marks" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="ReqMarks" runat="server" ControlToValidate="txt_QD_Marks"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDGPA" runat="server" CssClass="label100" Text="GPA"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_QD_GPA" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="ReqGrade" runat="server" ControlToValidate="txt_QD_GPA"
                                                                                            ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDClass" runat="server" CssClass="label100" Text="Class"></asp:Label>
    
                                                                                     
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_Class" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                           <asp:RequiredFieldValidator ID="rfqClass" ControlToValidate="txt_Class"
                                                                                            ErrorMessage="Class Should Not Be Blank" Display="Static"
                                                                                            InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator9" ControlToValidate="txt_Class" ValidationExpression="^[0-9]*$" ErrorMessage="Only numbers Allowed." runat="server"  ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                         <asp:RangeValidator ID="rvRangeClass" runat="server" ControlToValidate="txt_Class" ErrorMessage="Class Is Not In Proper Format.Enter either 1 or 2."
                                                                                                        MaximumValue="2" MinimumValue="1" Type="Integer" ForeColor="Red"></asp:RangeValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblQDGrade" runat="server" CssClass="label100" Text="Grade/Rating"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_QD_Grade" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Good</asp:ListItem>
                                                                                            <asp:ListItem>Excellent</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                 
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        <asp:Button ID="btn_Add_Qualification" runat="server"
                                                                                            OnClick="btn_Add_Qualification_Click"  Text="Add Qualification"
                                                                                           CssClass="form_button1" Width="172px" />
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                    <td>
                                                                                        &nbsp;</td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
    
                                                                          <div id="divQualification"  runat="server"  visible="false" style="overflow: scroll; height: 188px; width: 890px">
                                                                        <table class="Form_Table">
                                                                        
                                                                            <tr>
                                                                                <td align="right">
                                                                                    <asp:GridView ID="gv_Qualification" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                                                                                        BorderStyle="None"
                                                                                         GridLines="Vertical" DataKeyNames="InstitutionName"
                                                                                        CssClass="gridview" OnRowDataBound="gv_Qualification_RowDataBound">
                                                                                    <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                        <Columns>
                                                                                        <asp:TemplateField HeaderText="Select">
                                                                                        <ItemTemplate>
                                                                                        <asp:CheckBox ID="chkQualification" runat="server" />
                                                                                        </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Qualification Code">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblQualCode" runat="server" Text='<%# Eval("QualificationCode") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txt_Edit_QD_QualificationCode" runat="server" Text='<%# Eval("QualificationCode") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="University">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QD_University" runat="server" Text='<%# Eval("InstitutionName") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QD_Insitution" runat="server" Text='<%# Eval("InstitutionName") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Branch">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QD_Branch" runat="server" Text='<%# Eval("SpecializationBranch") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QD_Branch" runat="server" Text='<%# Eval("SpecializationBranch") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Mode of Study">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDMode" runat="server" Text='<%# Eval("ModeOfStudy") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditModeStudy" runat="server" Text='<%# Eval("ModeOfStudy") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Marks %">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDMarks" runat="server" Text='<%# Eval("MarksPercentage") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditMarks" runat="server" Text='<%# Eval("MarksPercentage") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="GPA">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDGPA" runat="server" Text='<%# Eval("GPA") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditGPA" runat="server" Text='<%# Eval("GPA") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Class">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Start Year">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_StartYear" runat="server" Text='<%# Eval("StartYear") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txt_EditStartYear" runat="server" Text='<%# Eval("StartYear") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Month">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDMonth" runat="server" Text='<%# Eval("startYearMonth") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditQDMonth" runat="server" Text='<%# Eval("startYearMonth") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Year of Passing">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_YearPassing" runat="server" Text='<%# Eval("YearOfPassing") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditYearPassing" runat="server" Text='<%# Eval("YearOfPassing") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Month of Passing">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_MonthPassing" runat="server" Text='<%# Eval("YOPMonth") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEditQD_MonthPassing" runat="server" Text='<%# Eval("YOPMonth") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Class">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblQDClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QDClass" runat="server" Text='<%# Eval("Class") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Grade">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDGrade" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QDGrade" runat="server" Text='<%# Eval("Grade") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                              <asp:TemplateField HeaderText="Status">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lbl_QDStatus" runat="server" Text='<%# Eval("Status") %>' />
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                    <asp:TextBox ID="txtEdit_QDStatus" runat="server" Text='<%# Eval("Status") %>' />
                                                                                                </EditItemTemplate>
                                                                                            </asp:TemplateField>
    
    
                                                                                        </Columns>
                                                                                        <FooterStyle BackColor="#CCCC99" />
                                                                                        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                        <RowStyle BackColor="#F7F7DE" />
                                                                                        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                    </asp:GridView>
                                                                                </td>
                                                                            </tr>
                                                                                
                                                                        </table>
                                                                        </div>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                    <asp:Button ID="btnEditQualification" runat="server" CausesValidation="False"
                                                                                        CssClass="form_button" OnClick="btnEditQualification_Click"
                                                                                        OnClientClick="javascript:return CheckBoxValidateQualification(this)"
                                                                                        Text="Edit" Visible="False" />
                                                                                    &nbsp;
                                                                                    <asp:Button ID="btnDeleteQualification" runat="server" CausesValidation="False"
                                                                                        CssClass="form_button" OnClick="btnDeleteQualification_Click"
                                                                                        OnClientClick="javascript:return CheckBoxValidateQualification(this)"
                                                                                        Text="Delete" Visible="False" />
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnQualificationSave" runat="server" CausesValidation="False"
                                                                                        CssClass="form_button" OnClick="btnQualificationSave_Click" Text="Save"
                                                                                        ToolTip="Save" />
                                                                                </td>
                                                                                <td>
                                                                                    <input id="btnResetQualification" type="reset" value="Reset" class="form_button"  />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                          
                                                         
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" Title="Employee Family Details" ID="WizardStep11">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel11" runat="server" GroupingText="Employee Family Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDEmpCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" ControlToValidate="txt_FD_EmpCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Work" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Department" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Department" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_EmpName" Enabled="false" runat="server" CssClass="textfild_input200"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Postion" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel12" GroupingText="Family Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Name" runat="server" CssClass="label100" Text="Name"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Name" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqFDName" ControlToValidate="txt_FD_Name" ErrorMessage="Name Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Relation" runat="server" CssClass="label100" Text="Relationship"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Relation" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqFDRelation" ControlToValidate="txt_FD_Relation"
                                                                                            ErrorMessage="Relation Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Gender" runat="server" CssClass="label100" Text="Gender"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlFD_Gender" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Male</asp:ListItem>
                                                                                            <asp:ListItem>Female</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="rfqGender" ControlToValidate="ddlFD_Gender" ErrorMessage="Gender Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Id" runat="server" CssClass="label100" Text="ID No"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Id" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Occupation" runat="server" CssClass="label100" Text="Occupation"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Occupation" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Birth" runat="server" CssClass="label100" Text="Date of Birth"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Birth" runat="server" Width="100px"
                                                                                            onFocus="testDOB()"  CssClass="datepickerDOB"
                                                                                            ></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFDAge" runat="server" CssClass="label100" Text="Age"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FDAge" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                       <asp:RegularExpressionValidator ID="revFDAge" runat="server" ControlToValidate="txt_FDAge"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$"   ForeColor="Red" ></asp:RegularExpressionValidator>
                                                                                                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txt_FDAge" ErrorMessage="Age Is Not In Proper Format"
                                                                                                        MaximumValue="100" MinimumValue="16" Type="Integer" ForeColor="Red"></asp:RangeValidator>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                       <asp:Label ID="lblFDContact" runat="server" CssClass="label100" Text="Contact Number"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                       <asp:TextBox ID="txt_FDPhone" runat="server" CssClass="textfild_input100"></asp:TextBox>
    
                                                                                    </td>
                                                                                    <td>
                                                                                     <asp:RegularExpressionValidator ID="reqFDMobile" runat="server" ControlToValidate="txt_FDPhone"
                                                                                                        ErrorMessage="Only Numbers allowed" ValidationExpression="^[0-9]*$"   ForeColor="Red" ></asp:RegularExpressionValidator>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Passport" runat="server" CssClass="label100" Text="Passport Number"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_Passport" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_ExpDate" runat="server" CssClass="label100" Text="Expiry Date"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="txt_FD_ExpDate" runat="server" Width="100px" onFocus="test()" CssClass="datepicker" ></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblFD_Physically" runat="server" CssClass="label100" Text="Physically Challenged"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddl_FD_Physically" runat="server" CssClass="select100">
                                                                                            <asp:ListItem Selected="True" Value="-1">--Select--</asp:ListItem>
                                                                                            <asp:ListItem>Yes</asp:ListItem>
                                                                                            <asp:ListItem>No</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                          <asp:RequiredFieldValidator ID="rfqPhysicall" ControlToValidate="ddl_FD_Physically" ErrorMessage="Physically Challenged Should Not Be Blank"
                                                                                            Display="Static" InitialValue="" Text="*" runat="server" ForeColor="Red" />
                                                                                     
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="center" colspan="6">
                                                                                        <asp:Button ID="btnFamilyDetailsAdd" Text="Add Family Details" runat="server" CssClass="form_button1"
                                                                                            OnClick="btnFamilyDetailsAdd_Click" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td align="right">
                                                                                    <div id="divFamily" runat="server" visible="false"  style="overflow: scroll; height: 102px;">
                                                                                        <asp:GridView ID="gvFamily" runat="server" AutoGenerateColumns="False" CssClass="gridview"
                                                                                             DataKeyNames="Name"
                                                                                            EnableModelValidation="True" GridLines="Vertical" OnRowCommand="gvFamily_RowCommand">
                                                                                          <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="Select">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:CheckBox ID="chkFamily" runat="server" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:BoundField DataField="Name" HeaderText="Name" />
                                                                                                <asp:BoundField DataField="Relationship" HeaderText="Relation" />
                                                                                                <asp:BoundField DataField="Gender" HeaderText="Gender" />
                                                                                                <asp:BoundField DataField="IDNo" HeaderText="ID No" />
                                                                                                <asp:BoundField DataField="Occupation" HeaderText="Occupation" />
                                                                                                <asp:BoundField DataField="DateOfBirth" HeaderText="Date Of Birth" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                <asp:BoundField DataField="Age" HeaderText="Age" />
                                                                                                <asp:BoundField DataField="PassportNo" HeaderText="Passport Number" />
                                                                                                <asp:BoundField DataField="ExpiryDate" HeaderText="Expiry Date" DataFormatString="{0:dd-M-yyyy}" />
                                                                                                <asp:BoundField DataField="PhysicallyChallenged" HeaderText="Physically Challenged" />
                                                                                                   <asp:BoundField DataField="Phone" HeaderText="Phone" />
    
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Button ID="btnEditFamily" runat="server" CssClass="form_button"
                                                                                        OnClick="btnEditFamily_Click"  CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidateFamily(this)" Text="Edit"
                                                                                        Visible="False" />
    
                                                                                        &nbsp
                                                                                  <asp:Button runat="server" CausesValidation="false"  OnClientClick="javascript:return CheckBoxValidateFamily(this)" Text="Delete"
        CssClass="form_button" ID="btnDeleteFamily" Visible="False"
        OnClick="btnDeleteFamily_Click"></asp:Button>
    
                                                                                
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                                <td>
                                                                                    &nbsp;</td>
                                                                            </tr>
                                                                            <tr align="center">
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnFamilySave" runat="server" CssClass="form_button" Text="Save" CausesValidation="false"
                                                                                        ToolTip="Save" OnClick="btnFamilySave_Click" />&nbsp
                                                                                    <input id="btnResetFamily" class="form_button" type="reset" value="Reset" />
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                    <asp:WizardStep runat="server" StepType="Finish" Title="Employee Language Details"
                                                        ID="WizardStep12">
                                                        <div>
                                                            <table  width="100%">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel ID="panel13" runat="server" GroupingText="Employee Language Details" CssClass="panelGridColumnTable1">
                                                                            <table class="Form_Table">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDEmployeeCode" runat="server" CssClass="label100" Text="Employee Code"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_EmpCode" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="rfqEmpCodes" ControlToValidate="txt_LD_EmpCode"
                                                                                            ErrorMessage="Employee Code Should Not Be Blank" Display="Static" InitialValue=""
                                                                                            Text="*" runat="server"  ForeColor="Red"/>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDWorkLocation" runat="server" CssClass="label100" Text="Work Location"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Work" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDDepartment" runat="server" CssClass="label100" Text="Department"></asp:Label>
                                                                                        <asp:TextBox ID="lbl_LD_Department" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDSect" runat="server" CssClass="label100" Text="Section"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Section" Enabled="false" runat="server" CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDEmployeeName" runat="server" CssClass="label100" Text="Employee Name"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_EmpName" Enabled="false" runat="server" CssClass="textfild_input180"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDPosition" runat="server" CssClass="label100" Text="Position"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Postion" Enabled="false" runat="server" Style="margin-left: 0px"
                                                                                            CssClass="textfild_input100"></asp:TextBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblLDStatus" runat="server" CssClass="label100" Text="Status"  Visible="false"></asp:Label>
                                                                                        <asp:TextBox ID="txt_LD_Status" Enabled="false" runat="server" CssClass="textfild_input100"  Visible="false"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="pnlLD" GroupingText="Language Details" runat="server" CssClass="panelGridColumnTable1">
                                                                            <table>
                                                                                <tr>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblLDlanguage" runat="server" CssClass="label100" Text="Language"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddl_LD_language" runat="server" CssClass="select100">
                                                                                                    </asp:DropDownList>
                                                                                                   <asp:RequiredFieldValidator ID="reqLanguage" runat="server" ControlToValidate="ddl_LD_language" Display="Static"  InitialValue=""  Text="*"  ForeColor="Red"></asp:RequiredFieldValidator>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Label ID="lblLDMotherTonmgue" runat="server" CssClass="label100" Text="Mother Tongue"></asp:Label>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:DropDownList ID="ddl_LD_MotherTonmgue" runat="server" CssClass="select100">
                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                        <asp:ListItem>No</asp:ListItem>
                                                                                                        <asp:ListItem>Yes</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                    <td>
                                                                                        <table class="Form_Table">
                                                                                            <tr>
                                                                                                <td>
                                                                                                    <asp:Panel ID="pnlProficiency" runat="server" GroupingText="Proficiency" BorderColor="#CCCCFF"
                                                                                                        BorderStyle="Solid" BorderWidth="1px">
                                                                                                        <table>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDRead" runat="server" CssClass="label100" Text="To Read"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:CheckBox ID="chkRead" runat="server" AutoPostBack="true"
                                                                                                                        OnCheckedChanged="chkRead_CheckedChanged" />
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDReadRating" runat="server" CssClass="label100" Text="Rating"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:DropDownList ID="ddl_ReadRating" runat="server" CssClass="select100">
                                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                                        <asp:ListItem>Good</asp:ListItem>
                                                                                                                        <asp:ListItem>Average</asp:ListItem>
                                                                                                                        <asp:ListItem>Excellent</asp:ListItem>
                                                                                                                    </asp:DropDownList>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDWrite" runat="server" CssClass="label100" Text="To Write"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:CheckBox ID="chkWrite" runat="server" AutoPostBack="true"
                                                                                                                        OnCheckedChanged="chkWrite_CheckedChanged"  />
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDWriteRating" runat="server" CssClass="label100" Text="Rating"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:DropDownList ID="ddl_WriteRating" runat="server" CssClass="select100">
                                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                                        <asp:ListItem>Good</asp:ListItem>
                                                                                                                        <asp:ListItem>Average</asp:ListItem>
                                                                                                                        <asp:ListItem>Excellent</asp:ListItem>
                                                                                                                    </asp:DropDownList>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDSpeak" runat="server" CssClass="label100" Text="To Speak"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:CheckBox ID="chkSpeak" runat="server"  AutoPostBack="true"
                                                                                                                        OnCheckedChanged="chkSpeak_CheckedChanged" />
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Label ID="lblLDSpeakRating" runat="server" CssClass="label100" Text="Rating"></asp:Label>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:DropDownList ID="ddl_SpeakRating" runat="server" CssClass="select100">
                                                                                                                        <asp:ListItem Value="-1">--Select--</asp:ListItem>
                                                                                                                        <asp:ListItem>Average</asp:ListItem>
                                                                                                                        <asp:ListItem>Good</asp:ListItem>
                                                                                                                        <asp:ListItem>Excellent</asp:ListItem>
                                                                                                                    </asp:DropDownList>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                    <asp:Button ID="btnAdd_Language" runat="server" Text="Add Language" Visible="true"
                                                                                                                        OnClick="btnAdd_Language_Click" CssClass="form_button" />
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                                <td>
                                                                                                                </td>
                                                                                                            </tr>
                                                                                                        </table>
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <div id="divLanguage"  runat="server" visible="false" style="overflow: scroll; height: 83px; width: 795px">
                                                                                        <asp:GridView ID="gvLanguage" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                                                                                            CssClass="gridview" BorderStyle="None"
                                                                                            GridLines="Vertical" DataKeyNames="ID"
                                                                                         >
                                                                                         <AlternatingRowStyle CssClass="gridview_alter"></AlternatingRowStyle>
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderText="Select">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:CheckBox ID="chkLanguage" runat="server" />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Language">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lblLanguage" runat="server" Text='<%# Eval("Language") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Mother Tongue">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MotherTongue" runat="server" Text='<%# Eval("MotherTongue") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Proficiency To Read">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_Read" runat="server" Text='<%# Eval("ProficiencyToRead") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Read Rating">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_ReadRating" runat="server" Text='<%# Eval("ReadRating") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Proficiency to Write">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_Write" runat="server" Text='<%# Eval("ProficiencyToWrite") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Write Rating">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_WriteRating" runat="server" Text='<%# Eval("WriteRating") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Proficiency to Speak">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_Speak" runat="server" Text='<%# Eval("ProficiencyToSpeak") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:TemplateField HeaderText="Speak Rating">
                                                                                                    <ItemTemplate>
                                                                                                        <asp:Label ID="lbl_MT_SpeakRating" runat="server" Text='<%# Eval("SpeakRating") %>' />
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                            </Columns>
                                                                                            <FooterStyle BackColor="#CCCC99" />
                                                                                            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                                                                                            <RowStyle BackColor="#F7F7DE" />
                                                                                            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="Form_Table">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Button ID="btnEditLanguage" runat="server" CssClass="form_button" Visible="false" CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidation(this)" Text="Edit" OnClick="btnEditLanguage_Click" />&nbsp
                                                                                    <asp:Button ID="btnDeleteLanguage" runat="server" CssClass="form_button" Visible="false" CausesValidation="false"
                                                                                        OnClientClick="javascript:return CheckBoxValidation(this)" Text="Delete" OnClick="btnDeleteLanguage_Click" />
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 700px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Button ID="btnLanguageSave" runat="server" CssClass="form_button" Text="Save"
                                                                                        OnClick="btnLanguageSave_Click" ToolTip="Save" CausesValidation="false" />&nbsp
                                                                                    <input id="btnResetLanguage" type="reset" value="Reset" class="form_button" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </asp:WizardStep>
                                                </WizardSteps>
                                            </asp:Wizard>
           
            <div></div>
        </form>
    </body>
    </html>
    

    .aspx.cs file:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    
    namespace WebApplication1
    {
        public partial class RepeaterWithTextarea : System.Web.UI.Page
        {
            protected void Page_Load(object sender, EventArgs e)
            {
    
            }
    
            //protected void btnUpload_Click(object sender, EventArgs e)
            //{
            //    System.IO.Stream fs = FileUpload1.PostedFile.InputStream;
    
            //    System.IO.BinaryReader br = new System.IO.BinaryReader(fs);
    
            //    Byte[] bytes = br.ReadBytes((Int32)fs.Length);
    
            //    string base64String = Convert.ToBase64String(bytes, 0, bytes.Length);
    
            //    Image1.ImageUrl = "data:image/png;base64," + base64String;
    
            //    Image1.Visible = true;
            //}
    
            protected void btnfileupload_Click(object sender, EventArgs e)
            {
    
               
                    // uplEmployeeAdministration.Update();
    
    
                    //string  filePath = fileImage.PostedFile.FileName;
                    //filename = System.IO.Path.GetFileName(filePath);
                    //bytes = UploadFile(filename);
    
    
                
    
            }
    
            protected void imgbtnSearch_Click(object sender, ImageClickEventArgs e)
            {
    
            }
    
            protected void txtPopEmpCode_TextChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void txtPopEmpName_TextChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void lnkbtnEmpcode_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void gvPopEmpDetails_PageIndexChanging(object sender, GridViewPageEventArgs e)
            {
    
            }
    
            protected void imgbtnDeptSearch_Click(object sender, ImageClickEventArgs e)
            {
    
            }
    
            protected void lnkbtnDepartmentCode_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void gvDepartment_PageIndexChanging(object sender, GridViewPageEventArgs e)
            {
    
            }
    
            protected void btnSearchEmp_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void Button1_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void gvEmployees_PageIndexChanging(object sender, GridViewPageEventArgs e)
            {
    
            }
    
            protected void btnCreate_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnEdit_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void txtFirstName_TextChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void txtLastName_TextChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void btnfileupload_Click1(object sender, EventArgs e)
            {
                 string employeeCode = txtEmployeeCode.Text;
                 if (fileImage.HasFile)
                 {
    
                     //Session["Image"] = fileImage.PostedFile;
    
                     System.IO.Stream fs = fileImage.PostedFile.InputStream;
                     System.IO.BinaryReader br = new System.IO.BinaryReader(fs);
                     Byte[] bytesPhoto = br.ReadBytes((Int32)fs.Length);
                     string base64String = Convert.ToBase64String(bytesPhoto, 0, bytesPhoto.Length);
                     imgPhoto.ImageUrl = "data:image/png;base64," + base64String;
    
    
                     imgPhoto.Visible = true;
                 }
            }
    
            protected void btnSave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnEMSave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnEADSave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btn_IDSave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnAdd_Training_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btn_ETD_Save_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnPMDAdd_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void deleteButton_Click(object sender, ImageClickEventArgs e)
            {
    
            }
    
            protected void deleteButton_Click1(object sender, ImageClickEventArgs e)
            {
    
            }
    
            protected void deleteButton_Click2(object sender, ImageClickEventArgs e)
            {
    
            }
    
            protected void deleteButton_Click3(object sender, ImageClickEventArgs e)
            {
    
            }
    
            protected void btn_PED_Save_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnPMDAdd_Click1(object sender, EventArgs e)
            {
    
            }
    
            protected void btn_PMD_Save_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btn_PID_Save_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void ddl_QD_Qualification_SelectedIndexChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void btn_Add_Qualification_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnEditQualification_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnDeleteQualification_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnQualificationSave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnFamilyDetailsAdd_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void gvFamily_RowCommand(object sender, GridViewCommandEventArgs e)
            {
    
            }
    
            protected void btnEditFamily_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnDeleteFamily_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnFamilySave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnEditLanguage_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnDeleteLanguage_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnLanguageSave_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnEditProfessional_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void btnDeleteProfessional_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void ddlIDType_SelectedIndexChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void ddl_QD_MonthObtained_SelectedIndexChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void gv_Qualification_RowDataBound(object sender, GridViewRowEventArgs e)
            {
    
            }
    
            protected void chkRead_CheckedChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void chkWrite_CheckedChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void chkSpeak_CheckedChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void btnAdd_Language_Click(object sender, EventArgs e)
            {
    
            }
    
            protected void wzEmployeeAdministration_NextButtonClick(object sender, WizardNavigationEventArgs e)
            {
    
            }
    
            protected void wzEmployeeAdministration_PreviousButtonClick(object sender, WizardNavigationEventArgs e)
            {
    
            }
    
            protected void wzEmployeeAdministration_ActiveStepChanged(object sender, EventArgs e)
            {
    
            }
    
            protected void wzEmployeeAdministration_FinishButtonClick(object sender, WizardNavigationEventArgs e)
            {
    
            }
        }
    }

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, December 27, 2013 3:03 AM