<%@ page language="C#" enableeventvalidation="false" masterpagefile="~/MasterFile/TimeCheck.master" autoeventwireup="true" inherits="TA_UI_Master_MyProfileView, App_Web_cvin04jn" %>

<%@ Register TagPrefix="dxGridview" Namespace="DevExpress.Web" Assembly="DevExpress.Web.v14.2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPH" runat="Server">
    <script src="../plugins/datepicker/jquery-1.11.1.min.js"></script>
    <script language="javascript" src="../js/jquery.autocomplete.js" type="text/javascript"></script>
    <script src="../plugins/datepicker/bootstrap-datepicker.js"></script>
    <script src="../js/Lookupddl.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#ctl00_BodyContentPH_txt_dobrecord').datetimepicker({ format: document.getElementById('ctl00_BodyContentPH_Hidden1').value });
            $('#ctl00_BodyContentPH_txt_dob').datetimepicker({ format: document.getElementById('ctl00_BodyContentPH_Hidden1').value });
        });
    </script>

    <script type="text/javascript">
        var Errorretrievingdatafromlookup = "Error retrieving data from lookup";
        function assignValue(e, ctrl, val) {
            var keycode;
            if (window.event) keycode = window.event.keyCode;
            else if (e) keycode = e.which;
            else if (event) keycode = event.keyCode;
            else return true;
            ph = ctrl.value;
            if (ctrl.value.lastIndexOf("+") == 0 || ctrl.value.lastIndexOf("+") == -1) {
            }
            else {
                ctrl.value = ph;
                ctrl.focus();
                alert(Entervalid + val + AlertNumber);
                return false
            }
            if (!(keycode == 58 && e.value.indexOf(":") > -1)) {
                if ((keycode == 40) || (keycode == 41) || (keycode == 43) || (keycode == 45) || (keycode >= 48 && keycode <= 57) || (keycode == 8) || (keycode == 0)) {
                    return true;
                }
                else {
                    return false;
                }
            }
            else {
                return false;
            }
            return true;
        }
        function checkPhone(e) {
            var keycode;
            if (window.event) keycode = window.event.keyCode;
            else if (e) keycode = e.which;
            else if (event) keycode = event.keyCode;
            else return true;
            if (!(keycode == 58 && e.value.indexOf(":") > -1)) {
                if ((keycode == 40) || (keycode == 41) || (keycode == 43) || (keycode == 45) || (keycode >= 48 && keycode <= 57) || (keycode == 8) || (keycode == 0)) {
                    return true;
                }
                else {
                    return false;
                }
            }
            else {
                return false;
            }
            return true;
        }
    </script>
    <div class="content-header">
        <h1 style="background-image: url('../dist/img/pem.png'); background-repeat: no-repeat; padding-left: 35px">
            <asp:Label ID="lbl_HeaderMyProfileView" runat="server"></asp:Label>
        </h1>
        <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
            <NodeStyle CssClass="active" />
        </asp:SiteMapPath>
    </div>
    <div class="content">
        <asp:HiddenField ID="Hidden1" runat="server" />
        <div class="form-horizontal">
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_EmployeeFirstName" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_EmpFirstName" runat="server" CssClass="form-control mandatory"
                        MaxLength="35" onkeypress="return acceptChars_MaxLength(event,this,35,MaxLength);"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_MiddleName" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_MiddleName" runat="server" CssClass="form-control"
                        MaxLength="35" onkeypress="return acceptChars_MaxLength(event,this,35,MaxLength);"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_LastName" runat="server"></asp:Label><font color="#FF0000"></font>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_LastName" runat="server" CssClass="form-control"
                        MaxLength="35" onkeypress="return acceptChars_MaxLength(event,this,35,MaxLength);"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_FathersName" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_FatherName" runat="server" CssClass="form-control"
                        MaxLength="50" ReadOnly="true" onkeypress="return acceptChars_MaxLength(event,this,50,MaxLength);"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_MothersName" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_MotherName" runat="server" CssClass="form-control"
                        MaxLength="50" ReadOnly="true" onkeypress="return acceptChars_MaxLength(event,this,50,MaxLength);"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_BloodGroup" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_BloodGroup" runat="server" CssClass="form-control"
                        MaxLength="15"  onkeyup="return chkMaxLen(event,this,15,MaxLength);"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_DateofBirth" runat="server"></asp:Label><font color="#FF0000"></font>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_dob" CssClass="form-control" runat="server"
                        MaxLength="11" onDrop="return false;" ReadOnly="true" oncut="return false"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_DateofBirthAsPerRec" class="control-label con-top" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_dobrecord" runat="server" CssClass="form-control"
                        MaxLength="11" onDrop="return false;"  oncut="return false"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_EmailID" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_EmailID" CssClass="form-control" runat="server"
                        MaxLength="100" ReadOnly="true" Onblur="validateEmailID();"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_PersonalMailID" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_PerEmailId" CssClass="form-control" runat="server" ReadOnly="true"
                        MaxLength="100"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_ContactAddress" runat="server"></asp:Label><font color="#FF0000">
                                        </font>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_ContactAddress" runat="server" CssClass="form-control"
                        MaxLength="255" onkeypress="return acceptAddress(event,this)" onkeyup="return chkMaxLen(event,this,225,MaxLength);"
                        TextMode="MultiLine" Style="resize: none"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_PermanentAddress" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_PermanentAddress" runat="server" CssClass="form-control"
                        MaxLength="255" onkeypress="return acceptAddress(event,this);" onkeyup="return chkMaxLen(event,this,225,MaxLength);"
                        TextMode="MultiLine" Style="resize: none"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_Country" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:DropDownList ID="ddl_Country" CssClass="form-control select2" EnableViewState="true" Enabled="false"
                        runat="server" AppendDataBoundItems="true" AutoPostBack="true" OnSelectedIndexChanged="ddl_Country_SelectedIndexChanged" onchange="return GetLookupData('1',Errorretrievingdatafromlookup);">
                        <asp:ListItem Selected="True" Text="-Select-"></asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_State" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:DropDownList ID="ddl_State" CssClass="form-control select2" Enabled="false" EnableViewState="true"
                        runat="server" AppendDataBoundItems="true" onchange="return GetLookupData('2',Errorretrievingdatafromlookup);">
                        <asp:ListItem Selected="True" Text="-Select-"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_City" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:DropDownList ID="ddl_City" CssClass="form-control select2" EnableViewState="true" Enabled="false"
                        runat="server" AppendDataBoundItems="true" onchange="return GetLookupData('3',Errorretrievingdatafromlookup);">
                        <asp:ListItem Selected="True" Text="-Select-"></asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_District" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_District" CssClass="form-control" runat="server" ReadOnly="true"
                        MaxLength="50" onkeypress="return Valiadteltgt(event,this);"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_PhoneNumber" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_PhoneNo" runat="server" CssClass="form-control"
                        MaxLength="15" onDrop="return false;" onkeyup="return assignValue(event,this,'Phone')"
                        onkeypress="return checkPhone(event)"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_MobileNumber" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_MobileNo" runat="server" CssClass="form-control"
                        MaxLength="15" onDrop="return false;" onkeyup="return assignValue(event,this,'Mobile')"
                        onkeypress="return checkPhone(event)"></asp:TextBox>
                </div>
            </div>
            <div class="form-group" style="display:block">
                <div class="col-md-2">
                    <asp:Label ID="lbl_Maritalstatus" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <div class="row">
                        <div class="col-md-6">
                            <asp:RadioButton ID="rbtn_Single" GroupName="MaritalStatus" runat="server" Checked="True"
                                Text="Single" CssClass="radio radio-primary" />
                        </div>
                        <div class="col-md-6">
                            <asp:RadioButton ID="rbtn_Married" GroupName="MaritalStatus" runat="server" Text="Married"
                                CssClass="radio radio-primary" />
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2">
                    <asp:Label ID="lbl_Nationality" runat="server"></asp:Label><font color="#FF0000"></font>
                </div>
                <div class="col-md-3">
                    <asp:TextBox onpaste="return true" ID="txt_Nationality" runat="server" CssClass="form-control"
                        MaxLength="50" ReadOnly="true" onkeypress="return acceptChars_MaxLength(event,this,50,MaxLength);"></asp:TextBox>
                </div>
                <div class="col-md-1">
                </div>
                <div class="col-md-2">
                    <asp:Label ID="lbl_Religion" runat="server"></asp:Label>
                </div>
                <div class="col-md-3">
                    <asp:DropDownList ID="ddlReligion" runat="server" AppendDataBoundItems="true" CssClass="form-control select2" Enabled="false">
                        <asp:ListItem Selected="True" Text="-Select-" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </div>

            <div class="row">
                <div class="col-md-2">
                    <span style="color: Red">|</span>&nbsp;&nbsp;Doc. Proof
                </div>
                <div class="col-md-3">
                    <asp:FileUpload ID="fu_proofDoc" runat="server" CssClass="form-control" />

                </div>
               
            </div>
            <div class="row">
                <div class="col-md-2">

                </div>
                <div class="col-md-3">
                    <div style="margin-top: 5px;"><b>Choose the File to be imported</b></div>
                    <div style="font-size: 12px; text-align: justify;">[only <b>Doc,Docx,JPEG,PDF,JPG</b> formats are Supported] Maximum upload file size is <b style="font-size: 12px;">5MB</b>.</div>
                </div>
            </div>
        

        <div class="form-group" style="display: none">
            <div class="col-md-2">
                <asp:Label ID="lbl_SwipecardNo" runat="server"></asp:Label>
            </div>
            <div class="col-md-3">
                <asp:TextBox ID="txt_SwipeCardNo" runat="server" CssClass="form-control"></asp:TextBox>
            </div>
        </div>
        <div class="row">
            <div class="col-md-5">
            </div>
            <div class="col-md-6">
                <div class="pull-right-button">
                    <asp:HiddenField ID="hdnMyProfileID" runat="server" Value="0" />
                    <asp:LinkButton ID="btn_Myprofile_Save" runat="server" CssClass="btn save-btn fa-floppy-o" OnClick="btn_Myprofile_Save_Click"></asp:LinkButton>
                    <asp:LinkButton ID="btn_Cancel" CssClass="btn clr-btn fa-times" runat="server"
                        CausesValidation="false" OnClick="btn_Cancel_Click"></asp:LinkButton>
                </div>
            </div>
        </div>
        <%--  <div class="form-group">
                <div class="col-md-12" style="overflow: auto; overflow-y: hidden; padding-top: 10px">
                    <dxGridview:ASPxGridView ID="grvMyProfile" runat="server" ClientInstanceName="grvMyProfile"
                        KeyFieldName="myprofileID" EnableCallBacks="false" AutoGenerateColumns="true">
                        <Columns>
                            <dxGridview:GridViewDataTextColumn FieldName="Employee Id"
                                VisibleIndex="0" Visible="false" Width="100px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lblempid" Text='<%# Eval("Employee_Id") %>' Style="cursor: pointer; overflow-y: auto; overflow-x: auto; word-break: break-all; width: 100px; word-wrap: break-word; display: inline-block;"
                                        runat="server"></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />

                            </dxGridview:GridViewDataTextColumn>
                            <dxGridview:GridViewDataTextColumn FieldName="SwipeCardNo" Caption="Employee Id"
                                VisibleIndex="1" Width="112px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="AppDate1" Text='<%# Eval("SwipeCardNo") %>' Style="cursor: pointer; overflow-y: auto; overflow-x: auto; word-break: break-all; width: 112px; word-wrap: break-word; display: inline-block;"
                                        runat="server"></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn Caption="Employee Name" FieldName="Employee_FirstName"
                                VisibleIndex="2" Width="112px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lblEmp_FirstName" runat="server" Text='<%# Bind("Employee_FirstName") %>'
                                        Style="overflow-y: auto; overflow-x: auto; word-break: break-all; width: 80px; word-wrap: break-word; display: inline-block;"></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn Caption="Middle Name" FieldName="Employee_MiddleName"
                                VisibleIndex="3" Width="112px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lblEmp_LastName" runat="server" Text='<%# Bind("Employee_MiddleName") %>'
                                        Style="overflow-y: auto; overflow-x: auto; word-break: break-all; width: 80px; word-wrap: break-word; display: inline-block;"></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn Caption="Last Name" FieldName="Employee_LastName"
                                VisibleIndex="4" Width="112px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lblEmp_LastName" runat="server" Text='<%# Bind("Employee_LastName") %>'
                                        Style="overflow-y: auto; overflow-x: auto; word-break: break-all; width: 80px; word-wrap: break-word; display: inline-block;"></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>


                            <dxGridview:GridViewDataTextColumn Caption="Father Name" FieldName="Father_Name"
                                VisibleIndex="5" Width="112px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Father_name") %>'
                                        Style="overflow-y: auto; overflow-x: auto; word-break: break-all; width: 80px; word-wrap: break-word; display: inline-block;"></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Mother Name" VisibleIndex="6" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lbl_MotherName" runat="server" Text='<%# Bind("Mother_Name") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Date of Birth" VisibleIndex="7" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lbl_DateofBith" runat="server" Text='<%# Eval("DateofBirth") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Date of Birth Record" VisibleIndex="8" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lbl_DateofReocrd" runat="server" Text='<%# Eval("DateofBirth_Record") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>
                            <dxGridview:GridViewDataTextColumn FieldName="Blood Group" VisibleIndex="9" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lbl_BloodGroup" runat="server" Text='<%# Bind("Blood_Group") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>
                            <dxGridview:GridViewDataTextColumn FieldName="Email" VisibleIndex="10" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="lbl_Email" runat="server" Text='<%# Bind("EmailId") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Personal Mail Id" VisibleIndex="11" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Personal_mailId") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Contact Address" VisibleIndex="12" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Contact_Address") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Permanent Address" VisibleIndex="13" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Permanent_Address") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Mobile Number" VisibleIndex="14" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Mobile_Number") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>
                            <dxGridview:GridViewDataTextColumn FieldName="Marital Status" VisibleIndex="15" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Marital_Status") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Nationality" VisibleIndex="16" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Nationality") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Country" VisibleIndex="17" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("CountryName") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="State" VisibleIndex="18" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("StateName") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="City" VisibleIndex="19" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("CityName") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>


                            <dxGridview:GridViewDataTextColumn FieldName="District" VisibleIndex="20" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("District") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>

                            <dxGridview:GridViewDataTextColumn FieldName="Status" VisibleIndex="21" Width="112px">
                                <Settings AllowAutoFilter="false" AllowDragDrop="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Status") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>


                            <dxGridview:GridViewDataTextColumn FieldName="ModifiedDate" Caption="Modified Date" VisibleIndex="22" Width="80px">
                                <Settings AllowDragDrop="False" AllowAutoFilter="false" />
                                <DataItemTemplate>
                                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("ModifiedDate") %>'></asp:Label>
                                </DataItemTemplate>
                                <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                            </dxGridview:GridViewDataTextColumn>



                            <%-- <dxGridview:GridViewDataColumn HeaderStyle-VerticalAlign="Middle" HeaderStyle-HorizontalAlign="Center"
                                                            CellStyle-VerticalAlign="Middle" CellStyle-HorizontalAlign="Center" Width="40px">
                                                            <Settings AllowAutoFilter="false"  />
                                                            <DataItemTemplate>
                                                                <asp:LinkButton runat="server" PostBackUrl='<%# String.Format("TA_UI_Transaction_MyProfileTrans.aspx?Emp_Id={0}&Status={1}", Eval("Employee_Id"),Eval("Status"))%>' ID="btnEditMyp" CssClass="btn btn-defalut edit-icons" Visible='<%# Convert.ToString(Eval("Status")).ToUpper()=="APPROVED"?false:true %>'></asp:LinkButton>
                                                            </DataItemTemplate>
                                                            <HeaderStyle HorizontalAlign="center" Wrap="true" CssClass="empheader" />
                                                        </dxGridview:GridViewDataColumn>
                        </Columns>
                        <SettingsPager PageSize="10">
                        </SettingsPager>
                        <SettingsText EmptyDataRow="No Records Found" />
                        <Settings ShowFilterRow="false" />
                        <SettingsBehavior SortMode="Value" AllowSort="true" AllowDragDrop="true" />
                        <Styles AlternatingRow-CssClass="table-bg">
                        </Styles>
                    </dxGridview:ASPxGridView>
                </div>
            </div>--%>
    </div>
    </div>
</asp:Content>
