<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/FiniqAppMasterPage.Master"
    CodeBehind="CustomerProfile.aspx.vb" Inherits="FinIQWebApp.CustomerProfile" Title="Customer Profile" %>


<%@ Register Src="~/FinIQ_User_Controls/Smart_Search_Customer_Control/FinIQ_Customer_Profile_SmartSearch.ascx"
    TagName="FinIQ_Customer_Profile_SmartSearch" TagPrefix="ucsmart" %>

<%@ Register Src="~/FinIQ_User_Controls/DateControl.ascx" TagName="DateControl" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <%-- <script type="text/javascript" src="~/FinIQJS/FinIQCommon.js" lang="javascript"></script>--%>  <%--<RameshwariD || 21-11-2019 || Already exists a source for FinIQCommon JS>--%>

    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
    </asp:ScriptManagerProxy>
    <style type="text/css">
        .HiddenColumn
        {
            display: none;
        }

        .lblerror
        {
            color: red;
        }

        .divLoading
        {
            position: absolute;
            left: 430px;
            top: 115px;
        }

        .HeaderOrder
        {
            font: normal 13px/28px verdana !important;
            color: #000000 !important;
            height: 20px;
            background-color: #FFFFFF;
        }

        .HeaderPad
        {
            padding-top: 10px;
            padding-bottom: 6px;
        }

        .HeaderPad1
        {
            padding-top: 1px;
            padding-bottom: 6px;
        }

        td
        {
            white-space: nowrap !important;
            vertical-align: top;
        }

        span
        {
            white-space: nowrap !important;
        }



          /*start- change done by Shreya A. on 28/09/2018.*/
        .msgAbsolute { 
            position : static !important;
        }
        /*end-change done by Shreya A. on 28/09/2018.*/




        .FilterPad2
        {
            padding: 0px 10px 10px 10px;
        }

        .FilterPad
        {
            padding: 10px;
        }

      

        .pad20
        {
            padding-left: 21px;
        }

        .pad30
        {
            padding-left: 30px;
        }

        .ddlWidth
        {
            width: 206px;
        }

        .txtMLWidth
        {
            width: 196px;
        }

        .txtWidth
        {
            width: 204px;
        }


        .auto-style1
        {
            height: 23px;
        }

        .modalBackground
        {
            background-color: transparent;
            filter: alpha(opacity=90);
            opacity: 0.8;
        }

        .modalPopup
        {
            background-color: #FFFFFF;
            padding-top: 10px;
            padding-left: 10px;
            width: 435px;
            height: 90px;
            border: 1px solid #ddd;
        }

      

        .main td
        {
            vertical-align: middle !important;
            text-align: left !important;
        }
            
     

        .auto-style2
        {
            height: 22px;
        }

        .auto-style3
        {
            font: normal 13px/28px verdana;
            color: #000000;
            height: 21px;
            background-color: #FFFFFF;
        }

        .tdPaddingRight
        {
            padding-right:54px !important;
        }
        .lblBlotterPaddingRightCust
        {
            padding-right:44px !important;
        }
        .lblBlotterPaddingRightCust1
        {
            padding-right:26px !important;
        }
        .lblBlotterPaddingRightInfo1
        {
            padding-right:33px !important;
        }
        .lblBlotterPaddingRightInfo
        {
            padding-right:34px !important;
        }
        .lblpaddingLeft {
            padding-left:10px !important;
        }
        .lblpaddingLeft1 {
            padding-left:10px !important;
        }

         .lblpaddingLeftRemove {
            padding-left:0px !important;
        }

            .lblpaddingLeftAdd {
            padding-left:9px !important;
        }
         .btn_padding {
            padding-right: 10px;
            padding-top: 5px;
        }
        .lblauditinfo {
        padding-left : 10px;
        }

        .lblKYCRefPaddingRightInfo {
            padding-right: 20px !important;
        }
    </style>

    <script type="text/javascript">
        function textboxMultilineMaxNumber(txt, maxLen) {
            try {
                if (txt.value.length > (maxLen - 1)) return false;
            }
            catch (e) {
            }

            return true;
        }


        function AllowOnlyNumericValues() {
            var key = window.event.keyCode;
            //alert(key);
            if (key > 47 && key < 58)
                return;
            else {
                //alert("else");
                return false;
                // window.event.returnValue = null
            }
        }

        var dialogConfirmed = false;
        function ViewDialogDuplicate(obj, title, dialogText) {
            if ($("#pageName").html() != null) {
            }
            if (!dialogConfirmed) {
               // $('html').append(String.Format("<div id='dialog' title='{0}'><p style='float:left;'><span class='ui-icon ui-icon-alert' style='float:left; margin:0 5px 20px 0;'></span>{1}</p></div>", title, dialogText));
                $('html').append(String.Format("<div id='dialog' title='{0}'><div class='infoConfirmationBox' style='float:left; height:22px !important; width:22px !important; margin: 13px 15px 20px 10px;'></div><p> " + dialogText + " </p></div>", title));
                $('#dialog').dialog
                        ({
                            height: 180,
                            width: 350,
                            modal: true,
                            resizable: false,
                            draggable: true,
                            close: function (event, ui) { $('html').find('#dialog').remove(); },
                            buttons:
                            {
                                'Yes': function () {
                                    if (obj == "btnActivateConfirmation")
                                    {
                                         $("#ctl00_MainContent_btnActivateConfirmation").click();
                                    }
                                  else
                                    {
                                        $("#ctl00_MainContent_btnDeActivateConfirmation").click();
                                    }
                                  

                                    $(this).dialog('close');
                                },
                                'No': function () {
                                    $(this).dialog('close');
                                    $('html').find("#dialog").remove();
                                    return false;
                                }
                            }
                        });
            }

            return dialogConfirmed;
            $(".ui-widget-overlay").height($("body").height());
        }

        //function RestrictSpace(txt, maxLen) {
        //    if(textboxMultilineMaxNumber(txt, maxLen)==false)
        //    {
        //        return false;
        //    }
        //    if (event.keyCode == 32) {
        //        event.returnValue = false;
        //        return false;
        //    }
        //}



    </script>

    <script lang="javascript" type="text/javascript">

        function RefreshParent() {
            //
            document.getElementById("HiddenField2").value = Math.random();
            __doPostBack('HiddenField2_ValueChanged', 'ValueChanged');
            //window.close();

        }

        function RefreshPage() {
            window.opener.RefreshParent();
        }

        function CloseWindow() {
            window.close();
        }
    </script>

    <script type="text/javascript" src="../FinIQJS/FinIQCommon.js"></script>


    <asp:UpdatePanel ID="Updatepanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pnlOuter" runat="server">
                <table>
                    <%-- <tr>
                                <td class="" >Customer Profile</td>
                            </tr>--%>
                    <tr>
                        <td>
                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="Updatepanel1"
                                DisplayAfter="0">
                                <ProgressTemplate>
                                    <div class="divLoading">
                                        <img alt="Loading" src="../App_Resources/loading.gif" /><span class="lbl">Loading...&nbsp;&nbsp;
                                        </span>
                                    </div>
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <%--   <asp:Label ID="lblError" runat="server" CssClass="lblerror" ForeColor="Red"></asp:Label>
                            <asp:Label ID="lblMsg" runat="server" CssClass="lblsuccess"></asp:Label>--%>
                           
                        
                        </td>
                    </tr>
                    <tr>
                        <asp:Label ID="lblError" runat="server" Class="lblError msgAbsolute" ></asp:Label>
                        <asp:Label ID="lblInfo" runat="server" Class="lblInfo msgAbsolute" ></asp:Label>
                        <%--     <td>
                           
                        </td>
                    </tr>--%>
                    <tr>
                        <td>
                            <%-- <table runat="server" cellspacing="0" cellpadding="0" border="0">

                                <tr>
                                    <td>--%>
                            <table>
                                <tr>
                                    <td>


                                        <%--Buttons table--%>
                                        <table class="main">
                                            <tr>

                                                <td class="btn_padding">
                                                    <asp:Button ID="btnAdd" UseSubmitBehavior="False" runat="server" Text="Add"
                                                        CssClass="btn" Style="width: 70px" TabIndex="51" ToolTip="Add"></asp:Button>
                                                </td>
                                                <td class="btn_padding">
                                                    <asp:Button ID="btnEdit" UseSubmitBehavior="False" runat="server" Text="Edit" Enabled="false"
                                                        CssClass="btn" Style="width: 70px;" TabIndex="52" ToolTip="Edit"></asp:Button>
                                                </td>
                                                <td class="btn_padding">
                                                    <asp:Button ID="btnSave" CausesValidation="True" runat="server" Style="width: 70px;"
                                                        Text="Save" CssClass="btn" TabIndex="53"
                                                        ToolTip="Save"></asp:Button>
                                                </td>
                                                <td class="btn_padding">
                                                    <asp:Button ID="btnCancel" UseSubmitBehavior="False" runat="server" Style="width: 70px;"
                                                        Text="Cancel" CssClass="btn" TabIndex="57" ToolTip="Cancel"></asp:Button>
                                                </td>
                                                <td class="btn_padding">
                                                    <asp:Button ID="btnDeactivate" UseSubmitBehavior="False" runat="server" Style="width: 80px;"
                                                        Text="De-Activate" CssClass="btn" TabIndex="56" ToolTip="De-Activate"></asp:Button>
                                                    <asp:Button ID="btnActivate" UseSubmitBehavior="False" runat="server" Style="width: 75px;"
                                                        Text="Activate" Visible="False" CssClass="btn" TabIndex="56" ToolTip="Activate"></asp:Button>
                                                </td>
                                                <td class="btn_padding">
                                                    <asp:Button ID="btnApprove" UseSubmitBehavior="False" runat="server" Style="width: 70px;"
                                                        Text="Approve" CssClass="btn" TabIndex="54" ToolTip="Approve"></asp:Button>
                                                </td>

                                                <td class="btn_padding">
                                                    <asp:Button ID="btnReject" UseSubmitBehavior="False" runat="server" Style="width: 70px;"
                                                        Text="Reject" CssClass="btn" TabIndex="55" ToolTip="Reject"></asp:Button>
                                                </td>

                                                <td class="btn_padding">
                                                    <asp:Button ID="btnSaveNApp" UseSubmitBehavior="False" runat="server"
                                                        CausesValidation="True" Text="Save & Approve" Visible="false" CssClass="btn"
                                                        TabIndex="54" ToolTip="Save &amp; Approve"></asp:Button>
                                                </td>
                                                <td class="btn_padding">
                                                    <input id="btnRefresh" runat="server" class="btn" name="btnRefresh"
                                                        tabindex="50" type="button" value="Refresh" title="Refresh" /></td>
                                            </tr>
                                            <tr>
                                                <td style="height: 4px;"></td>
                                            </tr>

                                        </table>

                                        <table border="0" class="FilterPad main">
                                            <tr>

                                                <td class="labels">
                                                    <asp:Label ID="lblEntity" runat="server" CssClass="lbl" Text="<%$ Resources:LocalizedText, Entity %>"></asp:Label>
                                                </td>
                                                <td class="labelsValueShort">
                                                    <asp:DropDownList ID="ddlEntity" TabIndex="1" runat="server" AutoPostBack="true" CssClass="ddl" Width="204px">
                                                    </asp:DropDownList>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td class="lblBlotterPaddingRight" style="vertical-align: middle;">
                                                    <asp:Label ID="lblCustomer" runat="server" CssClass="lbl" Text="Customer" />
                                                </td>

                                                <td>
                                                    <ucsmart:FinIQ_Customer_Profile_SmartSearch runat="server" ID="FindCust1" SetWidth="222"></ucsmart:FinIQ_Customer_Profile_SmartSearch>
                                                </td>

                                            </tr>

                                        </table>
                                        <%--Mode, Status table--%>
                                        <table id="tblmode" runat="server" class="main" cellpadding="1" cellspacing="1" border="0" visible="false">
                                            <tr>
                                                <td class="pad30 labels">Mode:
                                                    <asp:Label ID="lblLoginUserMode" runat="server" CssClass="lbl" ForeColor="Blue"></asp:Label>
                                                </td>
                                                <td class="labelsValueShort">Status:
                                                               
                                                    <asp:Label ID="lblAccountStatus" runat="server" CssClass="lbl" ForeColor="Red"></asp:Label>
                                                </td>
                                                <td class="labelsValue pad20">
                                                    <label class="pad20">
                                                        Input Source:</label>
                                                    <asp:Label ID="lblAccountInputSource" runat="server" CssClass="lbl" ForeColor="Blue"></asp:Label>
                                                    <input type="hidden" id="hdnEducationalScore" name="hdnEducationalScore" runat="server" />
                                                    <input type="hidden" id="hdnTimeHorizonScore" name="hdnTimeHorizonScore" runat="server" />
                                                    <input type="hidden" id="hdnPI_Initial_YN" name="hdnPI_Initial_YN" runat="server" />
                                                    <input type="hidden" id="hdnPI_Initial_Date" name="hdnPI_Initial_Date" runat="server" />
                                                    <input type="hidden" id="hdnST_Initial_Date" name="hdnST_Initial_Date" runat="server" />
                                                    <input type="hidden" id="hdn_PostalCode" name="hdn_PostalCode" runat="server" />
                                                </td>
                                            </tr>

                                        </table>
                                    </td>
                                </tr>

                            </table>
                            <table border="0" class="FilterPad2 main">
                                <%--                             <tr>
                                                <td style="display: none;">
                                                    <asp:Label ID="Label8" runat="server" CssClass="mandatory" Text="*"></asp:Label>

                                                    Fields are mandatory
                                                </td>
                                                <td></td>
                                            </tr>--%>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label7" runat="server" Text="Registered Address" Style="margin-left: 0px !important;" CssClass="lblHeader HeaderOrder"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label21" runat="server" Text="Identification Details" class="lblHeader HeaderOrder"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="Filter FilterPad">
                                        <%--Name table--%>

                                        <table border="0">

                                            <tr>
                                                <td></td>
                                                <td>
                                                    <asp:Label ID="Label31" CssClass="lbl" runat="server">Salutation</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlTitle" runat="server" Width="204px" CssClass="ddl" AutoPostBack="True" TabIndex="1"></asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="mandatory">*</span>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label8" CssClass="lbl" runat="server">Name</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtCustName" TabIndex="2" Style="text-transform: uppercase;" runat="server" Width="204px" CssClass="txt" onkeypress="return textboxMultilineMaxNumber(this,100)" Wrap="true"></asp:TextBox>
                                                </td>
                                            </tr>

                                            <tr id="CountryIssurHide" runat="server" visible="false">
                                                <td></td>
                                                <td>
                                                    <asp:Label ID="Label32" Visible="false" CssClass="lbl" runat="server">Country Of Issue</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlCountryOfIssue" runat="server" Width="315px" TabIndex="3"
                                                        CssClass="ddl" Visible="false">
                                                    </asp:DropDownList>
                                                    <asp:LinkButton ID="lnkCountryOfIssueMore" runat="server" CssClass="link" Visible="false">More</asp:LinkButton>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td class="lbl">
                                                    <%--<asp:Label ID="lblnoman" runat="server" CssClass="mandatory" Text=""></asp:Label>--%>
                                                    <asp:Label ID="lblnoman" runat="server" CssClass="mandatory" visible="false" Text="*"></asp:Label>
                                                </td>

                                                <td class="lblBlotterPaddingRight">
                                                    <asp:Label ID="lblHouseNo" CssClass="lbl" runat="server" Text="Block/House No"></asp:Label>
                                                </td>
                                                <td class="ctlBlotterPaddingRight">
                                                    <asp:TextBox ID="txtBlockNo" runat="server" CssClass="txt txtMLWidth" onkeypress="return textboxMultilineMaxNumber(this,50)" Style="white-space: pre-wrap !important;" TabIndex="4" Width="204px" Wrap="true"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>

                                                <td class="lbl">
                                                    <asp:Label ID="Label2" runat="server" CssClass="mandatory" Text=""></asp:Label>
                                                    <%--<asp:Label ID="Label2" runat="server" CssClass="mandatory" Text="*"></asp:Label>--%>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblLine1" CssClass="lbl" runat="server" Text="Street Name"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtStreetName1" runat="server" CssClass="txt txtWidth" onkeypress="return textboxMultilineMaxNumber(this,50)" TabIndex="5" Width="204px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="lbl">
                                                    <asp:Label ID="Label3" runat="server" CssClass="mandatory"></asp:Label></td>
                                                <td>
                                                    <asp:Label ID="lblLine2" CssClass="lbl" runat="server"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtstreetname2" runat="server" CssClass="txt txtWidth" onkeypress="return textboxMultilineMaxNumber(this,50)" TabIndex="6" Width="204px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="lbl">
                        <%--            <asp:Label ID="Label4" runat="server" CssClass="mandatory" Text=""></asp:Label>--%>
                                    <asp:Label ID="lblLine3Man" runat="server" CssClass="mandatory"  visible="false" Text="*"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblLine3" CssClass="lbl" runat="server">Line 3</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtCity" runat="server" CssClass="txt txtWidth" MaxLength="50" TabIndex="7"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>

                                                <td class="lbl">
                                                   <%-- <asp:Label ID="Label12" runat="server" CssClass="mandatory" Text=""></asp:Label> --%>
                                                    <asp:Label ID="lblLine4Man" runat="server" visible="false" CssClass="mandatory" Text="*"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblLine4" CssClass="lbl"  runat="server">Line 4</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:DropDownList ID="ddlstatecode" runat="server" AutoPostBack="True" CssClass="ddl" TabIndex="8" Visible="false" Width="80px">
                                                    </asp:DropDownList>
                                                    <asp:TextBox ID="txtState" runat="server" CssClass="txt" Enabled="False" MaxLength="50" TabIndex="17" Width="107px"></asp:TextBox>

                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="lbl">
                                                    <asp:Label ID="lblcountryman" runat="server" CssClass="mandatory" Text=""></asp:Label>
                                                    <%--<asp:Label ID="lblcountryman" runat="server" CssClass="mandatory" Text="*"></asp:Label>--%>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblCountry" CssClass="lbl" runat="server">Country</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtCountry" runat="server" CssClass="txt txtWidth" TabIndex="18" Width="204px"></asp:TextBox>
                                                    <asp:DropDownList ID="ddlCountry" runat="server"  CssClass="ddl"  AppendDataBoundItems = true TabIndex="9" Width="204px">
                                                    </asp:DropDownList>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td class="lbl">
                                                   <%-- <asp:Label ID="lblpostalcodeman" runat="server" CssClass="mandatory" Text=""></asp:Label>--%>
                                                    <asp:Label ID="lblpostalcodeman" visible="false" runat="server" CssClass="mandatory" Text="*"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblPotalCode" class="lbl" runat="server">Postal Code</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtPostalCode" runat="server" CssClass="txt txtWidth" MaxLength="10" onkeypress="return AllowOnlyNumericValues();" TabIndex="10" Width="204px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr id="trparentco" runat="server">
                                                <td></td>

                                                <td>
                                                    <asp:Label ID="lblParentCompany" CssClass="lbl" runat="server">Parent Company</asp:Label>
                                                </td>
                                                <td>
                                                    <ucsmart:FinIQ_Customer_Profile_SmartSearch runat="server" ID="FindCust12" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2"></td>
                                                <td>
                                                    <asp:CheckBox ID="chkForeignAddress" AutoPostBack="true" CssClass="RadioBtn"
                                                        runat="server" Text=" Foreign Address" Visible="False"></asp:CheckBox></td>
                                            </tr>

                                        </table>

                                    </td>
                                    <td class="Filter FilterPad" style ="vertical-align: top !important;">
                                        <table>


                                            <tr>
                                                <td>
                                                    <asp:Label ID="LblOCISNoManadatory" runat="server" Text ="*" Visible="false"  class="mandatory"></asp:Label></td>
                                                <%--Text="*"      '''' As per tolde by Nitin/Julun no CIF mandatory. on 20Mar2018 --%>
                                                <td>
                                                    <asp:Label ID="LblOCISNo" runat="server" CssClass="lbl" Text="RM No." Style="display: inline-block;"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtCIFNo" TabIndex="15" runat="server" CssClass="txt" MaxLength="30"
                                                        Width="204px"></asp:TextBox>

                                                </td>
                                                <td class="lbl">
                                                    <asp:Label ID="lblcustomertypeman" runat="server" CssClass="mandatory" Text="*"></asp:Label></td>
                                                <td class="lblBlotterPaddingRightCust1">
                                                    <asp:Label ID="LblCompanyTypeName" runat="server" CssClass="lbl" Text="Company Type"></asp:Label>
                                                </td>
                                                <td>

                                                    <asp:DropDownList ID="ddlCompanyType" runat="server" AutoPostBack="True" CssClass="ddl" Width="204">
                                                    </asp:DropDownList>
                                                    <asp:Label ID="lblFormat1" CssClass="lbl" runat="server" Text=""></asp:Label>
                                                </td>

                                            </tr>

                                            <tr>

                                                <td>

                                                    <asp:Label ID="Label1" runat="server" CssClass="mandatory" Text="*"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblDoctype" runat="server" CssClass="lbl" Text="Primary ID Type"></asp:Label>
                                                </td>

                                                <td>
                                                    <asp:DropDownList ID="ddlId" runat="server" AutoPostBack="True" CssClass="ddl" Width="204px"
                                                        TabIndex="16">
                                                    </asp:DropDownList>
                                                </td>

                                                <td>
                                                    <asp:Label ID="lblcustidman" runat="server" CssClass="mandatory" Text="*"></asp:Label></td>
                                                <td class="lblBlotterPaddingRightCust1">
                                                    <asp:Label ID="lblCusID" runat="server" CssClass="lbl" Text="Primary ID No"></asp:Label></td>
                                                <td>
                                                    <asp:TextBox ID="txtCusID" runat="server" CssClass="txt" MaxLength="40" TabIndex="24" Width="204px"></asp:TextBox>
                                                    <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" FilterType="Numbers, LowercaseLetters, UppercaseLetters" TargetControlID="txtCusID" />
                                                </td>
                                            </tr>
                                            <tr>

                                                <td>
                                                    <asp:Label ID="lbltaxidman" runat="server" CssClass="mandatory"></asp:Label>
                                                    <asp:Label ID="lbltaxid" runat="server" CssClass="lbl" Text="Tax Id"></asp:Label>
                                                    <asp:TextBox ID="txtTaxId" TabIndex="7" runat="server" CssClass="txt"></asp:TextBox></td>
                                                <td class="lblBlotterPaddingRightCust">
                                                    <asp:Label ID="lblAlternateID" runat="server" CssClass="lbl" Text="Alternate Id/Doc Id"></asp:Label></td>
                                                <td >
                                                    <asp:TextBox ID="txtalternateid" TabIndex="17" runat="server" CssClass="txt" Width="204px"></asp:TextBox>
                                                </td>

                                                <td id="tdAlternateType" runat="server" visible="false">
                                                    <asp:Label ID="lblAlternateTypeman" runat="server" CssClass="mandatory"></asp:Label></td>
                                                <td class="lblBlotterPaddingRightCust1">
                                                    <asp:Label ID="alternatetype" runat="server" Text="Alternate Type" CssClass="lbl">
                                                    </asp:Label></td>
                                                <td>
                                                    <asp:DropDownList ID="ddlalternatetype" runat="server" CssClass="ddl" Width="204px"></asp:DropDownList>
                                                </td>
                                            </tr>

                                            <tr>

                                                <td>
                                                    <asp:Label ID="lbltaxid2man" runat="server" CssClass="mandatory" Text="*"></asp:Label>

                                                    <asp:Label ID="lblalternatetaxid" runat="server" CssClass="lbl" Text="Alternate Tax Id"></asp:Label>

                                                    <asp:TextBox ID="txtTaxId2" TabIndex="8" runat="server" CssClass="txt"></asp:TextBox></td>
                                                <asp:Label ID="lblcomtype" runat="server" CssClass="mandatory" Visible="false" Text="*"></asp:Label>
                                                <td>
                                                    <asp:Label ID="lblcitizencode" runat="server" Text="Citizen Code" CssClass="lbl">
                                                    </asp:Label>
                                                    <asp:Label ID="lblCusttype" runat="server" CssClass="lbl" Text="Customer Type"></asp:Label></td>

                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlCitizencode" runat="server" CssClass="ddl" Width="204px" TabIndex="18"></asp:DropDownList>

                                        <asp:TextBox ID="txtCustType" runat="server" Enabled="False" CssClass="txt" Width="204px"></asp:TextBox>
                                    </td>




                                    <td>
                                        <asp:Label ID="LblRegDtman" runat="server" CssClass="mandatory" Text="*" Visible="True"></asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRightCust1">
                                        <asp:Label ID="LblRegDateName" runat="server" CssClass="lbl" Text="Reg Date"></asp:Label>
                                    </td>
                                    <td class="ctlBlotterPaddingRight">
                                        <uc1:DateControl ID="txtRegisterationDate" runat="server" CalenderCss="btn1" SetDefaultDate="False" TabIndex="26" 
                                            CssClass="txt" TextBoxSize="204px"   AllowBlank="true"/>
                                    </td>

                                </tr>

                                <tr>

                                    <td>
                                        <asp:Label ID="LblDOB" runat="server" CssClass="mandatory" Text="*"></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lbldobName" CssClass="lbl" runat="server" Text="Date Of Birth" Visible="true"></asp:Label></td>
                                    <td class="ctlBlotterPaddingRight">
                                         
                                         
                                           <uc1:DateControl ID="txtDateOfBirth" runat="server" CalenderCss="btn1" SetDefaultDate="False" TabIndex="19" Visible="true"
                                            CssClass="txt" TextBoxSize="204px" Width="118px"  AllowBlank="true"/>
                                        
                                    </td>
                                    <td>
                                        <asp:Label ID="LblRegisteredinNameMan" runat="server" CssClass="mandatory" Text="*" Visible="true"></asp:Label></td>
                                    <td class="lblBlotterPaddingRightCust1">
                                        <asp:Label ID="LblRegisteredinName" runat="server" CssClass="lbl" Text="Reg Country/Nationality"></asp:Label></td>
                                    <td>
                                        <asp:DropDownList ID="ddlRegisteredIn" runat="server" AutoPostBack="True" CssClass="ddl" TabIndex="26" Width="204px"></asp:DropDownList>
                                    </td>

                                </tr>
                                <tr>

                                    <td>
                                        <asp:Label ID="lblNatMandatory" runat="server" CssClass="mandatory" Text="*" Visible="False"></asp:Label></td>
                                    <td>

                                        <asp:Label ID="lblNationality" runat="server" CssClass="lbl" Text="Nationality" Visible="False"></asp:Label></td>
                                    <td>
                                        <asp:CheckBox ID="chkResident" runat="server" CssClass="RadionBtn" Enabled="False"
                                            Visible="False"></asp:CheckBox>
                                        <asp:DropDownList ID="ddlNationality" runat="server" AutoPostBack="True" TabIndex="20"
                                            CssClass="ddl" Width="204px" Visible="False">
                                        </asp:DropDownList>


                                        
                                        
                                    </td>
                                    <td class="lbl">
                                        <asp:Label ID="LblTaxStatusNameMan" runat="server" CssClass="mandatory" Text="*"></asp:Label></td>
                                    <td class="lblBlotterPaddingRightCust1">
                                        <asp:Label ID="LblTaxStatusName" runat="server" Text="Tax Status" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="lblSuspensionRemark" runat="server" CssClass="lbl" Text="Suspension Remark"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlTaxStatus" runat="server" CssClass="ddl" TabIndex="11" Width="204px">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="txtSuspensionRemark" runat="server" CssClass="txt" onkeypress="return textboxMultilineMaxNumber(this,80)" Style="white-space: pre-wrap !important;" TabIndex="24" Width="204px" Wrap="true"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>

                                    <td>
                                        <asp:Label ID="lblResMandatory" runat="server" CssClass="mandatory" Text="*"></asp:Label>
                                        <asp:Label ID="lblriskprofman" runat="server" CssClass="mandatory" Text="*"></asp:Label>
                                       
                                    </td>
                                    <td>
                                       
                                        <asp:Label ID="lblResidence" runat="server" CssClass="lbl" Text="Country Residence"></asp:Label>
                                        
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlriskprofile1" TabIndex="23" runat="server" CssClass="ddl" Width="204px"></asp:DropDownList>
                                        <%--Changed by Suraj Jaigude || 31-07-2018 || HLBUP-584  --%>
                                        <%-- <asp:DropDownList ID="ddlResidence" runat="server" CssClass="ddl" Width="204px" TabIndex="11"></asp:DropDownList> --%>
                                        <asp:DropDownList ID="ddlResidence" runat="server" CssClass="ddl" Width="204px" TabIndex="11">
                                       <%--     <asp:ListItem Text="" Value =""></asp:ListItem>
                                            <asp:ListItem Text="Y" Value ="Y"></asp:ListItem>
                                            <asp:ListItem Text="N" Value ="N"></asp:ListItem>--%>
                                        </asp:DropDownList>
                                        <%--Changed by Suraj Jaigude || 31-07-2018 || HLBUP-584 --%>
                                        
                                    </td>
                                    <td>
                                        <asp:Label ID="lblNatureofbusinessman" runat="server" CssClass="mandatory" Text="*"></asp:Label>
                                         <asp:Label ID="lblResidencyMandatory" runat="server" class="mandatory" Text="*" Visible ="false" ></asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRightCust1">
                                        <asp:Label ID="lblNatureofbusiness" runat="server" CssClass="lbl" Text="Nature Of Business"></asp:Label>
                                        <asp:Label ID="lblResidency" runat="server" CssClass="lbl" Text="Customer Residency"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlNatureofbusiness" TabIndex="28" runat="server" CssClass="ddl" Width="204px" AutoPostBack="true"></asp:DropDownList>
                                        <asp:TextBox ID="txtNatureofbusiness" TabIndex="28" runat="server" CssClass="txt" Width="204px" Style="display: none"></asp:TextBox>
                                        <asp:Label ID="lblNB" runat="server" CssClass="lbl"></asp:Label>
                                        <asp:DropDownList ID="DdlresidentYN" runat="server" CssClass="ddl" Width="204px">
                                                            <asp:ListItem Selected="True" Text="" Value=""></asp:ListItem>
                                                            <asp:ListItem Text="Yes" Value="Y"></asp:ListItem>
                                                            <asp:ListItem Text="No" Value="N"></asp:ListItem>
                                                        </asp:DropDownList>
                                    </td>

                                </tr>


                                <tr>
                                    <td></td>

                                    <td>
                                        <asp:Label ID="lblCustStatus" runat="server" CssClass="lbl" Text="Sub Status"></asp:Label></td>
                                    <td>
                                        <asp:DropDownList ID="ddlCustStatus" runat="server" CssClass="ddl" Width="204px" TabIndex="25" Enabled="false">
                                            <asp:ListItem Value="Active">Active</asp:ListItem>
                                            <asp:ListItem Value="Closed">Closed</asp:ListItem>
                                            <asp:ListItem Value="Deceased">Deceased</asp:ListItem>
                                            <asp:ListItem Value="Dormant">Dormant</asp:ListItem>
                                            <asp:ListItem Value="Pending">Pending</asp:ListItem>
                                            <asp:ListItem Value="Suspend">Suspend</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblSBUman" runat="server" CssClass="mandatory" Text="*"></asp:Label></td>
                                    <td class="lblBlotterPaddingRightCust1">
                                        <asp:Label ID="lblSBU" runat="server" CssClass="lbl" Text="SBU"></asp:Label>
                                        <asp:Label ID="lblriskprofile" runat="server" CssClass="lbl" Text="Risk Profile"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSBU" runat="server" Width="204px" CssClass="txt" Enabled="False"></asp:TextBox>
                                        <asp:Label ID="lblSBUCode" runat="server" CssClass="lbl"></asp:Label>
                                        <asp:TextBox ID="txtRiskProfileRating" runat="server" Width="204px" CssClass="txt" Enabled="False"></asp:TextBox>
                                    </td>
                                </tr>

                                <tr>

                                    <td></td>
                                    <td>
                                        <asp:Label ID="lbloccupationalcode" runat="server" CssClass="lbl" Text="Occupational Code"></asp:Label>
                                        <asp:Label ID="lblLIsighted" runat="server" CssClass="lbl" Text="LI sighted" Visible="false"></asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtoccupationalcode" TabIndex="21" runat="server" CssClass="txt" Width="195px" Style="display: none"></asp:TextBox>
                                        <asp:DropDownList ID="ddloccupationalcode" runat="server" CssClass="ddl" Width="204" TabIndex="21" AutoPostBack="true">
                                        </asp:DropDownList>
                                        <asp:Label ID="lblcode" runat="server" CssClass="lbl"></asp:Label>
                                        <asp:CheckBox ID="chkLIsighted" runat="server" CssClass="chk" Enabled="false" Visible="false" />
                                    </td>


                                    <%--<Javed>--on 5-Nov-2016--<Start>--%>
                                    <td class="lbl"></td>
                                    <td class ="lblBlotterPaddingRightCust1">
                                        <asp:Label ID="lblConstitutionType" runat="server" CssClass="lbl" Text="Constitution Type"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlConstitutionType" runat="server" AutoPostBack="true" CssClass="ddl" Width="204px" TabIndex="27">
                                        </asp:DropDownList>
                                    </td>
                                    <%--<Javed>--on 5-Nov-2016--<End>--%>
                                </tr>


                                <%--<Javed>--on 5-Nov-2016--<Start>--%>
                                <tr>
                                    <td class="lbl"></td>
                                    <td>
                                        <asp:Label ID="lblracecode1" runat="server" CssClass="lbl" Text="Race Code"></asp:Label></td>
                                    <td class="labelsValue">
                                        <asp:DropDownList ID="ddlRaceCode1" runat="server" CssClass="ddl" Width="204" TabIndex="22">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <%--<Javed>--on 5-Nov-2016--<End>--%>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <%-- <asp:Label ID="lblheaderorder" runat="server" CssClass="mandatory" Text="*"></asp:Label>--%>
                            <asp:Label ID="lblcontactdetails" runat="server"  Text="Contact Details" Style="margin-left:0px;" CssClass="lbl lblHeader HeaderOrder"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label22" runat="server" Style="margin-left:0px;"  Text="Other Information" CssClass="lbl lblHeader HeaderOrder"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style ="vertical-align: top !important;" class="Filter FilterPad">
                            <table border="0">
                                <tr>
                                    
                                    <td>

                                        <asp:Label ID="Label5" runat="server" CssClass="mandatory">&nbsp;</asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label19" runat="server" Style="margin-left: 2px;">Home Phone No</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtHomeTel" runat="server" onkeypress="return AllowOnlyNumericValues();" CssClass="txt txtWidth" TabIndex="11"
                                            MaxLength="20" Width="204px"></asp:TextBox>

                                    </td>

                                </tr>
                                <tr>

                                    <td>
                                        <asp:Label ID="lblHandPhoneMan" runat="server" CssClass="mandatory" Visible="false">&nbsp;</asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblHandPhone" runat="server" Style="margin-left: 2px;">Hand Phone No</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtHandPhone" runat="server" onkeypress="return AllowOnlyNumericValues();" CssClass="txt txtWidth" TabIndex="12"
                                            MaxLength="20" Width="204px"></asp:TextBox>
                                    </td>

                                </tr>
                                <tr>

                                    <td class="lbl">
                                        <asp:Label ID="Label9" runat="server" CssClass="mandatory">&nbsp;</asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="Label20" runat="server" CssClass="lbl" Style="margin-left: 2px;">Office Phone No</asp:Label>
                                    </td>
                                    <td class="ctlBlotterPaddingRight">
                                        <asp:TextBox ID="txtOfficeTel" runat="server" CssClass="txt txtWidth" onkeypress="return AllowOnlyNumericValues();" TabIndex="13"
                                            MaxLength="20" Width="204px"></asp:TextBox>

                                    </td>
                                </tr>
                                <tr>

                                    <td>
                                        <asp:Label ID="Label10" runat="server" CssClass="mandatory">&nbsp;</asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblFaxNo" runat="server" CssClass="lbl" Style="margin-left: 2px;"> Fax No</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtFaxNo" runat="server" onkeypress="return AllowOnlyNumericValues();" CssClass="txt txtWidth" TabIndex="14"
                                            MaxLength="20" Width="204px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="trbookingid" runat="server">
                                    <td></td>
                                    <td>
                                        <asp:Label ID="lblPhoneBookingID" CssClass="lbl" runat="server" Style="margin-left: 2px;">Phone Banking ID</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtPhoneBooking" runat="server" CssClass="txt txtWidth"
                                            MaxLength="20" Width="204px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="trEmail" runat="server" visible="false">

                                    <td class="lbl">
                                    <asp:Label ID="lblEmailIdMan" runat="server" CssClass="mandatory" Text ="*" Visible ="false" ></asp:Label></td>
                                    <td>
                                        <asp:Label ID="EmailId" runat="server" CssClass="lbl" Text="Email" Style="margin-left: 2px;"> </asp:Label></td>
                                    <td>
                                        <asp:TextBox ID="txtEmailID" runat="server" CssClass="txt txtMLWidth" TabIndex="14"
                                        TextMode="MultiLine" onkeypress="return textboxMultilineMaxNumber(this,200)" Style="white-space: pre-wrap !important;" Wrap="true" Width="204px"></asp:TextBox>
<%--                                    <asp:RegularExpressionValidator ID="regularexprforemaild" runat="server" CssClass="lblInfo"
                                        ErrorMessage="Please enter valid email id" ControlToValidate="txtEmailID" ValidationExpression="(([a-zA-Z\-0-9\.]+@)([a-zA-Z\-0-9\.]+)[;]*)+">

                                    </asp:RegularExpressionValidator>--%>

                                </td>
                            </tr>

                            </table>
                        </td>
                        <td id="tdOtherInfo" runat="server" valign="top" class="Filter FilterPad">
                            <table style ="margin-left:-3px">

                                <tr id="trRevalueMethod" runat="server" visible="false">
                                    <td>

                                        <asp:Label ID="lblManrelPackageCode" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label runat="server" Text="Revalue Method" ID="lblrevaluemethod"></asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblvipcodeman" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblGSTBelonging" runat="server" CssClass="lbl" Text="GST Belonging" Visible="false"></asp:Label>
                                        <asp:Label ID="lblVIPCode" runat="server" Text="VIP Code" CssClass="lbl" Visible="false"></asp:Label>


                                        <asp:Label ID="lblrelPackageCode" runat="server" CssClass="lbl" Visible="false">Relationship Package <br />Code </asp:Label>
                                    </td>
                                    <td class="tdPaddingRight">
                                        <asp:DropDownList ID="ddlRevalueMethod" runat="server" CssClass="ddl ddlWidth">
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlGSTBelonging" TabIndex="29" runat="server" CssClass="ddl" Width="204px" Visible="false">
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlVIPCode" TabIndex="29" runat="server" CssClass="ddl" Width="204px" Visible="false">
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlrelPackageCode" runat="server" CssClass="ddl" Width="204px" Visible="false">
                                        </asp:DropDownList>
                                    </td>

                                    <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lbllastkyc" CssClass="lbl" runat="server" Text="Last KYC Done On" Visible="true"></asp:Label>
                                    </td>
                                    <td class="ctlBlotterPaddingRight">
                                        <uc1:DateControl ID="dlkyc" runat="server" CalenderCss="btn1" SetDefaultDate="False" TabIndex="19" Visible="true"
                                            CssClass="txt" TextBoxSize="204px" Width="118px" AllowBlank="true" />
                                    </td>



                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="lblAH_Misc_8" runat="server" CssClass="lbl" Text="Mass Classification" Visible="false"></asp:Label></td>

                                    <td>
                                        <asp:TextBox ID="txtAH_Misc_8" runat="server" CssClass="txt" Visible="false" Width="204px"
                                            MaxLength="20"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="trbrnOfficer" runat="server">

                                    <td>
                                        <asp:Label ID="lbloffMan" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblBranchOfficer" runat="server" CssClass="lbl" Text="Branch Officer"></asp:Label>
                                        <asp:Label ID="lblManRelPackageSubType" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblClassType" runat="server" CssClass="lbl" Text="Class Type" Visible="false"></asp:Label>
                                        <asp:Label ID="lblHoldingTaxrate" runat="server" CssClass="lbl" Visible="false">With Holding Tax<br />Rate(%)</asp:Label>
                                        <asp:Label ID="lblrelPackageSubType" runat="server" CssClass="lbl" Visible="false">Relationship Package <br /> SubType </asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtBranchOficerName" runat="server" CssClass="txt txtWidth" TabIndex="25"
                                            MaxLength="20"></asp:TextBox>
                                        <asp:DropDownList ID="ddlClassType" runat="server" CssClass="ddl" Width="204px" TabIndex="30" Visible="false">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="txtRelPackageSubType" runat="server" Width="204px" CssClass="txt" Visible="false"></asp:TextBox>
                                        <asp:TextBox ID="txtHoldingTaxrate" runat="server" Width="204px" CssClass="txt" Visible="false"></asp:TextBox>
                                    </td>


                                    <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblnextkyc" CssClass="lbl" runat="server" Text="Next KYC Due On" Visible="true"></asp:Label>
                                    </td>
                                    <td class="ctlBlotterPaddingRight">
                                        <uc1:DateControl ID="dnkyc" runat="server" CalenderCss="btn1" SetDefaultDate="False" TabIndex="19" Visible="true"
                                            CssClass="txt" TextBoxSize="204px" Width="118px" AllowBlank="true" />
                                    </td>




                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="lblAH_Misc_9" runat="server" CssClass="lbl" Text="Sub Classification" Visible="false"></asp:Label></td>

                                    <td>
                                        <asp:TextBox ID="txtAH_Misc_9" runat="server" CssClass="txt" Width="204px" Visible="false"
                                            MaxLength="20"></asp:TextBox>
                                    </td>

                                </tr>
                                <tr id="trTFCOfficer" runat="server">


                                    <td>
                                        <asp:Label ID="lblTFCman" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label runat="server" Text="TFC Officer" CssClass="lbl" ID="lblTFCofficer"></asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRightInfo1">
                                            <asp:Label ID="lblCustomersegmantman" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblCustomersegmant" runat="server" CssClass="lbl" Text="Customer Segment" ></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtTFCOficerName" runat="server" CssClass="txt txtWidth" TabIndex="26"
                                            MaxLength="20" Visible="False"></asp:TextBox>
                                        <asp:DropDownList ID="ddlCustomerSegment" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px">
                                        </asp:DropDownList>

                                        <asp:TextBox ID="txtAH_Type_2" runat="server" CssClass="txt" Width="204px" MaxLength="20" Visible="False"></asp:TextBox>
                                    </td>
									
									<td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblLastCPRAUpdateMan" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblLastCPRAUpdate" Style="margin-left: 1px;" CssClass="lbl" runat="server" Text="Last CPRA Update" Visible="false"></asp:Label></td>
                                    <td>


                                        <uc1:DateControl ID="txtLastCPRAUpdate" runat="server" CalenderCss="btn1" SetDefaultDate="False" TabIndex="19" Visible="false"
                                            CssClass="txt" TextBoxSize="204px" Width="118px" AllowBlank="true" />

                                    </td>
									
									

                                 




                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="lblAH_Rel_Manager" runat="server" CssClass="lbl" Text="Relationship Manager" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlAH_Rel_Manager" runat="server" CssClass="ddl" Width="204px" Visible="false"></asp:DropDownList>
                                    </td>
                                </tr>
                                <tr id="trTMUOfficer" runat="server">

                                    <td>
                                        <asp:Label ID="lblTMUofMan" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblTMUofficer" runat="server" CssClass="lbl" Text="TMU Officer"></asp:Label>


                                    </td>



                                    <td>
                                        <asp:Label ID="lblCategoryMan" runat="server" CssClass="mandatory" Text="*"></asp:Label>
                                        <asp:Label ID="lblCategory" runat="server" Text="Category" CssClass="lbl" Visible="false"></asp:Label>
                                        <asp:Label ID="lblAH_Industry_Code" runat="server" CssClass="lbl" Text="Primary Industry Code" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtTMUOficerName" runat="server" CssClass="txt txtWidth" TabIndex="27"
                                            MaxLength="20"></asp:TextBox>
                                        <asp:DropDownList ID="ddlCategory" runat="server" CssClass="ddl" Width="204px" TabIndex="32" Visible="false">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="txtAH_Industry_Code" runat="server" Width="204px" CssClass="txt" Visible="false"></asp:TextBox>
                                    </td>
									
									<td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblKYCStatusMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblKYCStatus" runat="server" Style="margin-left: 1px;" CssClass="lbl" Text="KYC Status" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlKYCStatus" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>
                                    </td>

                                      

                                    <td class="lblBlotterPaddingRight ">
                                        <asp:Label ID="lblAH_Signature_Link" runat="server" CssClass="lbl" Text="Cost Center" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtAH_Signature_Link" runat="server" Width="204px" CssClass="txt" Visible="false"></asp:TextBox>
                                    </td>

                                </tr>
                                <tr>
                                    <td></td>
                                    <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblProfessionalInvMan" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblProfessionalInv" runat="server" Text="Professional Investor" CssClass="lbl"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlProfessionalInv" runat="server" CssClass="ddl" Width="204px">
                                            <asp:ListItem Value="" Text=""></asp:ListItem>
                                            <asp:ListItem Value="Y" Text="Yes"></asp:ListItem>
                                            <asp:ListItem Value="N" Text="No"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
									
									
									
                                     <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblKYCReferenceNumberMan" runat="server" class="mandatory" Text="*"  Visible="false"></asp:Label>
                                        <asp:Label ID="lblKYCReferenceNumber" runat="server" Text="KYC Ref Number" CssClass="lbl" Visible="false" ></asp:Label>
                                    </td>


                                    <td >
                                        <asp:TextBox ID="txtKYCReferenceNumber" runat="server" CssClass="txt txtWidth" Style="text-align: right" TabIndex="27" Visible="false" AutoPostBack="true"
                                            MaxLength="12"></asp:TextBox>

                                    </td>

                                   

                                    
                                   
                                </tr>


                                <tr>
                                    <td></td>
                                    

                                     <td class="lblBlotterPaddingRightInfo"1>
                                        <asp:Label ID="lblCallIndemnityMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblCallIndemnity" runat="server" CssClass="lbl" Text="Call Indemnity" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlCallIndemnity" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                            <asp:ListItem Value="" Text=""></asp:ListItem>
                                            <asp:ListItem Value="Y" Text="Yes"></asp:ListItem>
                                            <asp:ListItem Value="N" Text="No"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>

                                  <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblBusinessGroupMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblBusinessGroup" CssClass="lbl" runat="server" Text="Business Group" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlBusinessGroup" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>

                                    </td>
									
									 
                                   
                                  
									  
                                  
                                </tr>
                                <tr>

                                    <td></td>

                                       <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblMailIndemnityMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblMailIndemnity" runat="server" CssClass="lbl" Text="Mail Indemnity" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlMailIndemnity" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                            <asp:ListItem Value="" Text=""></asp:ListItem>
                                            <asp:ListItem Value="Y" Text="Yes"></asp:ListItem>
                                            <asp:ListItem Value="N" Text="No"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                  
                                    	
									  <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblGeographyMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblGeography" CssClass="lbl" runat="server" Text="Geography" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlGeography" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>

                                    </td>


                                      <%--      <Changed by Mayuri C/Nitin N on 12-Apr-2021 : for Mashreq_Internal MASINT-1735 Customer Profile changes>--%>
                                     
                                   
                                </tr>
                                   <tr>
                                     <td></td>


                                          <td class="lblBlotterPaddingRightInfo1">
                                                <asp:Label ID="lblLombardYNMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                                <asp:Label ID="lblLombardYN" runat="server" CssClass="lbl" Text="Lombard YN" Visible="false"></asp:Label>

                                             
                                            </td>

                                             <td>
                                                     <asp:DropDownList ID="ddlLombardYN" runat="server" TabIndex="35" CssClass="ddl ddlWidth"  Width="204px" Visible="false" AutoPostBack="true">
													   <asp:ListItem Text="" Value =""></asp:ListItem>
                                                        <asp:ListItem Text="Yes" Value ="Y"></asp:ListItem>
                                                    <asp:ListItem Text="No" Value ="N"></asp:ListItem>
                                                </asp:DropDownList>
                                                 </td>
                             
                                        
									  <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblSegmentMISCodeMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblSegmentMISCode" CssClass="lbl" runat="server" Text="Segment MIS Code" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlSegmentMISCode" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>

                                    </td>

                                  
                                   
<%--  <Changed by  Mayuri C/Nitin N on 17-Mar-2021 : Email :- Fields to be added on Customer Account Page (MASINT-1585)--%>

                                    
                                    <td>
                                        <asp:DropDownList ID="ddlOptInOut" runat="server" CssClass="ddl" Width="60px" Visible="false" AutoPostBack="True">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="dtpOptInOut" runat="server" CssClass="txt" Visible="false" ReadOnly="true"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>

                                     <td></td>

                                            
                                    <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblLimitCurrencyMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblLimitCurrency" CssClass="lbl" runat="server" Text="Limit Currency" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlLimitCurrency" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>

                                    </td>

									
									 
									   
                                        <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblAgeDocAvailableMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblAgeDocAvailable" CssClass="lbl" runat="server" Text="Age Doc Available" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlAgeDocAvailable" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                            <asp:ListItem Value="" Text=""></asp:ListItem>
                                            <asp:ListItem Value="Y" Text="Yes"></asp:ListItem>
                                            <asp:ListItem Value="N" Text="No"></asp:ListItem>
                                        </asp:DropDownList>

                                    </td>

								
								
                                         <%--Changed by  Mayuri C/Nitin N on 17-Mar-2021 : Email :- Fields to be added on Customer Account Page (MASINT-1585)--%>
                                    
                              
                                    <td>
                                        <asp:Label ID="Label30" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    </td>
                                    <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="Label13" runat="server" Text="Target Volume" CssClass="lbl" Visible="false"></asp:Label>
                                        <asp:Label ID="lblAH_Country_Exposure" runat="server" CssClass="lbl" Visible="false">Primary Country<br /> Of Exposure </asp:Label>
                                    </td>
                                    <td>

                                        <asp:TextBox ID="txtTargetVolume" runat="server" CssClass="txt txtWidth" TabIndex="27" Visible="false"
                                            MaxLength="20"></asp:TextBox>
                                        <asp:DropDownList ID="ddlAH_Country_Exposure" runat="server" CssClass="ddl" Width="204px" MaxLength="20" Visible="false"></asp:DropDownList>
                                    </td>
                                </tr>
                                 <tr>
                                   
									 
									 <td>
								</td>

                                      
									     <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblLimitAmountMan" runat="server" class="mandatory" Text="*"  Visible="false"></asp:Label>
                                        <asp:Label ID="lblLimitAmount" runat="server" Text="Limit Amount" CssClass="lbl" Visible="false" ></asp:Label>
                                    </td>


                                    <td>
                                        <asp:TextBox ID="txtLimitAmount" runat="server" CssClass="txt txtWidth" Style="text-align: right" TabIndex="27" Visible="false" AutoPostBack="true"
                                            MaxLength="12"></asp:TextBox>

                                    </td>
									  
	 
                                      <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblKYCRiskLevelMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblKYCRiskLevel" CssClass="lbl" runat="server" Text="KYC Risk Level" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlKYCRiskLevel" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>

                                    </td>
                                     
                                </tr>
								
								<tr>
								<td>
								</td>

                                     <td class="lblBlotterPaddingRightInfo1">
                                        <asp:Label ID="lblLimitCheckBasisMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblLimitCheckBasis" CssClass="lbl" runat="server" Text="Limit Check basis" Visible="false"></asp:Label></td>
                                    <td>


                                        <asp:DropDownList ID="ddlLimitCheckBasis" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                        </asp:DropDownList>

                                    </td>
                                    
								   <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblIMAman" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblIMA" runat="server" CssClass="lbl" Text="IMA" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlIMA" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                            <asp:ListItem Value="" Text=""></asp:ListItem>
                                            <asp:ListItem Value="Y" Text="Yes"></asp:ListItem>
                                            <asp:ListItem Value="N" Text="No"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
			
								</tr>
								
                                <tr>
                                    	<td>
								</td>
                                     <td class="lblBlotterPaddingRightInfo">
                                        <asp:Label ID="lblUDAMan" runat="server" CssClass="mandatory" Text="*" Visible="false"></asp:Label>
                                        <asp:Label ID="lblUDA" runat="server" CssClass="lbl" Text="UDA" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlUDA" runat="server" CssClass="ddl ddlWidth" TabIndex="36" Width="204px" Visible="false">
                                            <asp:ListItem Value="" Text=""></asp:ListItem>
                                            <asp:ListItem Value="Y" Text="Yes"></asp:ListItem>
                                            <asp:ListItem Value="N" Text="No"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
								
                                    <td class="auto-style2">
                                        <asp:Label ID="lblCustSourceChannelMan" runat="server" class="mandatory" Text="*" Visible="false"></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lblCustSourceChannel" runat="server" CssClass="lbl" Text="Source Channel" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtCustSourceChannel" runat="server" CssClass="txt txtWidth" TabIndex="34" Visible="false"></asp:TextBox>
                                        <asp:DropDownList ID="ddlSourceChannel" runat="server" CssClass="ddl" Width="209px" Visible="false"></asp:DropDownList>


                                    </td>
                                </tr>
                               
                                <tr>

                                    <td>
                                        <asp:Label ID="Label26" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblIntraGroup" runat="server" Text="Intra Group" CssClass="lbl" Visible="false"></asp:Label>
                                    </td>


                                    <td>
                                        <asp:TextBox ID="txtIntraGroup" runat="server" CssClass="txt txtWidth" TabIndex="27" Visible="false"
                                            MaxLength="20"></asp:TextBox>

                                    </td>

                                </tr>


                            </table>
                        </td>
                    </tr>


                    <tr>
                        <td colspan="2" class="auto-style3" id="tdclassificationdetails" runat="server">Classification Details
                        </td>
                    </tr>

                    <tr>
                        <td>
                            <table class="main">
                                <tr id="OtherInfo" runat="server">
                                    <td>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblStaffInMandatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="LblStaffIndicator" runat="server" CssClass="lbl" Text="Staff Indicator"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlStaffIndicator" runat="server" CssClass="ddl" Width="320px">
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblRaceCodeMandatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="LblRaceCode" runat="server" CssClass="lbl" Text="Race Code"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlRaceCode" runat="server" CssClass="ddl" Width="320px" TabIndex="22">
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblSchCodeMandatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="lblScheduleCode" runat="server" CssClass="lbl" Text="Schedule Code"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlScheduleCode" runat="server" CssClass="ddl" Width="320px">
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblSectCodeMandatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="lblSectorCode" runat="server" CssClass="lbl" Text="Sector Code"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlSectorCode" runat="server" CssClass="ddl" Visible="false" Width="120px">
                                                        </asp:DropDownList>
                                                        <asp:TextBox ID="Txtsectorcode" runat="server" Width="60px"></asp:TextBox>
                                                        <asp:TextBox ID="TxtsectorDesc" runat="server"></asp:TextBox>
                                                        <asp:Button ID="Btnsectorcode" runat="server" CssClass="btn" Text="Find Sector code" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblPremInMadatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="lblPremierIndicator" runat="server" CssClass="lbl" Text="Premium Indicator"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlPremierIndicator" runat="server" CssClass="ddl" Width="320px">
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <%-- <td>
                                                                    <asp:Label ID="lblCustSegManatory" runat="server" class="mandatory" Text="*"> </asp:Label>
                                                                </td>--%><%--   <td>
                                                                    <asp:Label ID="lblCustomerSegment" runat="server" CssClass="lbl" Text="Division Code"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    &nbsp;</td>--%>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                    <td></td>
                                                    <td>
                                                        <%--<asp:DropDownList ID="DdlresidentYN" runat="server" CssClass="ddl">
                                                            <asp:ListItem Selected="True" Text="" Value=""></asp:ListItem>
                                                            <asp:ListItem Text="Yes" Value="Y"></asp:ListItem>
                                                            <asp:ListItem Text="No" Value="N"></asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                                <tr id="BBLOtherInfo" runat="server">
                                    <td>
                                        <table class="main">
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblCustTypeMandatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="lblCustomerType" runat="server" CssClass="lbl" Text="CT Code"></asp:Label>
                                                    <asp:DropDownList ID="ddlCustomerType" runat="server" AutoPostBack="true" CssClass="ddl" Enabled="false" TabIndex="28">
                                                    </asp:DropDownList>
                                                    <asp:TextBox ID="txtCustomerType" runat="server" CssClass="txt" TabIndex="28" Width="155px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblInvolvedPartyMan" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="lblInvolvedParty" runat="server" CssClass="lbl" Text="Involved Party Type"></asp:Label>
                                                    <asp:DropDownList ID="ddlInvolvedParty" runat="server" AutoPostBack="true" CssClass="ddl" Enabled="false" TabIndex="30">
                                                    </asp:DropDownList>
                                                    <asp:TextBox ID="txtInvolvedParty" runat="server" CssClass="txt" TabIndex="30" Width="155px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblBusinessTypeMan" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="lblBusinessType" runat="server" CssClass="lbl" Text="ISIC Code"></asp:Label>
                                                    <asp:DropDownList ID="ddlBusinessType" runat="server" AutoPostBack="true" CssClass="ddl" Enabled="false" TabIndex="32">
                                                    </asp:DropDownList>
                                                    <asp:TextBox ID="txtBusinessType" runat="server" CssClass="txt" TabIndex="32" Width="155px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblAllocCodeMan" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="lblAllocationCode" runat="server" CssClass="lbl" Text="Allocation Code"></asp:Label>
                                                    <asp:TextBox ID="txtAllocationCode" runat="server" AutoPostBack="True" CssClass="txt" OnTextChanged="txtAllocationCode_TextChanged" TabIndex="29" Visible="false" Width="142px"></asp:TextBox>
                                                    <asp:DropDownList ID="ddlAllocationCode" runat="server" AutoPostBack="true" CssClass="ddl" Enabled="false">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label16" runat="server"></asp:Label>
                                                    <asp:Label ID="lblIndustry" runat="server" CssClass="lbl" Text="Industry"></asp:Label>
                                                    <%-- <asp:TextBox ID="txtIndustry" TabIndex="31" runat="server" Width="200px" CssClass="txt" ReadOnly="true" ></asp:TextBox>--%>
                                                    <asp:DropDownList ID="ddlIndustry" runat="server" AutoPostBack="true" CssClass="ddl" Enabled="false" TabIndex="31">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label17" runat="server"></asp:Label>
                                                    <asp:Label ID="lblOfficerName" runat="server" CssClass="lbl" Text="RM/RO Name"></asp:Label>
                                                    <%-- <asp:TextBox ID="txtOfficerName" TabIndex="33" runat="server" Width="200px" CssClass="txt" ReadOnly="true"></asp:TextBox>--%>
                                                    <asp:DropDownList ID="ddlOfficerName" runat="server" AutoPostBack="true" CssClass="ddl" Enabled="false" TabIndex="33">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label18" runat="server"></asp:Label>
                                                    <asp:Label ID="lblSugtSpread" runat="server" CssClass="lbl" Text="Suggested Spread" Visible="False"></asp:Label>
                                                    <asp:TextBox ID="txtSugtSpread" runat="server" CssClass="txt" TabIndex="39" Visible="False"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <%--<tr id="Gender" runat="server">
                                                    <td colspan="2">
                                                        <table>
                                                            
                                                        </table>
                                                    </td>
                                                </tr>--%>
                        <%--<tr id="Remarks" runat="server">
                                                    <td colspan="2">
                                                        <table>
                                                          
                                                        </table>
                                                    </td>
                                                </tr>--%>
                        <td>
                            <table class="main">
                                <tr id="customerInfo" runat="server">
                                    <td valign="top">
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblCustSegManatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="lblCustomerSegment" runat="server" CssClass="lbl" Text="Customer Segment"></asp:Label>
                                                    <asp:DropDownList ID="ddlCustomerSegment1" runat="server" CssClass="ddl" Width="204px" TabIndex="31">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label14" runat="server"></asp:Label>
                                                    <asp:Label ID="lblCustomerTier" runat="server" CssClass="lbl" Text="Customer Tier"></asp:Label>
                                                    <asp:DropDownList ID="ddlCustomerTier" runat="server" CssClass="ddl ddlWidth" TabIndex="38">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label15" runat="server"></asp:Label>
                                                    <asp:Label ID="lblRiskLevel" runat="server" CssClass="lbl" Text="Risk Level / Reason"></asp:Label>
                                                    <%--<asp:DropDownList ID="ddlRiskLevel" runat="server" CssClass="ddl" > </asp:DropDownList>--%>
                                                    <asp:TextBox ID="txtRiskLevel" runat="server" CssClass="txt" TabIndex="35" Width="50px"></asp:TextBox>
                                                    <asp:TextBox ID="txtRiskReason" runat="server" CssClass="txt" TabIndex="37" Width="50px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label33" runat="server"></asp:Label>
                                                    <asp:Label ID="lblGoodGuy" runat="server" CssClass="lbl" Text="Good Guy Flag"></asp:Label>
                                                    <asp:CheckBox ID="chkGoodGuy" runat="server" AutoPostBack="true" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td id="Gender" runat="server">
                                                    <asp:Label ID="lblGenderMandatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="LblGender" runat="server" CssClass="lbl" Text="Gender"></asp:Label>
                                                    <asp:DropDownList ID="Ddlgender" runat="server" AutoPostBack="True" CssClass="ddl">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <asp:Label ID="LblBiCounterPartyManadatory" runat="server" class="mandatory" Text="*"></asp:Label>
                                                    <asp:Label ID="lblCpty" runat="server" CssClass="lbl" Text="BI Counterparty"></asp:Label>
                                                    <asp:DropDownList ID="Ddlbicounterparty" runat="server" CssClass="ddl">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td id="Remarks" runat="server">
                                                    <asp:Label ID="lblRemark" runat="server" CssClass="lbl" Text=" Remarks"></asp:Label>
                                                    <asp:TextBox ID="txtRemarks" runat="server" CssClass="txt" onkeypress="return textboxMultilineMaxNumber(this,100)" TextMode="MultiLine" Width="405px"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>

                        <%-- <tr>
                                                        <td class="height12 " colspan="2"></td>
                                                    </tr>--%>
                    </tr>

                    <%-- <tr><td style="height:10px;"></td></tr>--%>
                    <tr>
                        <td class="Filter FilterPad" style="border: none !important;">
                            <table class="main" cellpadding="1" cellspacing="1" border="0">
                                <tr>
                                    <td></td>
                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="LblCreatedByName" runat="server" CssClass="lbl lblauditinfo" Text="Created By -"  ></asp:Label></td>
                                    <td class="ctlBlotterPaddingRight">
                                        <asp:Label ID="lblCreatedBy" runat="server" CssClass="lbl"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>
                                        <asp:Label ID="lblCreatedAt_" runat="server" Text="Created At -" CssClass="lbl lblauditinfo" ></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lblCreatedAt" runat="server" CssClass="lbl"></asp:Label></td>
                                </tr>
                            </table>


                        </td>

                        <td class="Filter FilterPad" style="border: none !important;">
                            <table class="main" cellpadding="1" cellspacing="1" border="0">
                                <tr>
                                    <td></td>
                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="LblEditedByName" runat="server" CssClass="lbl" style="padding-left :12px" Text="Last Edited By -"  ></asp:Label></td>
                                    <td style="width: 275px;" class="ctlBlotterPaddingRight">
                                        <asp:Label ID="lblEditedBy" runat="server" CssClass="lbl"></asp:Label></span>

                                    </td>
                                    <td>
                                        <asp:Label ID="lbldeactivatedbyname" runat="server" CssClass="lbl" style="padding-left :8px" Text="Activated/Deactivated By -"></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lbldeactivatedby" runat="server" CssClass="lbl"></asp:Label></span></td>
                                    <td>
                                        <asp:Label ID="lblRiskprofileupdatedbyname" runat="server" Visible="false" CssClass="lbl" Text="Risk Profile Updated By -"></asp:Label>
                                    </td>
                                    <td><span class="lbl">
                                        <asp:Label ID="lblriskprofileupdatedby" runat="server" Visible="false" CssClass="lbl"></asp:Label></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td class="lblBlotterPaddingRight">
                                        <asp:Label ID="lblEditedAt_" runat="server" CssClass="lbl" style="padding-left :12px" Text=" Last Edited At -"  ></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lblEditedAt" runat="server" CssClass="lbl"></asp:Label>
                                        <asp:Label ID="lblVerifiedBy" runat="server" CssClass="lbl" Visible="False"></asp:Label>
                                        <asp:Label ID="lblVerifiedAt" runat="server" CssClass="lbl" Visible="False"></asp:Label>

                                    </td>
                                    <td>
                                        <asp:Label ID="lblDeactivatedAt_" runat="server" CssClass="lbl" style="padding-left :8px" Text="Activated/Deactivated At -"></asp:Label>
                                    </td>
                                    <%--  <td class="labelShort">
                                                                <asp:Label ID="Label23" runat="server" CssClass="lbl"></asp:Label>
                                                            </td>--%>
                                    <td>
                                        <asp:Label ID="lbldeactivateat" runat="server" CssClass="lbl"></asp:Label>

                                    </td>


                                    <td>
                                        <asp:Label ID="lblRiskProfileUpdatedAt_" Visible="false" Text="Risk Profile Updated At -" runat="server" CssClass="lbl"></asp:Label>
                                    </td>
                                    <%--  <td class="labelShort">
                                                                <asp:Label ID="Label24" runat="server" CssClass="lbl"></asp:Label>
                                                            </td>--%>
                                    <td>
                                        <asp:Label ID="lblriskprofileupdatedat" runat="server" Visible="false" CssClass="lbl"></asp:Label>

                                    </td>

                                </tr>
                            </table>


                        </td>


                    </tr>

                </table>


                <%--      </td>
                                </tr>

                            </table>--%>

                        </td>
                    </tr>

                </table>

            </asp:Panel>
            <asp:Panel ID="Panelsectorcode" runat="server" CssClass="popupBox1">
                <div id="iframe1" runat="server" height="300px" width="485px" class="popupBox1" visible="false"></div>
                <table align="left" cellpadding="1" cellspacing="1">
                    <tr>
                        <td class="" align="center" colspan="3">Please select the sector code.
                        </td>
                        <td class="" align="right">
                            <asp:Button ID="Btnclose" CssClass="btn" runat="server" Text="X" BorderStyle="None"
                                Height="15px" Width="15px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="lbl">Code/Description
                        </td>
                        <td style="width: 150px" align="right">
                            <asp:TextBox ID="Txtsearchsectorcode" Width="120px" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="Btnsearchsectorcode" CssClass="btn" Width="50px" runat="server" Text="Search" />
                        </td>
                        <td>
                            <asp:Button ID="Btnloadall" CssClass="btn" Width="50px" runat="server" Text="LoadAll" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <asp:DataGrid ID="Grdsectorcode" Width="335px" Visible="true" runat="server" AllowSorting="True"
                                AutoGenerateColumns="False" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
                                CssClass="Grid" AllowPaging="True">
                                <SelectedItemStyle CssClass="GridItemSelect" />
                                <AlternatingItemStyle CssClass="AlternatItemStyle" />
                                <ItemStyle CssClass="GridItem" />
                                <HeaderStyle CssClass="GridHeader" />
                                <FooterStyle CssClass="GridFooter" />
                                <PagerStyle CssClass="GridPager" />
                                <Columns>
                                    <asp:TemplateColumn HeaderText="Code">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                        <ItemStyle HorizontalAlign="Right" Wrap="False" />
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkbuttonCount" runat="server" CausesValidation="false" CommandName="Select"
                                                Text='<%# DataBinder.Eval(Container, "DataItem.Data_Value") %>'> </asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateColumn>
                                    <asp:BoundColumn DataField="Misc1" HeaderText="Description" Visible="True">
                                        <ItemStyle HorizontalAlign="Left" Wrap="False" />
                                        <HeaderStyle Font-Bold="False" Wrap="False" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="Data_Value" HeaderText="" Visible="True" HeaderStyle-CssClass="HiddenColumn">
                                        <ItemStyle HorizontalAlign="Left" Wrap="False" CssClass="HiddenColumn" />
                                        <HeaderStyle Font-Bold="False" Wrap="False" />
                                    </asp:BoundColumn>
                                </Columns>
                                <PagerStyle CssClass="GridFooter" HorizontalAlign="Left" Mode="NumericPages" />
                            </asp:DataGrid>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="PanelCompanyType" runat="server" CssClass="popupBox1">
                <table>
                    <tr>
                        <td class="" colspan="2">Company Type.
                        </td>
                        <td class="">
                            <asp:Button ID="BtnpanelcompanytypeX" CssClass="btn" runat="server" Text="X" BorderStyle="None"
                                Height="15px" Width="15px" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="Txt_Company_Type" Width="270px" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="BtnOkCompanyType" CssClass="btn" Width="50px" runat="server" Text="Ok" />
                        </td>
                        <td>
                            <asp:Button ID="BtnCancelCompanyType" CssClass="btn" Width="50px" runat="server"
                                Text="Cancel" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="PanelRegisteredIn" runat="server" CssClass="popupBox1">
                <table>
                    <tr>
                        <td class="" colspan="2">Registered In.
                        </td>
                        <td class="">
                            <asp:Button ID="BtnpanelregisterInX" CssClass="btn" runat="server" Text="X" BorderStyle="None"
                                Height="15px" Width="15px" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="Txt_Registerd_In" Width="270px" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="BtnOkRegisterdIn" CssClass="btn" Width="50px" runat="server" Text="Ok" />
                        </td>
                        <td>
                            <asp:Button ID="BtnCancelRegisterdIn" CssClass="btn" Width="50px" runat="server"
                                Text="Cancel" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="PanelSalutation" runat="server" CssClass="modalPopup">
                <table>
                    <tr>
                        <td class="auto-style1" colspan="2">Salutation.
                        </td>
                        <td class="auto-style1" style="text-align: right;">
                            <asp:Button ID="BtnPanelSalutation" CssClass="btn" runat="server" Text="X" BorderStyle="None"
                                Height="15px" Width="15px" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 300px">
                            <asp:TextBox ID="Txt_BtnPanelSalutation" Width="270px" runat="server" CssClass="txt"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="BtnOkPanelSalutation" CssClass="btn" Width="50px" runat="server" Text="Ok" UseSubmitBehavior="False" />
                        </td>
                        <td>
                            <asp:Button ID="BtnCancelPanelSalutation" CssClass="btn" Width="50px" runat="server"
                                Text="Cancel" UseSubmitBehavior="False" />
                        </td>
                    </tr>
                </table>

            </asp:Panel>
            <cc1:ModalPopupExtender ID="mp1" runat="server" PopupControlID="PanelSalutation" TargetControlID="BtnOkPanelSalutation"
                CancelControlID="BtnCancelPanelSalutation" BackgroundCssClass="modalBackground">
            </cc1:ModalPopupExtender>
            <asp:HiddenField ID="hdnsectorCode" runat="server" />
            <asp:HiddenField ID="HiddenField2" runat="server" />
            <asp:HiddenField ID="lblAHName" runat="server" />
            <asp:HiddenField ID="lblOldCIF" runat="server" />
            <asp:HiddenField ID="lblCIN" runat="server" />
            <asp:Button ID="btnActivateConfirmation" runat="server" Width="0" Style="width: 0px; height: 0px; font-size: 0; border: none; display: none;" />
            <asp:Button ID="btnDeActivateConfirmation" runat="server" Width="0" Style="width: 0px; height: 0px; font-size: 0; border: none; display: none;" />
        </ContentTemplate>

    </asp:UpdatePanel>








    <%-- <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssocIMAtedUpdatePanelID="UpdatePanel1"
        DisplayAfter="0">
        <ProgressTemplate>
            <div>
                <img alt="Loading" src="../App_Resources/loading.gif" /><span class="lbl">...</span>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>--%>
</asp:Content>
