<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Masters/AgentMaster.Master"
    CodeBehind="RemitterRegistration.aspx.cs" Inherits="CasheeremitAgent.Customer.RemitterRegistration" %>

<%@ Register Assembly="DropDownChosen" Namespace="CustomDropDown" TagPrefix="ucc" %>
<%@ Register Src="~/Components/Passport.ascx" TagName="Passport" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
    <style type="text/css">
        .ui-datepicker-month {
            color: #FF4500;
        }

        .ui-datepicker-year {
            color: #FF4500;
        }

        .style1 {
            font-size: 11px;
            color: #0458a0;
            font-weight: normal;
            padding: 0px 0px 0px 10px;
            width: 104px;
        }

        .style2 {
            width: 104px;
        }

        .style4 {
            width: 298px;
        }

        .Hide {
            display: none;
        }

        .span1 {
            width: 110px;
        }

        .mrg0Box {
            margin-left: 0px !important;
            width: 100% !important;
        }


        .aspNetDisabled {
            border: 1px solid #ccc;
            box-sizing: border-box;
            color: #777;
            display: block;
            font-size: 13px;
            padding: 6px;
            transition: all 0.5s ease 0s;
            width: 98%;
            background: #eee;
            border-radius: 0px;
        }

        #cpLyremit_rdGender_0 .aspNetDisabled {
            border: 0px !important;
        }
    </style>
    <script type="text/javascript">
        function DisplayProgress() {

            $find('<%=ModalPopupExtender2.ClientID %>').show();
            setTimeout('document.images["imgLoad"].src = "../Styles/images/loading.gif"', 10);
        }
        function Validate(validationgroupname) {

            if (Page_ClientValidate(validationgroupname)) {
                return 'success';
            }
        }

        function DisplayWaiting(validationgroup) {
            debugger;
            if (Validate(validationgroup) == 'success') {
                $find('<%=ModalPopupExtender2.ClientID %>').show();
                setTimeout('document.images["imgLoad"].src = "../Styles/images/loading.gif"', 10);
            }
        }
        function validate_ID_FileSize(source, arguments) {
            debugger;
            arguments.IsValid = false;
            source.className = "errMsg";
            let filesiz = 0;
            let uploadControl = document.getElementById('<%= FileUpldID.ClientID %>');
            for (let i = 0; i < uploadControl.files.length; i++) {
                filesiz = filesiz + uploadControl.files[i].size;
            }
            //filesize = '<%=ConfigurationManager.AppSettings["UploadFileSize"].ToString() %>'
            if (uploadControl.files.length > 1) {
                source.innerHTML = "Please select maximum of 1 document.";
                arguments.IsValid = false;
            }
            else if (filesiz > '<%=ConfigurationManager.AppSettings["UploadFileSize"].ToString() %>') {
                source.innerHTML = "File Size exceeds the limit.Please try uploading smaller size files.";
                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }
        function validate_Add_FileSize(source, arguments) {
            debugger;
            arguments.IsValid = false;
            source.className = "errMsg";
            let filesiz = 0;
            let uploadControl = document.getElementById('<%= FileUpldAddr.ClientID %>');
            for (let i = 0; i < uploadControl.files.length; i++) {
                filesiz = filesiz + uploadControl.files[i].size;
            }
            //filesize = '<%=ConfigurationManager.AppSettings["UploadFileSize"].ToString() %>'
            if (uploadControl.files.length > '<%=filelimitadd %>') {
                source.innerHTML = "Please select maximum of " + '<%=filelimitadd %>' + " document(s).";
                arguments.IsValid = false;
            }
            else if (filesiz > '<%=filesizeadd %>') {
                source.innerHTML = "File Size exceeds the limit.Please try uploading smaller size files.";
                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }
        <%--function validate_Add_FileSize(source, arguments) {

            arguments.IsValid = false;
            source.className = "errMsg";

            var uploadControl = document.getElementById('<%= FileUpldAddr.ClientID %>');
            var filesize = '<%=ConfigurationManager.AppSettings["UploadFileSize"].ToString() %>'

            if (uploadControl.files[0].size > filesize) {
                source.innerHTML = "FileSize exceeds the limit.please try uploading smaller size files.";
                arguments.IsValid = false;
            }
            else {
                arguments.IsValid = true;
            }
        }--%>
        function swalalert(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: true
            });
        }

        function swaRedirect(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: false
            }, function (isConfirm) {
                if (isConfirm) {
                    window.location.href = '<%=redurl %>';
                }
                else {
                }
            });
        }


        function AdrsDetails_HS() {
            var msg = '<%=ConfigurationManager.AppSettings["GBG_Off_Msg"].ToString() %>';
            swal({ title: "", text: msg, type: "info" });
        }
        window.document.title = "Profile Registration";
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpLyremit" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="600">
    </asp:ScriptManager>
    <div class=" span7  margB20  margL20 nomrgMobil">
        <script src="../Scripts/js/jquery-ui-1.8.4.custom.min.js?v=1.1" type="text/javascript"></script>
        <script type="text/javascript">
            window.addEventListener("load", DatePicker);
            function DatePicker() {
                debugger;
                var date = new Date();
                var currentMonth = date.getMonth();
                var currentDate = date.getDate();
                var currentYear = date.getFullYear();

                $('#<%= txtIDExpiry.ClientID %>').datepicker({
                    inline: true,
                    dateFormat: 'dd/mm/yy',
                    numberOfMonths: [1, 1],
                    showOn: "button",
                    buttonImage: "../Styles/images/date.jpg",
                    buttonImageOnly: true,
                    //minDate: new Date(currentYear, currentMonth, currentDate),
                    minDate: 1,
                    //minDate: '-100y',
                    changeMonth: true,
                    changeYear: true,
                    //maxDate: '1',
                    yearRange: '1950:' + (new Date().getFullYear() + 20)
                    //maxDate: '-10y'
                });
            }

            function DatePicker1() {

                $('#<%= txtIssuDate.ClientID %>').datepicker({
                    inline: true,
                    dateFormat: 'dd/mm/yy',
                    showOn: "button",
                    buttonImage: "../Styles/images/date.jpg",
                    buttonImageOnly: true,
                    changeMonth: true,
                    changeYear: true,
                    yearRange: '-100y:c+nn',
                    maxDate: '-1d'
                });
            }


            function ShowAvailMobile() {

                $.ajax({
                    type: "POST",
                    url: "RemitterRegistration.aspx/CheckMobile",
                    data: '{mobile: "' + $("#<%=txtMobile.ClientID%>")[0].value + '" }',
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: OnSuccessM
                });
            }

            function OnSuccessM(response) {
                var mesg1 = $("#mesgmob")[0];

                switch (response.d) {
                    case "true":
                        //mesg.style.color = "green";
                        mesg1.className = "spn_msg_H";
                        mesg1.innerHTML = "";
                        break;
                    case "false":
                        document.getElementById("<%=txtMobile.ClientID %>").value = "";
                        mesg1.className = "spn_msg_V";
                        mesg1.style.color = "red";
                        mesg1.innerHTML = "Mobile Number already exists";
                        break;
                    case "error":
                        mesg1.class = "spn_msg_V";
                        mesg1.style.color = "red";
                        mesg1.innerHTML = "Error occured";
                        break;
                }
            }

            function ShowAvailability() {

                $.ajax({
                    type: "POST",
                    url: "RemitterRegistration.aspx/CheckUserName",
                    data: '{userName: "' + $("#<%=txtEmailId.ClientID%>")[0].value + '" }',
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: OnSuccess
                });
            }

            function OnSuccess(response) {
                var mesg = $("#mesg")[0];

                switch (response.d) {
                    case "true":
                        //mesg.style.color = "green";
                        mesg.className = "spn_msg_H";
                        mesg.innerHTML = "";
                        break;
                    case "false":
                        document.getElementById("<%=txtEmailId.ClientID %>").value = "";
                        mesg.className = "spn_msg_V";
                        mesg.style.color = "red";
                        mesg.innerHTML = "EmailID already exists";
                        break;
                    case "error":
                        mesg.class = "spn_msg_V";
                        mesg.style.color = "red";
                        mesg.innerHTML = "Error occured";
                        break;
                }
            }
        </script>
        <script type="text/javascript">

            $(document).ready(startupscripts);
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(startupscripts);

            // Page_ClientValidate JavaScript function will make sure that all Validators have validated the form and the validation 
            //is successful then only it will raise the JavaScript confirmation.

            function Day_onchange() {

                var year = document.getElementById("<%=ddlyear.ClientID %>");
                var month = document.getElementById("<%=ddlmonth.ClientID %>");
                var day = document.getElementById("<%=ddlday.ClientID %>");

                var selected_year = year.value.toString();
                var selected_month = month.value.toString();
                var selected_day = day.value.toString();

                $('#<%=hdnf_Day.ClientID %>').val(selected_day);
                $('#<%=hdnf_Mnth.ClientID %>').val(selected_month);
                $('#<%=hdnf_Yr.ClientID %>').val(selected_year);
            }

            function Populate_yr_month() {
                var pres_year = new Date().getFullYear();
                var endyr_rng = parseInt('<%=ConfigurationManager.AppSettings["endyr_rng"].ToString() %>');
                var endyr = pres_year - endyr_rng;
                var startyr_rng = parseInt('<%=ConfigurationManager.AppSettings["startyr_rng"].ToString() %>');
                var startyr = endyr - startyr_rng;

                var list_yr = document.getElementById('<%=ddlyear.ClientID%>');

                var newListItem = document.createElement('OPTION');
                newListItem.text = "Year";
                newListItem.value = "0";
                list_yr.options.add(newListItem);

                for (y = endyr; y >= startyr; y--) {
                    var newListItem = document.createElement('OPTION');
                    newListItem.text = y;
                    newListItem.value = y;
                    list_yr.options.add(newListItem);
                }

                var list_mth = document.getElementById('<%=ddlmonth.ClientID%>');
                var months = ["Month", "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"];
                for (m = 0; m < months.length; m++) {
                    var newListItem = document.createElement('OPTION');
                    newListItem.text = months[m];

                    if (m < 10)
                        newListItem.value = "0" + m.toString();
                    else
                        newListItem.value = m;

                    list_mth.options.add(newListItem);
                }
            }

            function Populate_day() {
                var yearID = document.getElementById("<%=ddlyear.ClientID %>");
                var monthID = document.getElementById("<%=ddlmonth.ClientID %>");
                var list_day = document.getElementById("<%=ddlday.ClientID %>");

                var year = parseInt(yearID.value.toString());
                var month = parseInt(monthID.value.toString());

                $('#<%=ddlday.ClientID %>').empty();
                var newlistitem = document.createElement('OPTION');
                newlistitem.text = "Day";
                newlistitem.value = "0";
                list_day.options.add(newlistitem);

                switch (month) {
                    case 01:
                    case 03:
                    case 05:
                    case 07:
                    case 08:
                    case 10:
                    case 12:
                        for (i = 1; i <= 31; i++) {
                            var newListItem = document.createElement('OPTION');
                            if (i < 10) {
                                newListItem.text = "0" + i.toString();
                                newListItem.value = "0" + i.toString();
                            }
                            else {
                                newListItem.text = i.toString();
                                newListItem.value = i.toString();
                            }

                            list_day.options.add(newListItem);
                        }
                        break;

                    case 4:
                    case 6:
                    case 9:
                    case 11:
                        for (i = 1; i <= 30; i++) {
                            var newListItem = document.createElement('OPTION');
                            if (i < 10) {
                                newListItem.text = "0" + i.toString();
                                newListItem.value = "0" + i.toString();
                            }
                            else {
                                newListItem.text = i.toString();
                                newListItem.value = i.toString();
                            }

                            list_day.options.add(newListItem);
                        }
                        break;

                    case 2:
                        if ((year % 400 == 0) || (year % 100 != 0 && year % 4 == 0)) {
                            for (i = 1; i <= 29; i++) {
                                var newListItem = document.createElement('OPTION');
                                if (i < 10) {
                                    newListItem.text = "0" + i.toString();
                                    newListItem.value = "0" + i.toString();
                                }
                                else {
                                    newListItem.text = i.toString();
                                    newListItem.value = i.toString();
                                }

                                list_day.options.add(newListItem);
                            }
                        }
                        else {
                            for (i = 1; i <= 28; i++) {
                                var newListItem = document.createElement('OPTION');
                                if (i < 10) {
                                    newListItem.text = "0" + i.toString();
                                    newListItem.value = "0" + i.toString();
                                }
                                else {
                                    newListItem.text = i.toString();
                                    newListItem.value = i.toString();
                                }

                                list_day.options.add(newListItem);
                            }
                        }
                        break;
                }
            }



            function blockSpace(e) {

                var keyCode;
                if ($.browser.msie)
                    keyCode = e.keyCode;
                else
                    keyCode = e.which;

                if (keyCode == 32)
                    return false;
            }

            function Validate(validationgroupname) {
                if (Page_ClientValidate(validationgroupname)) {
                    return 'success';
                }
            }

            function IDTypeAlertMsg() {
                swal({ title: "", text: "Please enter your correct details,this cannot be changed Later.", type: "info" });
            }

            function InvalidDOB() {
                swal({ title: "", text: "please select a valid DOB.", type: "error" });
            }

            function GBG_Off_Alert() {

                var msg = '<%=ConfigurationManager.AppSettings["GBG_Off_Msg"].ToString() %>';
                swal({ title: "", text: msg, type: "info" });
                document.getElementById('divselectadrs').style.display = "none";
                document.getElementById('divlstadrs').style.display = "none";
                document.getElementById('<%= divfindadrs.ClientID %>').style.display = "none";
            }

            function Validate(validationgroupname) {
                //            
                if (Page_ClientValidate(validationgroupname)) {
                    return 'success';
                }
            }

            function IDTypes() {
                //
                $("#Step1").slideUp(750);
                setTimeout(function () {
                    $("#dvStep12").slideDown();
                    $("#Ioctop1").hide();
                    $("#dvStep1").removeClass("box-typ4 rec-his-box working");
                    $("#dvStep1").addClass("box-typ4 rec-his-box complete");
                }, 750);
                DatePicker();
                DatePicker1();
            }

            function Trim(str) {
                while (str.substring(0, 1) == ' ') // check for white spaces from beginning
                {
                    str = str.substring(1, str.length);
                }
                while (str.substring(str.length - 1, str.length) == ' ') // check white space from end
                {
                    str = str.substring(0, str.length - 1);
                }

                return str;
            }

            function valOtherPassport(source, args) {
                //
                var passNo1 = document.getElementById('<%= PassportOther1.FindControl("txtPassport1").ClientID%>');
                var passNo2 = document.getElementById('<%= PassportOther1.FindControl("txtPassport2").ClientID%>');
                var passNo3 = document.getElementById('<%= PassportOther1.FindControl("txtPassport3").ClientID%>');
                var passNo4 = document.getElementById('<%= PassportOther1.FindControl("txtPassport4").ClientID%>');
                var passNo5 = document.getElementById('<%= PassportOther1.FindControl("txtPassport5").ClientID%>');
                var passNo6 = document.getElementById('<%= PassportOther1.FindControl("txtPassport6").ClientID%>');
                var passNo7 = document.getElementById('<%= PassportOther1.FindControl("txtPassport7").ClientID%>');
                var passNo8 = document.getElementById('<%= PassportOther1.FindControl("txtPassport8").ClientID%>');
                var passNo9 = document.getElementById('<%= PassportOther1.FindControl("txtPassport9").ClientID%>');
                source.className = "errMsg";

                if (passNo1.value != "") {
                    var passport1 = Trim(passNo1.value);
                    if ((passport1.length > 0) && (passport1.length == 9)) {

                        if (passNo2.value != "") {
                            var passport2 = Trim(passNo2.value);
                            if ((passport2.length > 0) && (passport2.length == 1)) {

                                if (passNo3.value != "") {
                                    var passport3 = Trim(passNo3.value);
                                    if ((passport3.length > 0) && (passport3.length == 3)) {

                                        if (passNo4.length != "") {
                                            var passport4 = Trim(passNo4.value);
                                            if ((passport4.length > 0) && (passport4.length == 7)) {

                                                if (passNo5.value != "") {
                                                    var passport5 = Trim(passNo5.value);
                                                    if ((passport5.length > 0) && (passport5.length == 1)) {

                                                        if (passNo6.value != "") {
                                                            var passport6 = Trim(passNo6.value);
                                                            if ((passport6.length > 0) && (passport6.length == 7)) {

                                                                if (passNo7.value != "") {
                                                                    var passport7 = Trim(passNo7.value);
                                                                    if ((passport7.length > 0) && (passport7.length == 14)) {


                                                                        if (passNo8.value != "") {
                                                                            var passport8 = Trim(passNo8.value);
                                                                            if ((passport8.length > 0) && (passport8.length == 1)) {

                                                                                if (passNo9.value != "") {
                                                                                    var passport9 = Trim(passNo9.value);
                                                                                    if ((passport9.length > 0) && (passport9.length == 1)) {


                                                                                        args.IsValid = true;

                                                                                    } else {
                                                                                        source.innerHTML = "Enter valid Passport number";
                                                                                        passNo9.focus();
                                                                                        args.IsValid = false;
                                                                                    }

                                                                                } else {
                                                                                    source.innerHTML = "Enter valid Passport number";
                                                                                    passNo9.focus();
                                                                                    args.IsValid = false;
                                                                                }




                                                                            } else {
                                                                                source.innerHTML = "Enter valid Passport number";
                                                                                passNo8.focus();
                                                                                args.IsValid = false;
                                                                            }

                                                                        } else {
                                                                            source.innerHTML = "Enter valid Passport number";
                                                                            passNo8.focus();
                                                                            args.IsValid = false;
                                                                        }




                                                                    } else {
                                                                        source.innerHTML = "Enter valid Passport number";
                                                                        passNo7.focus();
                                                                        args.IsValid = false;
                                                                    }

                                                                } else {
                                                                    source.innerHTML = "Enter valid Passport number";
                                                                    passNo7.focus();
                                                                    args.IsValid = false;
                                                                }



                                                            } else {
                                                                source.innerHTML = "Enter valid Passport number";
                                                                passNo6.focus();
                                                                args.IsValid = false;
                                                            }

                                                        } else {
                                                            source.innerHTML = "Enter valid Passport number";
                                                            passNo6.focus();
                                                            args.IsValid = false;
                                                        }


                                                    } else {
                                                        source.innerHTML = "Enter valid Passport number";
                                                        passNo5.focus();
                                                        args.IsValid = false;
                                                    }

                                                } else {
                                                    source.innerHTML = "Enter valid Passport number";
                                                    passNo5.focus();
                                                    args.IsValid = false;
                                                }
                                            } else {
                                                source.innerHTML = "Enter the valid Passport number";
                                                passNo4.focus();
                                                args.IsValid = false;
                                            }

                                        } else {
                                            source.innerHTML = "Enter the valid Passport number";
                                            passNo4.focus();
                                            args.IsValid = false;
                                        }

                                    } else {
                                        source.innerHTML = "Enter the valid Passport number";
                                        passNo3.focus();
                                        args.IsValid = false;
                                    }

                                }
                                else {
                                    source.innerHTML = "Enter the valid Passport number";
                                    passNo3.focus();
                                    args.IsValid = false;
                                }

                            } else {
                                source.innerHTML = "Enter the valid Passport number";
                                passNo2.focus();
                                args.IsValid = false;
                            }

                        } else {
                            source.innerHTML = "Enter the valid Passport number";
                            passNo2.focus();
                            args.IsValid = false;

                        }

                    } else {
                        source.innerHTML = "Enter the valid Passport number";
                        passNo1.focus();
                        args.IsValid = false;
                    }
                } else {
                    source.innerHTML = "Enter the valid Passport number";
                    passNo1.focus();
                    args.IsValid = false;
                }
            }

            // Fun to stay @ PD 
            function Fun_btnNext0() {
                //if (Validate(valgrp) == 'success') {
                setTimeout(function () {
                    $("#dvStep1").slideDown();
                    $("#dvStep1").addClass("box-typ4 rec-his-box working");
                }, 750);
                //}
            }

            // Fun to show ID Dtls *** PD --> Next click
            function Fun_btnNext1() {
                if (Validate('Next1') == 'success') {
                    $("#Step1").slideUp(750);
                    setTimeout(function () {
                        $("#dvStep12").slideDown();
                        $("#Ioctop1").hide();
                        $("#dvStep1").removeClass("box-typ4 rec-his-box working");
                        $("#dvStep1").addClass("box-typ4 rec-his-box complete");
                    }, 750);
                    DatePicker();
                    DatePicker1();
                }
            }

            // Not used
            function Fun_btnNext2() {

                if (Validate('Next2') == 'success') {
                    $("#Step1,#Step12").slideUp(750);
                    setTimeout(function () {
                        $("#dvStep2").slideDown(); //$("#dvStep2").slideDown();
                        $("#dvStep12 , #dvStep1").show();
                        $("#Step12,#Step1").hide();
                        $("#Ioctop12,#Ioctop1").hide();
                        $("#dvStep12,#dvStep1").removeClass("box-typ4 rec-his-box working");
                        $("#dvStep12,#dvStep1").addClass("box-typ4 rec-his-box complete");
                    }, 750);
                }
            }

            // Fun to show Address Details *** by skiping ID Dtls --> Next click
            function Fun_SkipIDDtls() {
                //
                if (Validate('Next3') == 'success') {
                    $("#Step1").slideUp(750);
                    setTimeout(function () {
                        $("#dvStep2").slideDown(); //$("#dvStep2").slideDown();
                        $("#dvStep1").show();
                        $("#Step1").hide();
                        $("#Ioctop1,#Ioctopadrs").hide();
                        $("#dvStep1").removeClass("box-typ4 rec-his-box working");
                        $("#dvStep1").addClass("box-typ4 rec-his-box complete");
                    }, 750);
                }
            }

            /////////////////////////////////



        </script>
        <div>
            <asp:HiddenField ID="hdnf_Day" runat="server" />
            <asp:HiddenField ID="hdnf_Mnth" runat="server" />
            <asp:HiddenField ID="hdnf_Yr" runat="server" />
            <asp:Label ID="lblErrMsg" runat="server" Font-Size="Small" Visible="false" ForeColor="Red"></asp:Label>
            <asp:Label ID="lblSuccMsg" runat="server" Font-Size="Small" Visible="false" ForeColor="Green"></asp:Label>
        </div>
        <div class="clearfix">
            &nbsp;
        </div>
        <div id="dvStep1" runat="server" class="col-md-12 ">
            <div class="clearfix">
                &nbsp;
            </div>
            <div class="bluHD col-md-12">
                <i class="fa fa-money iconsize" aria-hidden="true"></i>REMITTER REGISTRATION
            </div>
            <div class=" col-md-12 vinobox">
                <div class="blueHeadTxt">
                    <%--<asp:Label ID="lblSendTo" runat="server" Text="Remitter re"></asp:Label>--%>
                </div>
                <div class="row mrgBot10" runat="server" id="dvOption">
                    <div class="col-md-3" style="margin-left: 15px;">
                        <asp:Label ID="Label2" runat="server" Text="Type"></asp:Label>
                        <span class="starRed">*</span>
                    </div>
                    <div class=" col-md-7">
                        <asp:RadioButtonList ID="rdoSlect" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdoSlect_changed"
                            onchange="DisplayProgress();" RepeatDirection="Horizontal" CssClass="space">
                            <asp:ListItem Value="S" style="padding-right: 20px;">Existing Remitter</asp:ListItem>
                            <asp:ListItem Value="N" Text="New User"></asp:ListItem>
                        </asp:RadioButtonList>
                        <asp:RequiredFieldValidator ID="req" runat="server" ErrorMessage="Please select Document"
                            ControlToValidate="rdoSlect" class="errMsg" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div id="Step1" class="col-md-12 mrg10-T" runat="server">
                    <%--<asp:Panel ID="pnl1" runat="server" DefaultButton="btnSubmit">--%>
                    <div class="col-md-9" style="width: 100%">
                        <div runat="server" id="dvFirst">
                            <div class="row mrgBot10">
                                <div class=" col-md-3">
                                    <asp:Label ID="lbltitle" runat="server" Text="Title"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:RadioButtonList ID="rdoTitle" RepeatDirection="Horizontal" runat="Server">
                                        <asp:ListItem id="rdoMr" runat="server" Text="Mr" Value="Mr"></asp:ListItem>
                                        <asp:ListItem id="rdoMrs" runat="server" Text="Mrs" Value="Mrs"></asp:ListItem>
                                        <asp:ListItem id="rdoMs" runat="server" Text="Ms" Value="Ms"></asp:ListItem>
                                    </asp:RadioButtonList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Please select Title"
                                        ControlToValidate="rdoTitle" class="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator29" runat="server" ErrorMessage="Please select Title"
                                        ControlToValidate="rdoTitle" class="errMsg" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:TextBox ID="txtFirstName" class="txtboxM" MaxLength="20" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rqfFirstName" runat="server" ErrorMessage="Please enter FirstName"
                                        ControlToValidate="txtFirstName" class="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="regFirstName" runat="server" ValidationGroup="Next1"
                                        ControlToValidate="txtFirstName" Display="Dynamic" class="errMsg" ErrorMessage="Please enter a valid FirstName"
                                        ValidationExpression="^(([a-zA-Z]\s?){1,20})$"></asp:RegularExpressionValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator28" runat="server" ErrorMessage="Please enter FirstName"
                                        ControlToValidate="txtFirstName" class="errMsg" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator14" runat="server" ValidationGroup="UplSubmit"
                                        ControlToValidate="txtFirstName" Display="Dynamic" class="errMsg" ErrorMessage="Please enter a valid FirstName"
                                        ValidationExpression="^(([a-zA-Z]\s?){1,20})$"></asp:RegularExpressionValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:TextBox ID="txtLastName" class="txtboxM" MaxLength="20" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="reqLastName" runat="server" ErrorMessage="Please enter LastName"
                                        ControlToValidate="txtLastName" class="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="regFamilyName" runat="server" ControlToValidate="txtLastName"
                                        Display="Dynamic" CssClass="errMsg" ValidationGroup="Next1" ErrorMessage="Please enter a valid LastName"
                                        ValidationExpression="^(([a-zA-Z]\s?){1,20})$"></asp:RegularExpressionValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator27" runat="server" ErrorMessage="Please enter LastName"
                                        ControlToValidate="txtLastName" class="errMsg" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator13" runat="server" ControlToValidate="txtLastName"
                                        Display="Dynamic" CssClass="errMsg" ValidationGroup="UplSubmit" ErrorMessage="Please enter a valid LastName"
                                        ValidationExpression="^(([a-zA-Z]\s?){1,20})$"></asp:RegularExpressionValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblDOB" runat="server" Text="DOB"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <span class="dateholder2">
                                        <asp:DropDownList ID="ddlyear" CssClass="selectBox" runat="server" Style="width: 90%;"
                                            onchange="Populate_day();">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="rqyear" runat="server" ErrorMessage="Please select Year"
                                            ControlToValidate="ddlyear" CssClass="errMsg" ValidationGroup="Next1" InitialValue="0"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator26" runat="server" ErrorMessage="Please select Year"
                                            ControlToValidate="ddlyear" CssClass="errMsg" ValidationGroup="UplSubmit" InitialValue="0"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                    </span><span class="dateholder">
                                        <asp:DropDownList ID="ddlmonth" CssClass="selectBox" Style="width: 90%;" runat="server"
                                            onchange="Populate_day();">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="rqmonth" runat="server" ErrorMessage="Please select Month"
                                            ControlToValidate="ddlmonth" CssClass="errMsg" ValidationGroup="Next1" InitialValue="00"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator25" runat="server" ErrorMessage="Please select Month"
                                            ControlToValidate="ddlmonth" CssClass="errMsg" ValidationGroup="UplSubmit" InitialValue="00"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                    </span><span class="dateholder">
                                        <asp:DropDownList ID="ddlday" CssClass="selectBox" Style="width: 90%;" runat="server"
                                            onchange="Day_onchange();">
                                            <asp:ListItem Selected="True" Value="0">Day</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="rqday" runat="server" ErrorMessage="Please select Day"
                                            ControlToValidate="ddlday" CssClass="errMsg" ValidationGroup="Next1" InitialValue="0"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator24" runat="server" ErrorMessage="Please select Day"
                                            ControlToValidate="ddlday" CssClass="errMsg" ValidationGroup="UplSubmit" InitialValue="0"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                    </span>
                                </div>
                            </div>
                            <div id="dvbtnNext" runat="server" class="mrg10-T span7">
                                <span class="span1 pull-right" style="margin-right: 20px;"></span><span class="span1">
                                    <asp:Button ID="btnNext" runat="server" Text="Next" class="btnB" ValidationGroup="Next1"
                                        OnClientClick="DisplayWaiting('Next1');" OnClick="btnNext_click" />
                                </span>
                            </div>
                        </div>
                        <div id="dvExistDet" runat="server" visible="false">
                            <asp:Label ID="lblRemErrMsg" class="label-warning" runat="server"></asp:Label>
                            <div id="dvSrchReslt" class="table-responsive m-t-20 overflowMob" runat="server"
                                style="border: 1px solid #fff;">
                                <asp:GridView ID="gvRemitter" runat="server" AutoGenerateColumns="False" AllowPaging="True"
                                    CssClass="table table-striped table-bordered tablefieldWidth bgrow tbl-typ2"
                                    OnPageIndexChanging="gvRemitter_PageIndexChanging" OnRowDataBound="gvRemitter_RowDataBound"
                                    OnRowUpdating="UpdateComments" OnRowCancelingEdit="CancelEdit" OnRowEditing="EditComments"
                                    OnRowCommand="gvRemitter_RowCommand" HeaderStyle-CssClass="tbl-head" RowStyle-CssClass="tbl-data"
                                    AlternatingRowStyle-BackColor="#ffffff" DataKeyNames="Premises_Name,Sub_Building_No,Rem_HouseNo,Rem_State,Rem_PostCode,Rem_AddressLine2,Remitter_ID,Rem_FirstName,Acc_Status,Rem_LastName,Rem_AddressLine1,Rem_City,Rem_Country,Rem_DOB,Rem_Mobile,Rem_Type,UserName,Suspicious"
                                    EmptyDataText="No Records Found">
                                    <RowStyle CssClass="faq_text_tb2" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="Remitter ID">
                                            <ItemTemplate>
                                                <asp:Label ID="lblremitterid" runat="server" Text='<%# Eval("Remitter_ID")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="First Name">
                                            <ItemTemplate>
                                                <asp:Label ID="lblRem_FirstName" runat="server" Text='<%# Eval("Rem_FirstName")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Last Name">
                                            <ItemTemplate>
                                                <asp:Label ID="lblRem_LastName" runat="server" Text='<%# Eval("Rem_LastName")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Mobile No">
                                            <ItemTemplate>
                                                <asp:Label ID="lblRem_Mobile" runat="server" Text='<%# Eval("Rem_Mobile")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Status">
                                            <ItemTemplate>
                                                <asp:Label ID="lblAcc_Status" runat="server" Text='<%# Eval("Acc_Status")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Address">
                                            <ItemTemplate>
                                                <asp:Label ID="lblAddress" runat="server"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Category">
                                            <ItemTemplate>
                                                <asp:Label ID="lblGroups" runat="server" Text='<%# Eval("Groups")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="User Name">
                                            <ItemTemplate>
                                                <asp:Label ID="lblUserName" runat="server" Text='<%# Eval("UserName")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField ItemStyle-Width="60px" HeaderText="Comments">
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txtEdtComments" runat="server" Visible="true" MaxLength="500" TextMode="MultiLine"
                                                    Style="width: 120px; max-height: 50px; min-height: 50px;" onkeypress="return textboxMultilineMaxNumber(this,400)"></asp:TextBox><br />
                                                <asp:RequiredFieldValidator ID="reqEdtComments" runat="server" ControlToValidate="txtEdtComments"
                                                    ErrorMessage="Enter a Comment" ValidationGroup="a" CssClass="errMsg" Font-Size="X-Small"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="regEdtComments" runat="server" ControlToValidate="txtEdtComments"
                                                    ErrorMessage="Enter a valid Comment" Font-Size="X-Small" ValidationGroup="a"
                                                    CssClass="errMsg" ValidationExpression="^([a-zA-Z0-9.,-/_&!() ]{1,500})$"></asp:RegularExpressionValidator>
                                            </EditItemTemplate>
                                            <ItemStyle Width="100px" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Is Suspicious">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lnkEdit" runat="server" CausesValidation="False" CommandName="Edit"
                                                    OnClientClick="DisplayProgress();" Text="Make Suspicious"></asp:LinkButton>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:LinkButton ID="btnSusp" runat="server" Text="Submit" CommandName="Update" OnClientClick="DisplayWaiting('a');"
                                                    ValidationGroup="a"></asp:LinkButton>&nbsp;
                                                <asp:LinkButton ID="lnkCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                                                    OnClientClick="DisplayProgress();" Text="Cancel"></asp:LinkButton>
                                            </EditItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Send Money">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="btnView" runat="server" Text="Send Money" CommandName="sendmoney"
                                                    OnClientClick="DisplayProgress();" CausesValidation="false" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="Suspicious" HeaderText="Suspicious" ItemStyle-CssClass="hide"
                                            HeaderStyle-CssClass="hide" />
                                    </Columns>
                                    <PagerStyle BackColor="White" ForeColor="White" Width="200px" HorizontalAlign="Center"
                                        CssClass="pgg" />
                                </asp:GridView>
                            </div>
                            <div class="mrg10-T span7">
                                <span class="span1 pull-right" style="margin-right: 20px;"></span><span class="span1">
                                    <asp:Button ID="btnNewRem" runat="server" Text="Proceed Registration" class="btnB"
                                        OnClientClick="DisplayProgress();" OnClick="btnNewRem_click" />
                                </span>
                            </div>
                        </div>
                        <div id="dvFullReg" runat="server" visible="false">
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblGender" runat="server" Text="Gender"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:RadioButtonList ID="rdoGender" RepeatDirection="Horizontal" runat="Server">
                                        <asp:ListItem id="rdomale" runat="server" Text="Male" Value="Male"></asp:ListItem>
                                        <asp:ListItem id="rdoFemale" runat="server" Text="Female" Value="Female"></asp:ListItem>
                                    </asp:RadioButtonList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="Please select Gender"
                                        ControlToValidate="rdoGender" class="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator23" runat="server" ErrorMessage="Please select Gender"
                                        ControlToValidate="rdoGender" class="errMsg" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div style="display: none;" class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblTelephone" runat="server" Text="Landline Telephone"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <span style="float: left;">
                                        <asp:TextBox ID="txtlandlinecode" class="txtboxM " runat="server" Enabled="false"
                                            Width="35px"></asp:TextBox></span> <span style="float: left; width: 88%;">
                                                <asp:TextBox ID="txtTelephone" CssClass="txtboxM" runat="server" MaxLength="12" onpaste="return false;"></asp:TextBox>
                                            </span>
                                    <asp:RequiredFieldValidator Visible="false" ID="reqTelephone" runat="server" ErrorMessage="Please enter TelephoneNo"
                                        CssClass="errMsg" ControlToValidate="txtTelephone" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator Visible="false" ID="regTelephone" runat="server"
                                        ControlToValidate="txtTelephone" CssClass="errMsg" ValidationGroup="Next2" ErrorMessage="Please enter valid TelephoneNo"
                                        Display="Dynamic" Font-Size="X-Small" ValidationExpression="^([0-9]{1,12})$"></asp:RegularExpressionValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblMobile" runat="server" Text="Mobile"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <span style="float: left;">
                                        <asp:TextBox ID="txtmobilecode" class="txtboxM" runat="server" Enabled="false" Width="35px"
                                            MaxLength="3"></asp:TextBox></span> <span class="moblen">
                                                <asp:TextBox ID="txtMobile" CssClass="txtboxM" runat="server" MaxLength="10" Enabled="true"
                                                    onchange="ShowAvailMobile();" onpaste="return false;"></asp:TextBox></span>
                                    <span id="mesgmob" class=""></span>
                                    <asp:RequiredFieldValidator ID="reqMobile" runat="server" ErrorMessage="Please enter MobileNo"
                                        CssClass="errMsg" ControlToValidate="txtMobile" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="regMobile" CssClass="errMsg" runat="server" ControlToValidate="txtMobile"
                                        ValidationGroup="Next1" ErrorMessage="Please enter valid MobileNo" Display="Dynamic"
                                        Font-Size="X-Small" ValidationExpression="^([0-9]{1,10})$"></asp:RegularExpressionValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" CssClass="errMsg"
                                        runat="server" ControlToValidate="txtmobilecode" ValidationGroup="Next1" ErrorMessage="enter valid mobile code"
                                        Display="Dynamic" Font-Size="X-Small" ValidationExpression="^([0-9]{2,3})$"></asp:RegularExpressionValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server" ErrorMessage="Please enter MobileNo"
                                        CssClass="errMsg" ControlToValidate="txtMobile" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator11" CssClass="errMsg" runat="server" ControlToValidate="txtMobile"
                                        ValidationGroup="UplSubmit" ErrorMessage="Please enter valid MobileNo" Display="Dynamic"
                                        Font-Size="X-Small" ValidationExpression="^([0-9]{1,10})$"></asp:RegularExpressionValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator12" CssClass="errMsg"
                                        runat="server" ControlToValidate="txtmobilecode" ValidationGroup="UplSubmit" ErrorMessage="enter valid mobile code"
                                        Display="Dynamic" Font-Size="X-Small" ValidationExpression="^([0-9]{2,3})$"></asp:RegularExpressionValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label>
                                    <%-- <span class="starRed">*</span>--%>
                                </div>
                                <div class=" col-md-7">
                                    <asp:TextBox ID="txtEmailId" class="txtboxM" onchange="ShowAvailability();" runat="server"></asp:TextBox>
                                    <span id="mesg" class=""></span>
                                    <%-- <asp:RequiredFieldValidator ID="reqEmail" runat="server" ErrorMessage="Please enter Email"
                                    ControlToValidate="txtEmailId" CssClass="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                    <asp:RegularExpressionValidator ID="regEmailID" runat="server" ControlToValidate="txtEmailId"
                                        CssClass="errMsg" ValidationGroup="Next1" ErrorMessage="Enter valid Email Address"
                                        Font-Size="X-Small" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
                                    </asp:RegularExpressionValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server" ControlToValidate="txtEmailId"
                                        CssClass="errMsg" ValidationGroup="UplSubmit" ErrorMessage="Enter valid Email Address"
                                        Font-Size="X-Small" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
                                    </asp:RegularExpressionValidator>
                                </div>
                            </div>
                            <div id="hiddendiv" visible="false" runat="server">
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblHouseno" runat="server" Text="House No/Sub-Building"></asp:Label>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:TextBox ID="txtHouseno" class="txtboxM" runat="server" MaxLength="10"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="TxtLable2" style="font-weight: bold; width: 100%; text-align: center; padding-top: 10px;">
                                    (OR)
                                </div>
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblHousename" runat="server" Text="Premises Name"></asp:Label>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:TextBox ID="txtHousename" class="txtboxM" runat="server" MaxLength="20"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <%--<asp:UpdatePanel ID="upnlAdrs" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>--%>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblPostCode" runat="server" Text="Post code"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:TextBox ID="txtZipPostCode" runat="server" CssClass="txtboxM" MaxLength="15"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please enter ZipPostcode"
                                        CssClass="errMsg" ControlToValidate="txtZipPostCode" ValidationGroup="FindAddress"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Please enter ZipPostcode"
                                        CssClass="errMsg" ControlToValidate="txtZipPostCode" ValidationGroup="Next1"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" ErrorMessage="Please enter ZipPostcode"
                                        CssClass="errMsg" ControlToValidate="txtZipPostCode" ValidationGroup="UplSubmit"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ControlToValidate="txtZipPostCode"
                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="please enter valid Post/Zip code"
                                        Display="Dynamic" ValidationGroup="FindAddress" CssClass="errMsg" />
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ControlToValidate="txtZipPostCode"
                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="please enter valid Post/Zip code"
                                        Display="Dynamic" ValidationGroup="Next1" CssClass="errMsg" />
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" ControlToValidate="txtZipPostCode"
                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="please enter valid Post/Zip code"
                                        Display="Dynamic" ValidationGroup="UplSubmit" CssClass="errMsg" />
                                </div>
                            </div>
                            <div id="divfindadrs" visible="false" runat="server">
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        &nbsp;
                                    </div>
                                    <div class="col-md-4">
                                        <asp:Button ID="btnReset" runat="server" CssClass="graybtn" Text="Reset" CausesValidation="False"
                                            OnClientClick="DisplayProgress();" OnClick="btnReset_click" />
                                        <asp:Button ID="btnFindAddress" runat="server" CssClass="orngBtn2" Text="Find Address"
                                            OnClientClick="DisplayWaiting('FindAddress')" OnClick="btnFindAddress_click"
                                            ValidationGroup="FindAddress" />
                                        <%-- <asp:Button ID="btntestadrs" Text="get adrs" OnClick="btnFindAddress_click" runat="server" />--%>
                                    </div>
                                </div>
                                <div id="divlstadrs" class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblAddresses" runat="server" Text="Select an Address"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:DropDownList ID="ddlAddress" OnSelectedIndexChanged="ddlAddress_selectchange"
                                            onchange="DisplayProgress();" AutoPostBack="true" runat="server" CssClass="selectBox"
                                            ValidationGroup="Select Address">
                                            <asp:ListItem Selected="True" Value="0">Select an Address</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:ListBox ID="lstbxAdrs" CssClass="txtboxM" runat="server" Visible="false" Width="400px"
                                            ValidationGroup="Select Address" Height="62px" Font-Size="12PX"></asp:ListBox>
                                        <%--  <asp:RequiredFieldValidator ID="reqAddress" runat="server" ControlToValidate="ddlAddress"
                                    InitialValue="0" CssClass="errMsg" ErrorMessage="please select an address" ValidationGroup="Select Address"
                                    Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                        <asp:RequiredFieldValidator ID="reqlstAdrs_OnNext3" runat="server" ControlToValidate="ddlAddress"
                                            InitialValue="0" CssClass="errMsg" ErrorMessage="please select an address" ValidationGroup="Next1"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" ControlToValidate="ddlAddress"
                                            InitialValue="0" CssClass="errMsg" ErrorMessage="please select an address" ValidationGroup="UplSubmit"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div id="divselectadrs" class="row mrgBot10" style="visibility: hidden; display: none">
                                    <div class="col-md-3">
                                    </div>
                                    <div class="span1" style="margin-left: -16px;">
                                        <asp:Button ID="btnSelectadrs" runat="server" Text="Select" CssClass="btn-typ1 mrg7-R"
                                            ValidationGroup="Select Address" OnClick="btnSelectadrs_click" />
                                    </div>
                                </div>
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblseladdress" runat="server" Text="Selected Address"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:TextBox ID="txtseladd" runat="server" CssClass="txtboxM" Enabled="false" Style="max-width: 405px; max-height: 80px; min-width: 170px; min-height: 30px;"
                                            TextMode="MultiLine" Rows="5"
                                            MaxLength="500"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtseladd"
                                            CssClass="errMsg" ErrorMessage="please select an address" ValidationGroup="Next1"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="txtseladd"
                                            CssClass="errMsg" ErrorMessage="please select an address" ValidationGroup="UplSubmit"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                            <%-- </ContentTemplate>
                    </asp:UpdatePanel> --%>
                            <div id="hiddendetailsdiv" visible="false" runat="server">
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblStreet" runat="server" Text="Street"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:TextBox ID="txtStreet" CssClass="txtboxM" MaxLength="25" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqStreet" runat="server" ErrorMessage="Please enter Street"
                                            CssClass="errMsg" ControlToValidate="txtStreet" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ErrorMessage="Please enter Street"
                                            CssClass="errMsg" ControlToValidate="txtStreet" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblCity" runat="server" Text="City"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:TextBox ID="txtCity" class="txtboxM" runat="server" MaxLength="25"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqcity" runat="server" ErrorMessage="Please enter City"
                                            CssClass="errMsg" ControlToValidate="txtCity" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="regCity" runat="server" ControlToValidate="txtCity"
                                            ValidationExpression="[a-zA-Z ]*$" ErrorMessage="Please enter valid City" Display="Dynamic"
                                            ValidationGroup="Next1" CssClass="errMsg" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ErrorMessage="Please enter City"
                                            CssClass="errMsg" ControlToValidate="txtCity" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="txtCity"
                                            ValidationExpression="[a-zA-Z ]*$" ErrorMessage="Please enter valid City" Display="Dynamic"
                                            ValidationGroup="UplSubmit" CssClass="errMsg" />
                                    </div>
                                </div>
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblState" runat="server" Text="County"></asp:Label>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:TextBox ID="txtCounty" class="txtboxM" runat="server" MaxLength="25"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqCounty" runat="server" ErrorMessage="Please enter County"
                                            Visible="false" CssClass="errMsg" ControlToValidate="txtCounty" ValidationGroup="Next1"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="txtCounty"
                                            ValidationExpression="[a-zA-Z ]*$" ErrorMessage="Please enter valid County" Display="Dynamic"
                                            ValidationGroup="Next1" CssClass="errMsg" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ErrorMessage="Please enter County"
                                            Visible="false" CssClass="errMsg" ControlToValidate="txtCounty" ValidationGroup="UplSubmit"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtCounty"
                                            ValidationExpression="[a-zA-Z ]*$" ErrorMessage="Please enter valid County" Display="Dynamic"
                                            ValidationGroup="UplSubmit" CssClass="errMsg" />
                                    </div>
                                </div>
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblremcountry" runat="server" Text="Country"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:DropDownList ID="ddlCountry" Enabled="false" CssClass="selectBox" runat="server"
                                            DataTextField="Country_Name" DataValueField="Alpha_3_Code">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="Please select Country"
                                            ControlToValidate="ddlCountry" CssClass="errMsg" ValidationGroup="Next1" InitialValue="0"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ErrorMessage="Please select Country"
                                            ControlToValidate="ddlCountry" CssClass="errMsg" ValidationGroup="UplSubmit" InitialValue="0"
                                            Display="Dynamic"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblNationality" runat="server" Text="Nationality"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:DropDownList ID="ddlNationality" CssClass="selectBox" runat="server" DataTextField="Nationality"
                                        DataValueField="Alpha_3_Code">
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="reqNationality" runat="server" ErrorMessage="Please select Nationality"
                                        ControlToValidate="ddlNationality" InitialValue="0" class="errMsg" ValidationGroup="Next1"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ErrorMessage="Please select Nationality"
                                        ControlToValidate="ddlNationality" InitialValue="0" class="errMsg" ValidationGroup="UplSubmit"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="Label6" runat="server" Text="Occupation"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:DropDownList ID="ddlOccupation" CssClass="selectBox" OnSelectedIndexChanged="ddlOccupation_SelectedIndexChanged" runat="server">
                                        <asp:ListItem Selected="True" Text="Select Occupation" Value="0"></asp:ListItem>
                                         <asp:ListItem Text="Accountant" Value="OCP17"></asp:ListItem>
 <asp:ListItem Text="Actuary" Value="OCP18"></asp:ListItem>
 <asp:ListItem Text="Administrator" Value="OCP14"></asp:ListItem>
 <asp:ListItem Text="Analyst" Value="OCP47"></asp:ListItem>
 <asp:ListItem Text="Artist" Value="OCP19"></asp:ListItem>
 <asp:ListItem Text="Arts officer,Producer and Biochemist" Value="OCP20"></asp:ListItem>
 <asp:ListItem Text="Biological Scientist and Biochemist" Value="OCP21"></asp:ListItem>
 <asp:ListItem Text="Buyer and Purchasing Officer" Value="OCP22"></asp:ListItem>
 <asp:ListItem Text="Cashier" Value="OCP2"></asp:ListItem>
 <asp:ListItem Text="Chef" Value="OCP15"></asp:ListItem>
 <asp:ListItem Text="Consultants" Value="OCP11"></asp:ListItem>
 <asp:ListItem Text="Customer Service Representative" Value="OCP5"></asp:ListItem>
 <asp:ListItem Text="Dancer and Choreographer" Value="OCP24"></asp:ListItem>
 <asp:ListItem Text="Developers" Value="OCP10"></asp:ListItem>
 <asp:ListItem Text="Director and Chief Executive Officer" Value="OCP25"></asp:ListItem>
 <asp:ListItem Text="Driver" Value="OCP44"></asp:ListItem>
 <asp:ListItem Text="Economist" Value="OCP26"></asp:ListItem>
 <asp:ListItem Text="Engineer" Value="OCP8"></asp:ListItem>
 <asp:ListItem Text="Environmental Professional" Value="OCP27"></asp:ListItem>
 <asp:ListItem Text="Geologist" Value="OCP28"></asp:ListItem>
 <asp:ListItem Text="Graphic Designer" Value="OCP29"></asp:ListItem>
 <asp:ListItem Text="IT and Communication Professional" Value="OCP30"></asp:ListItem>
 <asp:ListItem Text="Laborers and Freight, Stock, and Material Movers" Value="OCP7"></asp:ListItem>
 <asp:ListItem Text="Line Repairer and Cable Jointer" Value="OCP31"></asp:ListItem>
 <asp:ListItem Text="Manager" Value="OCP39"></asp:ListItem>
 <asp:ListItem Text="Mathematician" Value="OCP32"></asp:ListItem>
 <asp:ListItem Text="Medical and Dental Technician" Value="OCP33"></asp:ListItem>
 <asp:ListItem Text="Medical Practitioner" Value="OCP34"></asp:ListItem>
 <asp:ListItem Text="Medical Radiographer" Value="OCP35"></asp:ListItem>
 <asp:ListItem Text="Meteorologist" Value="OCP36"></asp:ListItem>
 <asp:ListItem Text="Musician" Value="OCP37"></asp:ListItem>
 <asp:ListItem Text="Nurse" Value="OCP9"></asp:ListItem>
 <asp:ListItem Text="Officer" Value="OCP45"></asp:ListItem>
 <asp:ListItem Text="Office Clerk" Value="OCP4"></asp:ListItem>
 <asp:ListItem Text="Operator" Value="OCP46"></asp:ListItem>
 <asp:ListItem Text="Physicist" Value="OCP38"></asp:ListItem>
 <asp:ListItem Text="Recruitment Consultant" Value="OCP12"></asp:ListItem>
 <asp:ListItem Text="Retail Salesperson" Value="OCP1"></asp:ListItem>
 <asp:ListItem Text="Scientist" Value="OCP40"></asp:ListItem>
 <asp:ListItem Text="Serving workers/Labour" Value="OCP3"></asp:ListItem>
 <asp:ListItem Text="Social Worker" Value="OCP41"></asp:ListItem>
 <asp:ListItem Text="Software Professional" Value="OCP42"></asp:ListItem>
 <asp:ListItem Text="Statistician" Value="OCP43"></asp:ListItem>
 <asp:ListItem Text="Teachers" Value="OCP13"></asp:ListItem>
 <asp:ListItem Text="Technician" Value="OCP48"></asp:ListItem>
 <asp:ListItem Text="Waiter or Waitress" Value="OCP6"></asp:ListItem>  
                                  <%--      <asp:ListItem Text="Others" Value="OCP16"></asp:ListItem> --%>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator39" runat="server" ErrorMessage="Please Select Occupation"
                                        ControlToValidate="ddlOccupation" InitialValue="0" class="errMsg" ValidationGroup="Next1"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator40" runat="server" ErrorMessage="Please Select Occupation"
                                        ControlToValidate="ddlOccupation" InitialValue="0" class="errMsg" ValidationGroup="UplSubmit"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                     

                              <div id="dvTextOthers" runat="server" visible="false" class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lbl_TextOthers" runat="server" Visible="false" Text="Enter Occupation"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class="col-md-7">
                                        <asp:TextBox ID="txtOthers"  runat="server" Visible="false" ></asp:TextBox> 
                                  <asp:RequiredFieldValidator ID="req_others" runat="server" ErrorMessage="Please Enter Occupation Name"
                                        CssClass="errMsg" ControlToValidate="txtOthers" ValidationGroup="Next1"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator37" runat="server" ErrorMessage="Please Enter Occupation Name"
                                        CssClass="errMsg" ControlToValidate="txtOthers" ValidationGroup="UplSubmit"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                      <asp:RegularExpressionValidator ID="regTxtOthers" runat="server" ControlToValidate="txtOthers"
                                        ValidationExpression="[a-zA-Z ]*$" ErrorMessage="Please Enter valid Occupation Name"
                                        Display="Dynamic" ValidationGroup="UplSubmit" CssClass="errMsg" />
                                </div>
                            </div>
                      
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="Label7" runat="server" Text="Employer name/Company Name"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:TextBox ID="txtCompany" class="txtboxM" runat="server" MaxLength="50"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator33" runat="server" ErrorMessage="Please Enter Employer name/Company Name"
                                        CssClass="errMsg" ControlToValidate="txtCompany" ValidationGroup="Next1"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator15" runat="server" ControlToValidate="txtCompany"
                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="please Enter valid Employer name/Company Name"
                                        Display="Dynamic" ValidationGroup="Next1" CssClass="errMsg" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator34" runat="server" ErrorMessage="Please Enter Employer name/Company Name"
                                        CssClass="errMsg" ControlToValidate="txtCompany" ValidationGroup="UplSubmit"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator16" runat="server" ControlToValidate="txtCompany"
                                        ValidationExpression="[a-zA-Z0-9 ]*$" ErrorMessage="please Enter valid Employer name/Company Name"
                                        Display="Dynamic" ValidationGroup="UplSubmit" CssClass="errMsg" />
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="Label8" runat="server" Text="Industry"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                  <div class=" col-md-7">
                                    <asp:DropDownList ID="ddlindustry" CssClass="selectBox" runat="server">
                                        <asp:ListItem Selected="True" Text="Select Industry" Value="0"></asp:ListItem>
                                                          <asp:ListItem Text="Aerospace" Value="IDT12"></asp:ListItem>
<asp:ListItem Text="Arms Manufacturing/Supply/Defence Industry" Value="IDT1"></asp:ListItem>
<asp:ListItem Text="Arts and Entertainment" Value="IDT13"></asp:ListItem>
<asp:ListItem Text="Automotive Design and Manufacturing" Value="IDT14"></asp:ListItem>
<asp:ListItem Text="Design" Value="IDT26"></asp:ListItem>
<asp:ListItem Text="Educational" Value="IDT16"></asp:ListItem>
<asp:ListItem Text="Electricity Transmission and Distribution " Value="IDT15"></asp:ListItem>
<asp:ListItem Text="Finance & Banking" Value="IDT23"></asp:ListItem>
<asp:ListItem Text="Food & Restaurant" Value="IDT29"></asp:ListItem>
<asp:ListItem Text="Gambling" Value="IDT7"></asp:ListItem>
<asp:ListItem Text="Gaming" Value="IDT6"></asp:ListItem>
<asp:ListItem Text="Government" Value="IDT3"></asp:ListItem>
<asp:ListItem Text="Healthcare Professional" Value="IDT18"></asp:ListItem>
<asp:ListItem Text="Hospitality & Accomodation" Value="IDT32"></asp:ListItem>
<asp:ListItem Text="Information Technology & Communication" Value="IDT19"></asp:ListItem>
<asp:ListItem Text="Insurance" Value="IDT20"></asp:ListItem>
<asp:ListItem Text="Manufacturing" Value="IDT25"></asp:ListItem>
<asp:ListItem Text="Marketing" Value="IDT27"></asp:ListItem>
<asp:ListItem Text="Media,Film, Television or Video Games" Value="IDT17"></asp:ListItem>
<asp:ListItem Text="Mining and Energy" Value="IDT21"></asp:ListItem> 
<asp:ListItem Text="Mining(Including diamond mining and trading)" Value="IDT10"></asp:ListItem> 
<asp:ListItem Text="Nuclear Industry" Value="IDT9"></asp:ListItem>  
<asp:ListItem Text="Oil and Gas" Value="IDT5"></asp:ListItem> 
<asp:ListItem Text="Pharmaceuticals" Value="IDT2"></asp:ListItem> 
<asp:ListItem Text="Public Work Contracts and Construction" Value="IDT8"></asp:ListItem> 
<asp:ListItem Text="Railway" Value="IDT22"></asp:ListItem> 
<asp:ListItem Text="Real estate and property development" Value="IDT4"></asp:ListItem>
<asp:ListItem Text="Research" Value="IDT28"></asp:ListItem> 
<asp:ListItem Text="Retail" Value="IDT30"></asp:ListItem>
<asp:ListItem Text="Telecommunication" Value="IDT31"></asp:ListItem>
<asp:ListItem Text="Transport" Value="IDT24"></asp:ListItem> 




                                        <asp:ListItem Text="Any Other Industry Not Listed" Value="IDT11"></asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator35" runat="server" ErrorMessage="Please Select Industry"
                                        ControlToValidate="ddlindustry" InitialValue="0" class="errMsg" ValidationGroup="Next1"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator36" runat="server" ErrorMessage="Please Select Industry"
                                        ControlToValidate="ddlindustry" InitialValue="0" class="errMsg" ValidationGroup="UplSubmit"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="Label4" runat="server" Text="Annual Income (in Pounds)"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <%--<span style="float: left; margin-right: 8px;">
                                        <asp:TextBox ID="TextBox1" class="txtboxM" runat="server" Enabled="false" Width="25px" Text="£"
                                            MaxLength="3"></asp:TextBox></span>
                                    <span style="width: 90%;">
                                        <asp:TextBox ID="txtAnlIncome" Width="92%" class="txtboxM" runat="server" MaxLength="10"></asp:TextBox></span>--%>
                                    <asp:DropDownList ID="ddlAnlIncome" CssClass="selectBox" runat="server">
                                        <asp:ListItem Selected="True" Value="0" Text="Select Annual Income"></asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator30" runat="server" ErrorMessage="Please Select Annual Income"
                                        ControlToValidate="ddlAnlIncome" class="errMsg" ValidationGroup="Next1" InitialValue="0"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator31" runat="server" ErrorMessage="Please Select Annual Income"
                                        ControlToValidate="ddlAnlIncome" class="errMsg" ValidationGroup="UplSubmit" InitialValue="0"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="row mrgBot10">
                                <div class="col-md-3">
                                    <asp:Label ID="lblDoc" runat="server" Text="Document"></asp:Label>
                                    <span class="starRed">*</span>
                                </div>
                                <div class=" col-md-7">
                                    <asp:RadioButtonList ID="rdDoc" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdDoc_changed"
                                        onchange="DisplayProgress();" RepeatDirection="Vertical">
                                        <%--<asp:ListItem Value="A" Text="Address Proof"></asp:ListItem>--%>
                                        <asp:ListItem Value="I" Text="Identity Proof"></asp:ListItem>
                                        <asp:ListItem Value="AI" Text="Address Proof & ID Proof"></asp:ListItem>
                                        <%-- <asp:ListItem Value="N" Text="Not Now"></asp:ListItem>--%>
                                    </asp:RadioButtonList>
                                    <asp:RequiredFieldValidator ID="reqDoc" runat="server" ErrorMessage="Please select anyone option"
                                        ControlToValidate="rdDoc" class="errMsg" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ErrorMessage="Please select anyone option"
                                        ControlToValidate="rdDoc" class="errMsg" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div id="dvAdrsProof" runat="server" visible="false">
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblIDName" runat="server" Text="Address Proof Name" MaxLength="25"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-7">
                                        <asp:TextBox ID="txtIDName" runat="server" class="txtboxM"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqIDName" runat="server" ControlToValidate="txtIDName"
                                            CssClass="errMsg" Display="Dynamic" ValidationGroup="Next2" ErrorMessage="Please enter ID Name"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblAddIDNo" runat="server" Text="Address Proof Number" MaxLength="25"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-7">
                                        <asp:TextBox ID="txtAddIDNo" runat="server" class="txtboxM"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqAdIDNo" runat="server" ControlToValidate="txtAddIDNo"
                                            CssClass="errMsg" Display="Dynamic" ValidationGroup="Next2" ErrorMessage="Please enter ID Number"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                            <div id="dvIDProof" runat="server" visible="false">
                                <div class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="lblIDType" runat="server" Text="Document Type"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class="col-md-7">
                                        <asp:DropDownList ID="ddlIDType" CssClass="selectBox" AutoPostBack="true" OnSelectedIndexChanged="ddlIDType_changed"
                                            runat="server">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="rfvddlDistrict" runat="server" ControlToValidate="ddlIDType"
                                            CssClass="errMsg" Display="Dynamic" InitialValue="0" ValidationGroup="Next1"
                                            ErrorMessage="Please select an IDType"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="ddlIDType"
                                            CssClass="errMsg" Display="Dynamic" InitialValue="0" ValidationGroup="UplSubmit"
                                            ErrorMessage="Please select Document Type"></asp:RequiredFieldValidator>
                                    </div>
                                    <div class="col-md-3">
                                        &nbsp;
                                    </div>
                                    <div id="dvpsprt" runat="server" visible="false" class="row mrgBot10">
                                        <div class="col-md-3">
                                            &nbsp;
                                        </div>
                                        <div class="col-md-7">
                                            <asp:Image ID="imgpsprt" runat="server" Style="margin-left: 30%;" ImageUrl="~/Styles/img/uk_passport.jpg"
                                                CssClass="imgPass" />
                                        </div>
                                    </div>
                                </div>
                                <div id="dvIdDtls" runat="server">
                                    <div id="divOtherDoc" runat="server" visible="false" class="row mrgBot10">
                                        <div class="col-md-3">
                                            <asp:Label ID="lblOtherDoc" runat="server" Text="Other Document Type"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <asp:TextBox ID="txtOtherDoc" class="txtboxM" runat="server" MaxLength="15"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter Other Document Type"
                                                CssClass="errMsg" ControlToValidate="txtOtherDoc" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ValidationGroup="Next2"
                                                ControlToValidate="txtOtherDoc" Display="Dynamic" class="errMsg" ErrorMessage="Please enter valid Document Type"
                                                ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>
                                    <div class="row mrgBot10">
                                        <div id="divIDNo" class="col-md-3" visible="false" runat="server">
                                            <asp:Label ID="lblIDNumber" runat="server" Text="ID Number"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <uc2:Passport ID="PassportOther1" runat="server" Visible="false" />
                                            <asp:TextBox ID="txtIDNumber" class="txtboxM" runat="server" MaxLength="16" Visible="false"></asp:TextBox>
                                            <asp:CustomValidator ID="cvOtherPassport" runat="server" ControlToValidate='<%#  PassportOther1.FindControl("txtPassport1")%>'
                                                Display="Dynamic" Font-Size="X-Small" ClientValidationFunction="valOtherPassport"
                                                Visible="false" ValidationGroup="Next2"></asp:CustomValidator>
                                            <asp:RequiredFieldValidator ID="reqIDNumber" runat="server" ErrorMessage="Please enter ID Number"
                                                CssClass="errMsg" ControlToValidate="txtIDNumber" ValidationGroup="Next2" Display="Dynamic"
                                                Visible="false"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="regIDNumber" ControlToValidate="txtIDNumber"
                                                runat="server" ErrorMessage="Please enter Valid ID Number" Display="Dynamic"
                                                Font-Size="X-Small" CssClass="errMsg" ValidationExpression="^([a-zA-Z0-9 ]{5,50})$"
                                                ValidationGroup="Next2" Visible="false"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>
                                    <div class="row mrgBot10">
                                        <div class="col-md-3">
                                            <asp:Label ID="lblIDIssuedBy" runat="server" Text="ID Issued By"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <asp:TextBox ID="txtIdIssuedBy" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                                AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="reqIDIssuedBy" runat="server" ErrorMessage="Please enter IDIssuedBy"
                                                CssClass="errMsg" ControlToValidate="txtIdIssuedBy" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="regIssuedBy" runat="server" ValidationGroup="Next2"
                                                ControlToValidate="txtIdIssuedBy" Display="Dynamic" class="errMsg" ErrorMessage="Please enter a valid IssuedBy name"
                                                ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>
                                    <div class="row mrgBot10">
                                        <div class="col-md-3">
                                            <asp:Label ID="lblIssuDate" runat="server" Text="Issued Date"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <input id="txtIssuDate" style="width: 92%;" runat="server" type="text" class="txtboxM"
                                                readonly="readonly" />
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please enter IssuedDate"
                                                CssClass="errMsg" ControlToValidate="txtIssuDate" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                    <div class="row mrgBot10">
                                        <div class="col-md-3">
                                            <asp:Label ID="lblIssuedPlace" runat="server" Text="ID Issued Place"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <asp:TextBox ID="txtIssuedPlace" class="txtboxM" runat="server" MaxLength="50" autocomplete="off"
                                                AutoCompleteType="Disabled" oncopy="return false;" onpaste="return false;" oncut="return false;"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="reqIssuedPlace" runat="server" ErrorMessage="Please enter IDIssuedPlace"
                                                CssClass="errMsg" ControlToValidate="txtIssuedPlace" ValidationGroup="Next2"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="regIssuedPlace" runat="server" ValidationGroup="Next2"
                                                ControlToValidate="txtIssuedPlace" Display="Dynamic" class="errMsg" ErrorMessage="Please enter a valid Issued Place"
                                                ValidationExpression="^(([a-zA-Z]\s?){1,50})$"></asp:RegularExpressionValidator>
                                        </div>
                                    </div>
                                    <div class="row mrgBot10">
                                        <div class="col-md-3">
                                            <asp:Label ID="lblExpiryDate" runat="server" Text="ID Expiry Date"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <input id="txtIDExpiry1" style="width: 92%;" runat="server" type="text" class="txtboxM"
                                                readonly="readonly" />
                                            <asp:RequiredFieldValidator ID="reqExpiry" runat="server" ErrorMessage="Please enter IDExpiry"
                                                CssClass="errMsg" ControlToValidate="txtIDExpiry1" ValidationGroup="Next2" Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" class="margB20">
                                <ContentTemplate>--%>
                            <div id="dvUpload" runat="server" class=" mrg10-T" visible="false">
                                <div runat="server" visible="false" id="dvddlIDTypes" class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="Label1" runat="server" Text="Document Type"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:DropDownList ID="ddlIDScanType" CssClass="selectBox" runat="server">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="ddlIDScanType"
                                            CssClass="errMsg" Display="Dynamic" InitialValue="0" ValidationGroup="UplSubmit"
                                            ErrorMessage="Please select Document Type"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div id="divIDDoc" runat="server">
                                    <div runat="server" id="Div1" class="row mrgBot10">
                                        <div class="col-md-3">
                                            <asp:Label ID="Label5" runat="server" Text="ID Expiry Date"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class=" col-md-7">
                                            <input id="txtIDExpiry" style="width: 92%;" runat="server" type="text" class="txtboxM"
                                                readonly="readonly" />
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator32" runat="server" ErrorMessage="Please enter IDExpiry"
                                                CssClass="errMsg" ControlToValidate="txtIDExpiry" ValidationGroup="UplSubmit" Display="Dynamic"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                    <div class="row mrgBot10">
                                        <div class="col-md-3  ">
                                            <asp:Label ID="lblFileUpload" runat="server" Text="Upload File"></asp:Label>
                                            <span class="starRed">*</span>
                                        </div>
                                        <div class="col-md-7">
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ValidationGroup="UplSubmit"
                                                ControlToValidate="FileUpldID" Display="Dynamic" class="errMsg" ErrorMessage="Please select a valid file"
                                                ValidationExpression="^.*\.(jpg|JPG|jpeg|JPEG|pdf|PDF)$"></asp:RegularExpressionValidator>
                                            <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="FileUpldID"
                                                ClientValidationFunction="validate_ID_FileSize" Font-Size="X-Small" Display="Dynamic"
                                                ValidationGroup="UplSubmit"></asp:CustomValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="Please Select File."
                                                CssClass="errMsg" ControlToValidate="FileUpldID" ValidationGroup="UplSubmit"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                            <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="Please Select File."
                                            CssClass="errMsg" ControlToValidate="FileUpldID" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                            <asp:FileUpload ID="FileUpldID" runat="server" />
                                            <asp:Button ID="btnUplID" runat="server" CssClass="orngBtn2  " Text="Upload" Enabled="false"
                                                Style="width: 28%;" OnClick="btnUplID_Click" OnClientClick="DisplayWaiting('UplSubmit');"
                                                ValidationGroup="UplSubmit" />
                                            <asp:Label runat="server" ID="lblIDMsg" Style="color: green; margin-left: 14%;" Text="ID Document Uploaded."
                                                Visible="false"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div runat="server" visible="false" id="dvddlAddressTypes" class="row mrgBot10">
                                    <div class="col-md-3">
                                        <asp:Label ID="Label3" runat="server" Text="Address Type"></asp:Label>
                                        <span class="starRed">*</span>
                                        
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:DropDownList ID="ddlAddressType" CssClass="selectBox" runat="server">
                                            <asp:ListItem Value="0" Text="Select Type"></asp:ListItem>
                                               <asp:ListItem Value="BANK STATEMENT" Text="Bank Statement"></asp:ListItem>

                                        </asp:DropDownList>

                                          <div class="clearfix">
                                         &nbsp;
                                       </div>
                                      <asp:Label ID="lblbank" Text="Latest 3 month bank statement which proves Source of Income and name & address." runat="server" />   
                                       
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="ddlAddressType"
                                            CssClass="errMsg" Display="Dynamic" InitialValue="0" ValidationGroup="uplAdd"
                                            ErrorMessage="Please select an Address Type"></asp:RequiredFieldValidator>
                                    </div>
                                     
                                </div>
                                <div id="divAddrDoc" runat="server" class="row mrgBot10">
                                    <div class="col-md-3  ">
                                        <asp:Label ID="lblFileUpldAddr" runat="server" Text="Upload File"></asp:Label>
                                        <span class="starRed">*</span>
                                    </div>
                                    <div class=" col-md-7">
                                        <asp:RegularExpressionValidator ID="regUpldAddr" runat="server" ValidationGroup="uplAdd"
                                            ControlToValidate="FileUpldAddr" Display="Dynamic" class="errMsg" ErrorMessage="Please select a valid file"
                                            ValidationExpression="^.*\.(jpg|JPG|jpeg|JPEG|gif|GIF|pdf|PDF|png|PNG|tif|TIF|tiff|TIFF)$"></asp:RegularExpressionValidator>
                                        <asp:CustomValidator ID="CstUpldAddr" runat="server" ControlToValidate="FileUpldAddr"
                                            ClientValidationFunction="validate_Add_FileSize" Font-Size="X-Small" Display="Dynamic"
                                            ValidationGroup="uplAdd"></asp:CustomValidator>
                                        <asp:RequiredFieldValidator ID="reqUpldAddr" runat="server" ErrorMessage="Please Select File."
                                            CssClass="errMsg" ControlToValidate="FileUpldAddr" ValidationGroup="uplAdd" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ErrorMessage="Please Select File."
                                            CssClass="errMsg" ControlToValidate="FileUpldAddr" ValidationGroup="Next1" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                                        <asp:FileUpload ID="FileUpldAddr" AllowMultiple="true" runat="server" />
                                        <asp:Label ID="lblFiles" Visible ="false" runat="server" />
                                        <asp:Button ID="btnUplAdd" runat="server" CssClass="orngBtn2  " Enabled="false" Text="Upload"
                                            Style="width: 28%;" OnClick="btnUplAdd_Click" OnClientClick="DisplayWaiting('uplAdd');"
                                            ValidationGroup="uplAdd" />
                                        <asp:Label ID="lblAddMsg" runat="server" Text="Address Document Uploaded." Style="color: green; margin-left: 14%;"
                                            Visible="false"></asp:Label>
                                    </div>
                                </div>
                                <%--<div class=" col-md-10" runat="server">
                                    <span><b style="font-size: 13px;">Note:</b>
                                        <ul style="padding: 10px; font-size: 11px; color: Orange;">
                                            <br />
                                            <li><b>ID document Upload file formats allowed:</b> jpg/jpeg with a max file size of <b>
                                                <asp:Label runat="server" ID="lblIDFileSize"></asp:Label>
                                                MB</b>.</li>
                                            <li><b>Non ID document Upload file formats allowed:</b> jpg|jpeg|gif|pdf|png|tif|tiff with a max file size of <b>
                                                <asp:Label runat="server" ID="lblAddFileSize"></asp:Label>
                                                MB</b>.</li>
                                        </ul>
                                    </span>
                                </div>--%>
                                <div class=" col-md-10" runat="server" visible="false" id="dvIDDocList">
                                    <span>
                                        <ul style="padding: 10px; font-size: 14px; color: Orange;">
                                            <li><b>ID documents Upload file formats allowed:</b> JPEG/JPG/PDF with a max file size of <b>
                                                <asp:Label runat="server" ID="lblIDFileSize"></asp:Label>
                                                MB</b>.</li>
                                        </ul>
                                    </span>
                                </div>
                                <div class=" col-md-10" runat="server" id="dvAddDocList" visible="false">
                                    <span>
                                        <ul style="padding: 10px; font-size: 14px; color: Orange;">
                                            <li><b>Non ID documents Upload file formats allowed:</b> jpg|jpeg|gif|pdf|png|tif|tiff with a max file size of <b>
                                                <asp:Label runat="server" ID="lblAddFileSize"></asp:Label>
                                                MB upto <asp:Label runat="server" ID="lblDocCount"></asp:Label> documents</b>.</li>
                                        </ul>
                                    </span>
                                </div>
                                <div class="col-md-12 " runat="server" visible="false">
                                    <a id="imageurl" runat="server"></a>
                                    <asp:Image ID="imDocView" ImageUrl="~/Styles/img/uk_passport.jpg" Style="width: 60%;"
                                        runat="server" />
                                </div>
                                <div class="col-md-12 " runat="server" visible="false">
                                    <a id="imageurl1" runat="server"></a>
                                    <asp:Image ID="imDocView1" ImageUrl="~/Styles/img/uk_passport.jpg" Style="width: 60%;"
                                        runat="server" />
                                </div>
                                <div class="mrg10-T span7">
                                    <%-- <asp:Button ID="btnUpload" runat="server" CssClass="btn-typ1 mrg7-R" Text="Submit"
                                        OnClick="btnSubmit_click" ValidationGroup="Submit" OnClientClick="DisplayWaiting('Submit');" />--%>
                                </div>
                            </div>

                           
                           
                            <%--</ContentTemplate>
                                <Triggers>
                                    <asp:PostBackTrigger ControlID="btnSubmit" />--%>
                            <%-- <asp:PostBackTrigger ControlID="FileUpldAddr"  />
                                <asp:PostBackTrigger ControlID="FileUpldID" />--%>
                            <%--</Triggers>
                            </asp:UpdatePanel>--%>
                            <div class=" col-md-12  mrg10-T">
                                <div class="col-md-3">
                                    &nbsp;
                                </div>
                                <%-- <asp:Button ID="btnNext" runat="server" CssClass="btn-typ1 mrg7-R" Text="Next" OnClick="btnNext1_click"
                        CausesValidation="true" ValidationGroup="Next1" OnClientClick="DisplayWaiting('Next1');" />
                    <asp:Button ID="btnpartialSubmt" runat="server" Text="Submit" CssClass="btn-typ1 mrg7-R"
                        ValidationGroup="Next1" OnClientClick="DisplayWaiting('Next1');" OnClick="PartialSubmit_click" />--%>
                                <div class="col-md-5">
                                    <asp:Button ID="btnSubmit" runat="server" CssClass="btnB  " Style="width: 32%;" Text="Submit"
                                        Enabled="false" OnClick="btnSubmit_click" OnClientClick="DisplayWaiting('Next1');"
                                        ValidationGroup="Next1" />
                                </div>
                            </div>
                            <div class="clrfx">
                                &nbsp;
                            </div>
                            <%--</asp:Panel>--%>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clrfx">
            &nbsp;
        </div>
        <div id="dvStep12" runat="server" class="box-typ4  rec-his-box working mrg0Box" visible="false">
            <div class="common-frm-title">
                <div class="margTopFlt margB10">
                    <span class="no-icon blueHeadTxt">2</span> <span class="reg-title-txt ">ID DETAILS</span>
                </div>
                <span id="Ioctop12" style="float: right;"></span><a href="Javascript:;" id="lnkEdit12"
                    title="Edit" class="btn-typ4 edit-btn">Edit</a>
            </div>
            <div id="Step12">
                <div class="pulLft mobPad10">
                </div>
                <div class="clearfix">
                    &nbsp;
                </div>
                <div class="mrg10-T span7">
                    <span class="span1 pull-right" style="margin-right: 20px;"></span><span class="span1">
                        <asp:Button ID="btnBack" runat="server" Text="Back" class="btn-typ2 mrg7-L pull-left"
                            OnClick="btnBack_click" />
                    </span>
                </div>
                <div class="clrfx">
                    &nbsp;
                </div>
            </div>
        </div>
        <div class="clrfx">
            &nbsp;
        </div>
    </div>
    <div id="dvProgressbar">
        <asp:Button runat="server" ID="Button1" Style="display: none" />
        <asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Style="display: none">
            <div class="modal1">
                <div class="center1">
                    <!-- Start -->
                    <img id="imgLoad" alt="Please wait....." src="../Styles/images/loading.gif" />
                    <!-- End -->
                    <asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="Button1"
                        PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="false" />
                </div>
            </div>
        </asp:Panel>
    </div>
</asp:Content>
