Telerik Update Panel Issue With Captcha Rendering

2 posts, 0 answers
  1. GIPL
    GIPL avatar
    2 posts
    Member since:
    Jun 2010

    Posted 09 Sep 2014 Link to this post

    When we use telerik update panel and Captcha Code, When page loads first time, captcha code image showing on front side and original image code rendering internal are different. So every time captcha code entered first time, it shows wrong code entered as captcha code invalid when compared with server side rendered code. So Please help to resolve this issue. We have also used file upload control of asp .net for uploading files. I am putting sample code below for your reference.

    <%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
        CodeBehind="RegistrationOP.aspx.cs" Inherits="PEDSolution.RegistrationOP" %>

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
        <style type="text/css">
            .uppers
            {
                text-transform: uppercase;
            }
        </style>
        <script type="text/javascript">
            function abc() {
                if (Page_ClientValidate("save")) {



                    var type = $find('<%= cmbApplicantType.ClientID %>').get_selectedItem().get_value();
                    if (type = "1") {
                        alert("SMS Code & Password Sent to Your Registerd Mobile Number & Email Id");
                    }
                    else {
                        alert("Password Sent to Your Registerd Email Id");
                    }

                }
            }
            function savemsg(appid, info) {

                alert(info);

                window.location.href = "ApplicantVerificationForm.aspx?appId=" + appid;

            }

            function checkName(el) {
                //alert(el.value);
                var ar_ext = ['pdf', 'gif', 'jpeg', 'jpg', 'bmp', 'png', 'doc', 'docx'];
                // - www.coursesweb.net
                // get the file name and split it to separe the extension
                if (el.value != null && el.value != 'undefined' && el.value != '') {
                    //alert(el.value);
                    var name = el.value;

                    name = name.toLowerCase();
                    var ar_name = name.split('.');

                    // for IE - separe dir paths (\) from name
                    var ar_nm = ar_name[0].split('\\');
                    for (var i = 0; i < ar_nm.length; i++) var nm = ar_nm[i];

                    // add the name in 'to'
                    //document.getElementById(to).value = nm;
                    // alert(ar_name[1]);
                    // check the file extension
                    var re = 0;
                    for (var i = 0; i < ar_ext.length; i++) {
                        if (ar_ext[i] == ar_name[1]) {
                            re = 1;
                            break;
                        }
                    }

                    // if re is 1, the extension is in the allowed list
                    /*if(re==1) {
                    // enable submit
                    document.getElementById(sbm).disabled = false;
                    }
                    else*/
                    if (re != 1) {
                        // delete the file name, disable Submit, Alert message
                        el.value = '';
                        //document.getElementById(sbm).disabled = true;
                        alert('".' + ar_name[1] + '" is not an file type allowed for upload');
                    }
                }
            }
        </script>
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
         <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upMain">
            <ProgressTemplate>
                <div id="progressBackgroundFilter">
                </div>
                <div id="processMessage" style="position: absolute; top: 0; left: 0; height: 100%;
                    width: 100%;">
                    <img src="images/loading.gif" alt="Loading..." style="padding-left: 500px; padding-top: 500px" />
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <div id="loading" runat="server">
            <%--<div class="tab-content">--%>
            <%--<div class="form-tabbar">--%>
            <%--<div class="form-tabs apply-trans padTB20 fleft">
                        <ul>
                            <li>
                                <asp:LinkButton ID="lbBasic" runat="server" class="active" Enabled="true">
                                <span class="info-icon"></span>Basic Details
                                </asp:LinkButton>
                            </li>
                            <li>
                                <asp:LinkButton ID="lbVerify" runat="server" Enabled="false">
                                <span class="address-icon"></span>Verify Identity
                                </asp:LinkButton>
                            </li>
                            <li>
                                <asp:LinkButton ID="lbUplaod" runat="server" Enabled="false">
                                <span class="acadmic-icon"></span>Upload
                                    Documents
                                </asp:LinkButton></li>                        
                        </ul>
                    </div>--%>
            <div class=" current-form-content completed-form-content">
                <div class="form-content-inside  pad10 ">
                     <asp:UpdatePanel ID="upMain" runat="server">
                                <ContentTemplate>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        id="trInfo" runat="server">
                        <tr>
                            <td align="left" colspan="6" class="pad0">
                                <h4 class="heading-title">
                                    <span class="borderstyle">Personal Information</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="20%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblApplicant" runat="server" Text="Applicant Type" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="80%" colspan="5">
                                <asp:DropDownList ID="cmbApplicantType" runat="server" AutoPostBack="true" TabIndex="1"
                                    CssClass="selectbox" OnSelectedIndexChanged="cmbApplicantType_SelectedIndexChanged">
                                    <asp:ListItem Text="---Please Select---" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                <%--  <telerik:RadComboBox ID="cmbApplicantType" runat="server" AutoPostBack="true" CssClass="selectbox"
                                        TabIndex="1" OnSelectedIndexChanged="cmbApplicantType_SelectedIndexChanged" Width="210px">
                                        <Items>
                                            <telerik:RadComboBoxItem runat="server" Selected="True" Text="---Please Select---"
                                                Value="0" />
                                        </Items>
                                    </telerik:RadComboBox>--%>
                                <%--   <asp:RequiredFieldValidator ID="rfvabc" runat="server" ControlToValidate="cmbApplicantType" Display="Dynamic"
                                        Enabled="true" ErrorMessage="yo" InitialValue="---Please Select---" ValidationGroup="save"></asp:RequiredFieldValidator>--%>
                                <asp:RequiredFieldValidator ID="rfvcmbApplicantType" runat="server" ControlToValidate="cmbApplicantType"
                                    Display="None" Enabled="true" ErrorMessage="Please Select Applicant Type" ForeColor="Red"
                                    InitialValue="0" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvcmbApplicantType_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvcmbApplicantType">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="20%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblName" runat="server" Text="Applicant Name" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="80%" colspan="5">
                                <asp:DropDownList ID="ddlApplicant" runat="server" AutoPostBack="false" TabIndex="2"
                                    CssClass="selectbox" Width="65px">
                                    <asp:ListItem Text="Mr" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="Mrs" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="Ms" Value="3"></asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;&nbsp;&nbsp;
                                <%-- <telerik:RadComboBox ID="cmbApplicant" runat="server" AutoPostBack="false" class="selectbox"
                                                        TabIndex="2" Width="80%">
                                                        <Items>
                                                            <telerik:RadComboBoxItem Text="Mr" Value="1" />
                                                            <telerik:RadComboBoxItem Text="Mrs" Value="2" />
                                                            <telerik:RadComboBoxItem Text="Ms" Value="3" />
                                                        </Items>
                                                    </telerik:RadComboBox>--%>
                                <telerik:RadTextBox ID="txtFirstName" runat="server" CssClass="textbox1 uppers" EmptyMessage="First Name"
                                    MaxLength="60" TabIndex="3">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtFirstName" runat="server" ControlToValidate="txtFirstName"
                                    Display="None" ErrorMessage="Please Enter First Name" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="retxtFirstName" runat="server" ControlToValidate="txtFirstName"
                                    Display="None" ErrorMessage="Please Enter Valid First Name." ForeColor="Red"
                                    ValidationExpression="^[a-zA-Z][a-zA-Z]+$" ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtFirstName_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtFirstName">
                                </cc1:ValidatorCalloutExtender>
                                <cc1:ValidatorCalloutExtender ID="retxtFirstName_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtFirstName">
                                </cc1:ValidatorCalloutExtender>
                                &nbsp;&nbsp;&nbsp;
                                <telerik:RadTextBox ID="txtMiddleName" runat="server" CssClass="textbox1 uppers"
                                    MaxLength="60" EmptyMessage="Middle Name" TabIndex="4">
                                </telerik:RadTextBox>
                                &nbsp;&nbsp;&nbsp;
                                <telerik:RadTextBox ID="txtLastName" runat="server" CssClass="textbox1 uppers" MaxLength="60"
                                    EmptyMessage="Last Name" TabIndex="5">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtLastName" runat="server" ControlToValidate="txtLastName"
                                    Display="None" ErrorMessage="Please Enter Last Name" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="retxtLastName" runat="server" ControlToValidate="txtLastName"
                                    Display="None" ErrorMessage="Please Enter Valid Last Name." ForeColor="Red" ValidationExpression="^[a-zA-Z][a-zA-Z]+$"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtLastName_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtLastName">
                                </cc1:ValidatorCalloutExtender>
                                <cc1:ValidatorCalloutExtender ID="retxtLastName_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtLastName">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="20%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblBdate" runat="server" Text="Birth Date" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="30%" colspan="2">
                                <telerik:RadDatePicker ID="rdbBirthDate" runat="server" Culture="en-US" EnableTyping="False"
                                    MinDate="01/01/1900" TabIndex="6" Width="201px">
                                    <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                    </Calendar>
                                    <DateInput DateFormat="dd/MM/yyyy" DisplayDateFormat="dd/MM/yyyy" LabelCssClass=""
                                        ReadOnly="True" Width="">
                                    </DateInput>
                                    <DatePopupButton CssClass="" HoverImageUrl="" ImageUrl="" TabIndex="5" />
                                </telerik:RadDatePicker>
                                <asp:RequiredFieldValidator ID="rfvrdbBirthDate" runat="server" ControlToValidate="rdbBirthDate"
                                    Display="None" ErrorMessage="Please Enter Birth Date" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvrdbBirthDate_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvrdbBirthDate">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="20%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblEmail" runat="server" Text="Email Id" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="30%" colspan="2">
                                <telerik:RadTextBox ID="txtEmailId" runat="server" MaxLength="30" CssClass="textbox1"
                                    TabIndex="19" Width="285px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtEmail" runat="server" ControlToValidate="txtEmailId"
                                    Display="None" Enabled="true" ErrorMessage="Please Enter Email Id" ForeColor="Red"
                                    ValidationGroup="save"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="retxtEmail" runat="server" ControlToValidate="txtEmailId"
                                    Display="None" Enabled="true" ErrorMessage="Please Enter Valid Email Id" ForeColor="Red"
                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtEmail_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtEmail">
                                </cc1:ValidatorCalloutExtender>
                                <cc1:ValidatorCalloutExtender ID="retxtEmail_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtEmail">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="20%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblMobileNo" runat="server" Text="Mobile Number" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="80%" colspan="5">
                                <telerik:RadNumericTextBox ID="txtMobileNo" runat="server" CssClass="textbox1" MaxLength="12"
                                    Width="180px" NumberFormat-GroupSeparator="" TabIndex="18" MinValue="0">
                                    <NumberFormat DecimalDigits="0" />
                                </telerik:RadNumericTextBox>
                                &nbsp;
                                <asp:Button ID="btnVerify" Text="Validate" runat="server" Visible="true" ValidationGroup="verify"
                                    OnClick="btnVerify_Click" CssClass="button" />
                                <div style="float: left; vertical-align: middle" id="divVerifiedImg" runat="server">
                                    <asp:Image ID="imgVerified" runat="Server" ImageUrl="~/Images/1387556067_accepted_48.png"
                                        Visible="false" />
                                </div>
                                <asp:RequiredFieldValidator ID="rfvtxtMobileNo" runat="server" ControlToValidate="txtMobileNo"
                                    Display="dynamic" Enabled="true" ErrorMessage="Please Enter Mobile Number" ForeColor="Red"
                                    ValidationGroup="verify"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="revtxtMobileNo" runat="server" ControlToValidate="txtMobileNo"
                                    Display="None" ErrorMessage="Mobile Number must be between 10 to 18 digits" ForeColor="Red"
                                    ValidationExpression="^[0-9]{10,18}$" ValidationGroup="save" />
                                <cc1:ValidatorCalloutExtender ID="rfvtxtMobileNo_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtMobileNo">
                                </cc1:ValidatorCalloutExtender>
                                <cc1:ValidatorCalloutExtender ID="revtxtMobileNo_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="revtxtMobileNo">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6" align="center" style="height: auto; padding: 0">
                                <div id="pnlOTP" runat="server" visible="false">
                                    <table width="100%" id="tblOTP" runat="server">
                                        <tr>
                                            <td>
                                                <div>
                                                    <h3 class="heading-title">
                                                        <span>Mobile Verification</span></h3>
                                                    ( Note : Your OTP will be sent to your mobile number shortly.)
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:TextBox ID="txtCode" MaxLength="4" onfocus="if (this.value == 'Enter OTP') this.value = '';"
                                                    onblur="if (this.value == '') this.value = 'Enter OTP';" value="Enter OTP" Width="15%"
                                                    Style="color: #808080; float: left" CssClass="textbox" runat="server" ValidationGroup="VerifyMobile"></asp:TextBox>
                                                <span class="astric">
                                                    <label style="color: Red">
                                                        *
                                                    </label>
                                                </span>
                                                <asp:Button ID="btnSubmit" runat="server" Text="Submit" ValidationGroup="VerifyMobile"
                                                    CssClass="button" OnClick="btnSubmit_Click" />
                                                <asp:Button ID="btnCancel" runat="server" Text="Cancel" ValidationGroup="" OnClick="btnCancel_Click"
                                                    CssClass="button" />
                                                <asp:RequiredFieldValidator ID="rfvCode" runat="server" ControlToValidate="txtCode"
                                                    InitialValue="Enter OTP" Display="Dynamic" ValidationGroup="VerifyMobile" ErrorMessage="Please enter OTP Code."
                                                    ForeColor="red"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="25%" class="label-td">
                                <span id="spanCountry" runat="server" style="color: Red" visible="false">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblCountry" runat="server" Text="Country" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="15%">
                                <asp:DropDownList ID="cmbCountry" runat="server" AutoPostBack="false" TabIndex="7"
                                    CssClass="selectbox" Width="168px" Visible="false">
                                    <asp:ListItem Text="---Please Select---" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                <%--  <telerik:RadComboBox ID="cmbCountry" runat="server" AutoPostBack="false" CausesValidation="False"
                                        TabIndex="7" Visible="false" Width="210px" CssClass="selectbox">
                                        <Items>
                                            <telerik:RadComboBoxItem runat="server" Selected="True" Text="---Please Select---"
                                                Value="0" />
                                        </Items>
                                    </telerik:RadComboBox>--%>
                                <asp:DropDownList ID="ddlIndia" runat="server" AutoPostBack="false" Style="text-align: left"
                                    CssClass="selectbox" Width="168px" Enabled="false">
                                    <asp:ListItem Text="India"></asp:ListItem>
                                </asp:DropDownList>
                                <%--<asp:Label  ID="lblCountryName" runat="server" Font-Bold="true"
                                        Font-Size="Medium" Text="India" Visible="true"></asp:Label>--%>
                                <asp:RequiredFieldValidator ID="rfvcmbCountry" runat="server" ControlToValidate="cmbCountry"
                                    Display="None" Enabled="false" ErrorMessage="Please Select Country" ForeColor="Red"
                                    InitialValue="0" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvcmbCountry_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvcmbCountry">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="15%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblState" runat="server" Text="State" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <asp:DropDownList ID="cmbState" runat="server" AutoPostBack="false" TabIndex="8"
                                    CssClass="selectbox" Width="180px">
                                    <asp:ListItem Text="---Please Select---" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                <%-- <telerik:RadComboBox ID="cmbState" runat="server" AutoPostBack="false" CausesValidation="False"
                                        TabIndex="8" Width="210px" CssClass="selectbox">
                                        <Items>
                                            <telerik:RadComboBoxItem runat="server" Selected="True" Text="---Please Select---"
                                                Value="0" />
                                        </Items>
                                    </telerik:RadComboBox>--%>
                                <asp:RequiredFieldValidator ID="rfvcmbState" runat="server" ControlToValidate="cmbState"
                                    Display="None" Enabled="true" ErrorMessage="Please Select State" ForeColor="Red"
                                    InitialValue="0" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvcmbState_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvcmbState">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="15%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lbldistrictname" runat="server" Text="District" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <asp:DropDownList ID="ddlDistrict" runat="server" AutoPostBack="false" TabIndex="9"
                                    CssClass="selectbox" Width="185px">
                                    <asp:ListItem Text="---Please Select---" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="rfvddlDistrict" runat="server" ControlToValidate="ddlDistrict"
                                    Display="None" Enabled="true" ErrorMessage="Please Select District" ForeColor="Red"
                                    InitialValue="0" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvddlDistrict_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvddlDistrict">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="25%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblCity" runat="server" Text="City" Width="30%" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="15%" valign="middle">
                                <telerik:RadTextBox ID="txtCityName" runat="server" MaxLength="60" TabIndex="10"
                                    CssClass="textbox1" Width="165px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtCityName" runat="server" ControlToValidate="txtCityName"
                                    Display="None" ErrorMessage="Please Enter City Name" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtCityName_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtCityName">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtCityName" runat="server" ControlToValidate="txtCityName"
                                    Display="None" ErrorMessage="Please Enter Valid City Name." ForeColor="Red" ValidationExpression="[a-zA-Z\s/,-]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtCityName_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtCityName">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="15%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblAddress" runat="server" Text="Address" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <telerik:RadTextBox ID="txtAdd" runat="server" MaxLength="200" TabIndex="11" TextMode="MultiLine"
                                    CssClass="textarea" Width="175px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtAdd" runat="server" ControlToValidate="txtAdd"
                                    Display="None" ErrorMessage="Please Enter Address" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtAdd_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtAdd">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtadd" runat="server" ErrorMessage="please enter valid letters"
                                    ValidationGroup="save" ControlToValidate="txtadd" ValidationExpression="[0-9a-zA-Z\s/,.-]+"
                                    Display="none" ForeColor="red" />
                                <cc1:ValidatorCalloutExtender ID="retxtadd_validatorcalloutextender" runat="server"
                                    Enabled="true" HighlightCssClass="validatorcallouthighlight" TargetControlID="retxtadd">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="15%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblPincode" runat="server" Text="Pincode" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%" valign="middle">
                                <%-- <asp:TextBox ID="txtPincode" runat="server" TextMode="MultiLine"></asp:TextBox>--%>
                                <telerik:RadTextBox ID="txtPin" runat="server" MaxLength="12" TabIndex="12" Width="185px"
                                    CssClass="textbox1">
                                </telerik:RadTextBox>
                                <%--<telerik:RadNumericTextBox ID="txtPin" runat="server" CssClass="textbox" MaxLength="12"
                                                    NumberFormat-GroupSeparator="" TabIndex="11" Width="180" MinValue="0">
                                                    <NumberFormat DecimalDigits="0" />
                                                </telerik:RadNumericTextBox>--%>
                                <asp:RequiredFieldValidator ID="rfvtxtPin" runat="server" ControlToValidate="txtPin"
                                    Display="None" ErrorMessage="Please Enter Pincode" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtPin_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtPin">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtPin" runat="server" ControlToValidate="txtPin"
                                    Display="None" ErrorMessage="Please Enter Valid Pincode" ForeColor="Red" ValidationExpression="[a-zA-Z0-9]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtPin_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtPin">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <%--<tr>
                            <td colspan="6">
                            </td>
                        </tr>--%>
                    </table>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        id="trHP" runat="server" visible="false">
                        <tr>
                            <td align="left" class="pad0" colspan="4">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Application for Health Permit</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="30%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="Label1" runat="server" Text="Religion" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <telerik:RadTextBox ID="txtReligion" runat="server" MaxLength="60" TabIndex="13"
                                    CssClass="textbox1" Width="180">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtReligion" runat="server" ControlToValidate="txtReligion"
                                    Display="None" ErrorMessage="Please Enter Religion" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtReligion_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtReligion">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtReligion" runat="server" ControlToValidate="txtReligion"
                                    Display="None" ErrorMessage="Please Enter Valid Religion" ForeColor="Red" ValidationExpression="[a-zA-Z\s/,-]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtReligion_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtReligion">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="30%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblOccupation" runat="server" Text="Occupation" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <telerik:RadTextBox ID="txtOccupation" runat="server" CssClass="textbox1" MaxLength="60"
                                    TabIndex="14" Width="180">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtOccupation" runat="server" ControlToValidate="txtOccupation"
                                    Display="None" ErrorMessage="Please Enter Occupation" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtOccupation_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtOccupation">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="rerfvtxtOccupation" runat="server" ControlToValidate="txtOccupation"
                                    Display="None" ErrorMessage="Please Enter Valid Occupation" ForeColor="Red" ValidationExpression="[a-zA-Z\s/,-]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rerfvtxtOccupation_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rerfvtxtOccupation">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="30%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblMonthlyIncome" runat="server" Text="Monthly Income" CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <telerik:RadTextBox ID="txtMonthlyIncome" runat="server" MaxLength="60" TabIndex="15"
                                    CssClass="textbox1" Width="180">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rftxtMonthlyIncome" runat="server" ControlToValidate="txtMonthlyIncome"
                                    Display="None" ErrorMessage="Please Enter Monthly Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rftxtMonthlyIncome_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rftxtMonthlyIncome">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="rtxtMonthlyIncomee" runat="server" ControlToValidate="txtMonthlyIncome"
                                    Display="None" ErrorMessage="Please Enter Valid Income" ForeColor="Red" ValidationExpression="[0-9]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rtxtMonthlyIncomee_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rtxtMonthlyIncomee">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                            <td align="left" width="30%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblQuanity" runat="server" Text="Needed Quantity of foreign liquor (In Month)"
                                    CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="20%">
                                <telerik:RadTextBox ID="txtQuantity" runat="server" MaxLength="60" TabIndex="16"
                                    CssClass="textbox1" Width="180">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtQuantity" runat="server" ControlToValidate="txtQuantity"
                                    Display="None" ErrorMessage="Please Enter Quantity of foreign liquor" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtQuantity_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtQuantity">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtQuantity" runat="server" ControlToValidate="txtQuantity"
                                    Display="None" ErrorMessage="Please Enter Valid Quantity of foreign liquor" ForeColor="Red" ValidationExpression="[0-9]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtQuantity_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtQuantity">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="30%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="Label4" runat="server" Text="Applicant has been consuming foreign liquor (In yrs)"
                                    CssClass="form-label"></asp:Label>
                            </td>
                            <td align="left" width="70%" colspan="3">
                                <telerik:RadTextBox ID="txtYears" runat="server" CssClass="textbox1" MaxLength="20"
                                    TabIndex="17" Width="180">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtYears" runat="server" ControlToValidate="txtYears"
                                    Display="None" ErrorMessage="Please Enter Foreign liquor Consuming Duration" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtYears_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtYears">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtYears" runat="server" ControlToValidate="txtYears"
                                    Display="None" ErrorMessage="Please Enter Valid Foreign liquor Consuming Duration" ForeColor="Red" ValidationExpression="[0-9]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtYears_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtYears">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <%--<tr>
                            <td colspan="4">
                            </td>
                        </tr>--%>
                        <tr>
                            <td align="left" class="pad0" colspan="4">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Income tax Return Details</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" colspan="4">
                                <table class="InputTable form-table" style="border: none; text-align: left;" width="100%">
                                    <tr>
                                        <td class="label-td">
                                            <span class="form-label">Financial Year</span>
                                        </td>
                                        <td align="center">
                                            <asp:Label ID="lblyear1" runat="server" CssClass="form-label"></asp:Label>
                                        </td>
                                        <td align="center">
                                            <asp:Label ID="lblyear2" runat="server" CssClass="form-label"></asp:Label>
                                        </td>
                                        <td align="center">
                                            <asp:Label ID="lblyear3" runat="server" CssClass="form-label"></asp:Label>
                                        </td>
                                        <td align="center">
                                            <asp:Label ID="lblyear4" runat="server" CssClass="form-label"></asp:Label>
                                        </td>
                                        <td align="center">
                                            <asp:Label ID="lblyear5" runat="server" CssClass="form-label"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label-td">
                                            <span class="form-label">Income </span>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome1" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtincome1"
                                                Display="None" ErrorMessage="Please Enter Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator2">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome2" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtincome2"
                                                Display="None" ErrorMessage="Please Enter Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator4">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome3" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtincome3"
                                                Display="None" ErrorMessage="Please Enter Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator6">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome4" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtincome4"
                                                Display="None" ErrorMessage="Please Enter Monthly Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator8">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome5" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtincome5"
                                                Display="None" ErrorMessage="Please Enter Monthly Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator10">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label-td">
                                            <span class="form-label">Tax</span>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax1" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txttax1"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator3">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax2" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txttax2"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator5">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax3" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txttax3"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator7">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax4" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txttax4"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator9">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax5" runat="server" CssClass="textbox1" Width="135px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txttax5"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender11" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator11">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                </table>
                                <%--<table class="InputTable form-table" style="border: none; text-align: left;" width="100%">
                                    <tr>
                                        <td>
                                           Financial Year
                                        </td>
                                        <td>
                                           Income
                                        </td>
                                        <td>
                                            Tax
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblyear1" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome1" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtincome1"
                                                Display="None" ErrorMessage="Please Enter Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator2">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax1" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txttax1"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator3">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblyear2" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome2" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtincome2"
                                                Display="None" ErrorMessage="Please Enter Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator4">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax2" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txttax2"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator5">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblyear3" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome3" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtincome3"
                                                Display="None" ErrorMessage="Please Enter Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator6">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax3" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txttax3"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator7">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblyear4" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome4" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtincome4"
                                                Display="None" ErrorMessage="Please Enter Monthly Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator8">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax4" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txttax4"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator9">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblyear5" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtincome5" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtincome5"
                                                Display="None" ErrorMessage="Please Enter Monthly Income" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator10">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttax5" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txttax5"
                                                Display="None" ErrorMessage="Please Enter Income Tax" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender11" runat="server" Enabled="True"
                                                HighlightCssClass="validatorCalloutHighlight" TargetControlID="RequiredFieldValidator11">
                                            </cc1:ValidatorCalloutExtender>
                                        </td>
                                    </tr>
                                </table>--%>
                            </td>
                        </tr>
                    </table>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        id="tblgp" runat="server" visible="false">
                        <tr>
                            <td align="left" class="pad0" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Application for Group Permit</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblOrganization" runat="server" CssClass="form-label" Text="Name of Organization/Institution/Government Body"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtOrganization" runat="server" MaxLength="100" TabIndex="1"
                                    CssClass="textbox1" Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtOrganization" runat="server" ControlToValidate="txtOrganization"
                                    Display="None" ErrorMessage="Please Enter Organization Name" ForeColor="Red"
                                    ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtOrganization_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtOrganization">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="rerfvtxtOrganization" runat="server" ControlToValidate="txtOrganization"
                                    Display="None" ErrorMessage="Please Enter Valid Detail" ForeColor="Red" ValidationExpression="[0-9a-zA-Z\s/]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rerfvtxtOrganization_ValidatorCalloutExtender"
                                    runat="server" Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rerfvtxtOrganization">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblAddressOrganization" runat="server" CssClass="form-label" Text="Address of Organization/Institution/Government Body"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtAddressOrganization" runat="server" MaxLength="200" TabIndex="2"
                                    CssClass="textarea" TextMode="MultiLine" Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtAddressOrganization" runat="server" ControlToValidate="txtAddressOrganization"
                                    Display="None" ErrorMessage="Please Enter Organization Address" ForeColor="Red"
                                    ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtAddressOrganization_ValidatorCalloutExtender"
                                    runat="server" Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtAddressOrganization">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtAddressOrganization" runat="server" ControlToValidate="txtAddressOrganization"
                                    Display="None" ErrorMessage="Please Enter Valid Organization Address" ForeColor="Red"
                                    ValidationExpression="[0-9a-zA-Z/]+" ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtAddressOrganization_ValidatorCalloutExtender"
                                    runat="server" Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtAddressOrganization">
                                </cc1:ValidatorCalloutExtender>
                                <%-- <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>--%>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblPerson" runat="server" CssClass="form-label" Text="Name of Authorised Person of such Organization/Institution/Government Body"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtPerson" runat="server" MaxLength="50" TabIndex="3" CssClass="textbox1"
                                    Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtPerson" runat="server" ControlToValidate="txtPerson"
                                    Display="None" ErrorMessage="Please Enter Auhtorised Person Name" ForeColor="Red"
                                    ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtPerson_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtPerson">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="rerfvtxtPerson" runat="server" ControlToValidate="txtPerson"
                                    Display="None" ErrorMessage="Please Enter Valid Name" ForeColor="Red" ValidationExpression="[a-zA-Z/]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rerfvtxtPerson_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rerfvtxtPerson">
                                </cc1:ValidatorCalloutExtender>
                                <%-- <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>--%>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblAdreesofPerson" runat="server" CssClass="form-label" Text="Address of Authorised Person of such Organization/Institution/Government Body"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtAddrssofPerson" runat="server" MaxLength="200" TabIndex="4"
                                    CssClass="textarea" TextMode="MultiLine" Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtAddrssofPerson" runat="server" ControlToValidate="txtAddrssofPerson"
                                    Display="None" ErrorMessage="Please Enter Auhtorised Person Adress" ForeColor="Red"
                                    ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtAddrssofPerson_ValidatorCalloutExtender"
                                    runat="server" Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtAddrssofPerson">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="rerfvtxtAddrssofPerson" runat="server" ControlToValidate="txtAddrssofPerson"
                                    Display="None" ErrorMessage="Please Enter Valid Name" ForeColor="Red" ValidationExpression="[0-9a-zA-Z/]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rerfvtxtAddrssofPerson_ValidatorCalloutExtender"
                                    runat="server" Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rerfvtxtAddrssofPerson">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblDesignationofPerson" runat="server" CssClass="form-label" Text="Designation of Authorised Person of such Organization/Institution/Government Body"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtDesignation" runat="server" MaxLength="50" TabIndex="5"
                                    CssClass="textbox1" Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtDesignation" runat="server" ControlToValidate="txtDesignation"
                                    Display="None" ErrorMessage="Please Enter Auhtorised Person Designation" ForeColor="Red"
                                    ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtDesignation_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtDesignation">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtDesignation" runat="server" ControlToValidate="txtDesignation"
                                    Display="None" ErrorMessage="Please Enter Valid Designation" ForeColor="Red"
                                    ValidationExpression="[0-9a-zA-Z/]+" ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtDesignation_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtDesignation">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblVenue" runat="server" CssClass="form-label" Text="Venue of the National/International Convention/Conference/Business meet or Academic meet"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtVenue" runat="server" MaxLength="100" TabIndex="5" CssClass="textbox1"
                                    Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtVenue" runat="server" ControlToValidate="txtVenue"
                                    Display="None" ErrorMessage="Please Enter Venue Name" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtVenue_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtVenue">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="rerfvtxtVenue" runat="server" ControlToValidate="txtVenue"
                                    Display="None" ErrorMessage="Please Enter Valid Venue" ForeColor="Red" ValidationExpression="[0-9a-zA-Z/]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="rerfvtxtVenue_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rerfvtxtVenue">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblpurpose" runat="server" CssClass="form-label" Text="Purpose of the National/International Convention/Conference/Business meet or Academic meet"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtPurpose" runat="server" MaxLength="100" TabIndex="5" CssClass="textbox1"
                                    Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtPurpose" runat="server" ControlToValidate="txtPurpose"
                                    Display="None" ErrorMessage="Please Enter Purpose" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtPurpose_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtPurpose">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtPurpose" runat="server" ControlToValidate="txtPurpose"
                                    Display="None" ErrorMessage="Please Enter Valid Purpose" ForeColor="Red" ValidationExpression="[0-9a-zA-Z/]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtPurpose_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtPurpose">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblVenueDuration" runat="server" CssClass="form-label" Text="Date Time and Duration of the Event (From)"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadDateTimePicker ID="dtDuration" runat="server" Width="270px">
                                    <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                    </Calendar>
                                    <DateInput DateFormat="dd/MM/yyyy hh:mm tt" DisplayDateFormat="dd/MM/yyyy hh:mm tt"
                                        LabelCssClass="" ReadOnly="True" Width="">
                                    </DateInput>
                                </telerik:RadDateTimePicker>
                                <asp:RequiredFieldValidator ID="rfvdtDuration" runat="server" ControlToValidate="dtDuration"
                                    Display="None" ErrorMessage="Please select Date & Time" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvdtDuration_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvdtDuration">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="Label5" runat="server" CssClass="form-label" Text="Date Time and Duration of the Event (To)"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadDateTimePicker ID="dtDurationTo" runat="server" Width="270px">
                                    <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                    </Calendar>
                                    <DateInput DateFormat="dd/MM/yyyy hh:mm tt" DisplayDateFormat="dd/MM/yyyy hh:mm tt"
                                        LabelCssClass="" ReadOnly="True" Width="">
                                    </DateInput>
                                </telerik:RadDateTimePicker>
                                <asp:RequiredFieldValidator ID="rfvdtDurationTo" runat="server" ControlToValidate="dtDurationTo"
                                    Display="None" ErrorMessage="Please select Date & Time" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvdtDurationTo_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvdtDurationTo">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" width="60%" class="label-td">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblNumber" runat="server" CssClass="form-label" Text="Number of Person attending such National/International Convention/Conference/Business meet or Academic meet"></asp:Label>
                            </td>
                            <td align="left" width="40%">
                                <telerik:RadTextBox ID="txtNumber" runat="server" MaxLength="100" TabIndex="5" CssClass="textbox1"
                                    Width="260px">
                                </telerik:RadTextBox>
                                <asp:RequiredFieldValidator ID="rfvtxtNumber" runat="server" ControlToValidate="txtNumber"
                                    Display="None" ErrorMessage="Please Enter Purpose" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvtxtNumber_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtNumber">
                                </cc1:ValidatorCalloutExtender>
                                <asp:RegularExpressionValidator ID="retxtNumber" runat="server" ControlToValidate="txtNumber"
                                    Display="None" ErrorMessage="Please Enter Valid Purpose" ForeColor="Red" ValidationExpression="[0-9]+"
                                    ValidationGroup="save"></asp:RegularExpressionValidator>
                                <cc1:ValidatorCalloutExtender ID="retxtNumber_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtNumber">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <%--<tr>
                            <td colspan="2">
                            </td>
                        </tr>--%>
                    </table>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        id="tblphoto" runat="server">
                        <tr>
                            <td align="left" class="pad0" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Upload Photo</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="label-td" width="25%">
                                <asp:Label ID="lblMemberPhoto" runat="server" Text="Upload Member Photo" class="form-label"></asp:Label>
                            </td>
                            <td align="left" width="75%">
                                <asp:FileUpload ID="fuPhoto" runat="server" Width="285px" EnableViewState="true"
                                    CssClass="textbox1" onblur="checkName(this);" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="furesidential"
                                    Text="*" Display="None" ErrorMessage="Please select file." ValidationGroup="save"
                                    SetFocusOnError="true"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender15" runat="server" TargetControlID="rfvfuresidentail">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                    </table>
                    <%--<table class="InputTable" style="border: none; text-align: left;" width="100%">
                        <tr id="trvisitorResidentialProof" runat="server" visible="true">
                            <td>--%>
                    <table class="InputTable form-table" style="border: none; text-align: left" width="100%"
                        id="trResidential" runat="server">
                        <tr>
                            <td align="left" class="pad0" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Residential Proof</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="label-td" width="25%">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblResidentialProof" runat="server" Text="Residential Proof" class="form-label"></asp:Label>
                            </td>
                            <td align="left" width="75%">
                                <asp:DropDownList ID="cmbResidential" runat="server" AutoPostBack="True" CausesValidation="False"
                                    Width="300px" OnSelectedIndexChanged="cmbResidential_SelectedIndexChanged" TabIndex="1"
                                    CssClass="selectbox">
                                    <asp:ListItem Text="---Please Select---" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                <%--<telerik:RadComboBox ID="cmbResidential" runat="server" AutoPostBack="True" CausesValidation="False"
                                                        OnSelectedIndexChanged="cmbResidential_SelectedIndexChanged" TabIndex="1" Width="180"
                                                        CssClass="selectbox">
                                                        <Items>
                                                            <telerik:RadComboBoxItem runat="server" Selected="True" Text="---Please Select---"
                                                                Value="0" />
                                                        </Items>
                                                    </telerik:RadComboBox>--%>
                                <asp:RequiredFieldValidator ID="rfvcmbResidential" runat="server" ControlToValidate="cmbResidential"
                                    Display="None" InitialValue="0" ErrorMessage="Please Select Residential Proof"
                                    ForeColor="Red" ValidationGroup="Proof">
                                </asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvcmbResidential_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvcmbResidential">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr id="trResidentialProofUpload" runat="server" visible="true">
                            <td align="left" class="label-td" width="25%">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblREsidentialProofUpload" runat="server" Text="Upload Residential Proof"
                                    class="form-label"></asp:Label>
                            </td>
                            <td align="left" width="75%">
                                <asp:FileUpload ID="furesidential" runat="server" Width="285px" EnableViewState="true"
                                    CssClass="textbox" onblur="checkName(this);" />
                                <asp:RequiredFieldValidator ID="rfvfuresidentail" runat="server" ControlToValidate="furesidential"
                                    Text="*" Display="None" ErrorMessage="Please select file." ValidationGroup="save"
                                    SetFocusOnError="true"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="vcefuJEE" runat="server" TargetControlID="rfvfuresidentail">
                                </cc1:ValidatorCalloutExtender>
                                <a id="hrResidential" runat="server" target="_blank" href="" title="Click Photo"
                                    visible="false">Click Here to View Attachment
                                    <%-- <asp:Image ID="imgREsidentialProof" runat="server" Height="50" ImageUrl="~/images/applicantphoto.jpg"
                                                                                    Visible="false" Width="50" />--%>
                                </a><span class="tdRegistration3">Upload only jpeg, jpg, gif, png, bmp, pdf file
                                </span>
                            </td>
                        </tr>
                    </table>
                    <%-- <table class="InputTable" style="border: none; text-align: left;" width="100%">
                        <tr id="trvisitorAgeProof" runat="server" visible="true">
                            <td>--%>
                    <table class="InputTable form-table" style="border: none; text-align: left" width="100%"
                        id="trage" runat="server">
                        <tr>
                            <td align="left" class="pad0" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Age Proof</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="label-td" width="25%">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblAgeProof" runat="server" Text="Age Proof" class="form-label"></asp:Label>
                            </td>
                            <td align="left" width="75%">
                                <asp:DropDownList ID="cmbAgeProof" runat="server" AutoPostBack="false" CausesValidation="False"
                                    Width="300px" TabIndex="8" CssClass="selectbox">
                                    <asp:ListItem Text="---Please Select---" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                                <%-- <telerik:RadComboBox ID="cmbAgeProof" runat="server" AutoPostBack="True" CausesValidation="False"
                                                        OnSelectedIndexChanged="cmbAgeProof_SelectedIndexChanged" TabIndex="8" Width="180"
                                                        CssClass="selectbox">
                                                        <Items>
                                                            <telerik:RadComboBoxItem runat="server" Selected="True" Text="---Please Select---"
                                                                Value="0" />
                                                        </Items>
                                                    </telerik:RadComboBox>--%>
                                <asp:RequiredFieldValidator ID="rfvcmbAgeProof" runat="server" ControlToValidate="cmbAgeProof"
                                    Display="None" ErrorMessage="Please Select Age Proof" ForeColor="Red" InitialValue="0"
                                    ValidationGroup="Proof">
                                </asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="rfvcmbAgeProof_ValidatorCalloutExtender" runat="server"
                                    Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvcmbAgeProof">
                                </cc1:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr id="tr1" runat="server" visible="true">
                            <td align="left" class="label-td" width="25%">
                                <span style="color: Red">
                                    <label>
                                        *
                                    </label>
                                </span>
                                <asp:Label ID="lblUploadAgeProof" runat="server" Text="Upload Age Proof" class="form-label"></asp:Label>
                            </td>
                            <td align="left" width="75%">
                                <asp:FileUpload ID="fuageproof" runat="server" Width="285px" EnableViewState="true"
                                    CssClass="textbox" onblur="checkName(this);" />
                                <asp:RequiredFieldValidator ID="rfvfuageproof" runat="server" ControlToValidate="fuageproof"
                                    Text="*" Display="None" ErrorMessage="Please select file." ValidationGroup="save"
                                    SetFocusOnError="true"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender12" runat="server" TargetControlID="rfvfuageproof">
                                </cc1:ValidatorCalloutExtender>
                                <span class="tdRegistration3">Upload only jpeg, jpg, gif, png, bmp, pdf file </span>
                            </td>
                        </tr>
                    </table>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        id="trMedicalCerti" runat="server" visible="false">
                        <tr>
                            <td align="left" class="pad0" style="padding-left: 2%" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Medical Certificate</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" class="no-padborder">
                                <table class="InputTable  form-table" style="border: none; text-align: left;" width="100%">
                                    <tr>
                                        <td align="left" class="label-td" width="25%">
                                            <asp:Label ID="lblupMedical" runat="server" Text="Upload Medical Certificate" class="form-label"></asp:Label>
                                        </td>
                                        <td align="left" width="75%">
                                            <asp:FileUpload ID="fumedical" runat="server" Width="285px" EnableViewState="true"
                                                CssClass="textbox" onblur="checkName(this);" />
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="fumedical"
                                                Text="*" Display="None" ErrorMessage="Please select file." ValidationGroup="save"
                                                SetFocusOnError="true"></asp:RequiredFieldValidator>
                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender13" runat="server" TargetControlID="RequiredFieldValidator12">
                                            </cc1:ValidatorCalloutExtender>
                                            <span class="tdRegistration3">Upload only jpeg, jpg, gif, png, bmp, pdf file </span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        id="tblGrpSheet" runat="server" visible="false">
                        <tr>
                            <td align="left" class="pad0" style="padding-left: 2%" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">List of the Person</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="label-td" width="35%">
                                <asp:Label ID="Label6" runat="server" class="form-label" Text="Upload List of Person and the Particulars"></asp:Label>
                            </td>
                            <td align="left" width="65%">
                                <asp:FileUpload ID="fugrpsheet" runat="server" Width="285px" EnableViewState="true"
                                    CssClass="textbox" onblur="checkName(this);" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="fugrpsheet"
                                    Text="*" Display="None" ErrorMessage="Please select file." ValidationGroup="save"
                                    SetFocusOnError="true"></asp:RequiredFieldValidator>
                                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender14" runat="server" TargetControlID="RequiredFieldValidator13">
                                </cc1:ValidatorCalloutExtender>
                                <span class="tdRegistration3">Upload only jpeg, jpg, gif, png, bmp, pdf file </span>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="pad0" style="padding-left: 2%" colspan="2">
                                <h4 class="heading-title">
                                    <span class="border-style-btm">Letter of Authority</span></h4>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="label-td" width="35%">
                                <asp:Label ID="Label7" runat="server" class="form-label" Text="Upload letter of Authority for organizing such Conference/Convention/Business meet/Academic meet"></asp:Label>
                            </td>
                            <td align="left" width="65%">
                                <asp:FileUpload ID="fuGrpAuthority" runat="server" Width="285px" EnableViewState="true"
                                    CssClass="textbox" onblur="checkName(this);" />
                                <span class="tdRegistration3">Upload only jpeg, jpg, gif, png, bmp, pdf file </span>
                            </td>
                        </tr>
                    </table>
                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                        cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:Panel ID="pnlAccount" runat="server" Visible="true">
                                    <table class="InputTable form-table" style="border: none; text-align: left;" width="100%"
                                        cellpadding="0" cellspacing="0">
                                        <%-- <tr>
                                <td align="left" class="pad0" colspan="2">
                                    <h4 class="heading-title">
                                        <span class="border-style-btm">Account Information</span></h4>
                                </td>
                            </tr>--%>
                                        <%--  <tr>
                                <td align="left" width="25%" class="label-td">
                                    <span style="color: Red">
                                        <label>
                                            *
                                        </label>
                                    </span>
                                    <asp:Label ID="lblEmail" runat="server" Text="Email Id" CssClass="form-label"></asp:Label>
                                </td>
                                <td align="left" width="75%">
                                    <telerik:RadTextBox ID="txtEmailId" runat="server" MaxLength="30" CssClass="textbox1"
                                        TabIndex="19" Width="285px">
                                    </telerik:RadTextBox>
                                    <asp:RequiredFieldValidator ID="rfvtxtEmail" runat="server" ControlToValidate="txtEmailId"
                                        Display="None" Enabled="true" ErrorMessage="Please Enter Email Id" ForeColor="Red"
                                        ValidationGroup="save"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="retxtEmail" runat="server" ControlToValidate="txtEmailId"
                                        Display="None" Enabled="true" ErrorMessage="Please Enter Valid Email Id" ForeColor="Red"
                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="save"></asp:RegularExpressionValidator>
                                    <cc1:ValidatorCalloutExtender ID="rfvtxtEmail_ValidatorCalloutExtender" runat="server"
                                        Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="rfvtxtEmail">
                                    </cc1:ValidatorCalloutExtender>
                                    <cc1:ValidatorCalloutExtender ID="retxtEmail_ValidatorCalloutExtender" runat="server"
                                        Enabled="True" HighlightCssClass="validatorCalloutHighlight" TargetControlID="retxtEmail">
                                    </cc1:ValidatorCalloutExtender>
                                </td>
                            </tr>--%>
                                        <%--<tr>
                                <td colspan="2">
                                </td>
                            </tr>--%>
                                        <tr>
                                            <td align="left" class="label-td" width="25%">
                                                <span style="color: Red">
                                                    <label>
                                                        *
                                                    </label>
                                                </span>
                                                <asp:Label CssClass="form-label" ID="lblCaptcha" runat="server" Text="Enter Code"></asp:Label>
                                            </td>
                                            <td align="left" width="75%">
                                                <telerik:RadCaptcha ID="capcha" runat="server" CaptchaTextBoxLabel=" " EnableRefreshImage="True"
                                                    Display="Dynamic" ForeColor="Red" Height="1%" IgnoreCase="true" TabIndex="20"
                                                    ValidationGroup="save" Width="30%" IsValid="true">
                                                </telerik:RadCaptcha>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2" style="text-align: center;">
                                                <asp:CheckBox ID="chkTermsandConditions" runat="server" TabIndex="21" />
                                                <asp:Label ID="lblRegDeclaration" runat="server" CssClass="form-label" Text="I agree to abide by all the terms and conditions laid down by the P&E Department"></asp:Label>
                                            </td>
                                            <%--<td align="left" class="tdRegistration1" width="75%">
                                        <asp:RadioButtonList ID="rblRegCheck" runat="server" RepeatDirection="Horizontal"
                                            TabIndex="15">
                                            <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
                                            <asp:ListItem Selected="True" Text="No" Value="0"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>--%>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" style="text-align: center;">
                                <asp:Button ID="btnSubmitRegistration" runat="server" class="button" Enabled="false"
                                    OnClick="btnSubmitRegistration_Click" TabIndex="22" Text="Submit" ValidationGroup="save" />
                                <asp:Button ID="btnClearRegistration" runat="server" class="button" Enabled="true"
                                    OnClick="btnClearRegistration_Click" TabIndex="23" Text="Cancel" />
                            </td>
                        </tr>
                    </table>
                      </ContentTemplate>
                      <Triggers>
                                    <asp:PostBackTrigger ControlID="btnSubmitRegistration" />
                                    <%--<asp:AsyncPostBackTrigger ControlID="btnSubmitRegistration" />
                                    <asp:AsyncPostBackTrigger ControlID="btnVerify" />
                                    <asp:AsyncPostBackTrigger ControlID="cmbresidential" />
                                    <asp:AsyncPostBackTrigger ControlID="btnSubmit" />--%>
                                </Triggers>
                                            </asp:UpdatePanel>
                </div>
            </div>
            <div class="clear">
            </div>
            <%--</div>--%>
        </div>
        <%--<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
                SelectedIndex="0" Skin="MyTab" EnableEmbeddedSkins="false">
                <Tabs>
                    <telerik:RadTab runat="server" Text="Registration & Basic Details" Value="0" Selected="True">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Verify Identity" Value="1" Enabled="false">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Upload Documents" Value="2" Enabled="false">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Apply Permit" Value="3" Enabled="false">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Payment Details" Value="4" Enabled="false">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>--%>
        <%--<telerik:RadAjaxManager ID="radajaxmanager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="cmbresidential">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cmbAgeProof" LoadingPanelID="radajaxloadingpanel1"
                            UpdatePanelHeight="500px" UpdatePanelRenderMode="Inline" />
                      
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnVerify">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pnlOTP" LoadingPanelID="radajaxloadingpanel1"
                            UpdatePanelHeight="500px" UpdatePanelRenderMode="Inline" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnSubmit">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="divVerifiedImg" LoadingPanelID="radajaxloadingpanel1"
                            UpdatePanelHeight="500px" UpdatePanelRenderMode="Inline" />
                          <telerik:AjaxUpdatedControl ControlID="btnVerify" LoadingPanelID="radajaxloadingpanel1"
                            UpdatePanelHeight="500px" UpdatePanelRenderMode="Inline" />
                        <telerik:AjaxUpdatedControl ControlID="btnSubmitRegistration" LoadingPanelID="radajaxloadingpanel1"
                            UpdatePanelHeight="500px" UpdatePanelRenderMode="Inline" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                
                <telerik:AjaxSetting AjaxControlID="radajaxmanager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="imgMemberPhoto" LoadingPanelID="radajaxloadingpanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Sunset"
            IsSticky="true" Style="position: absolute; top: 0; left: 0; z-index: 1000; height: 100%;
            width: 100%;">
        </telerik:RadAjaxLoadingPanel>--%>
    </asp:Content>
  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 11 Sep 2014 Link to this post

    Hello,

    The configuration of the RadCaptcha appears to be correct, except setting the IsValid property that is used only for checking if the entered code is valid. You can remove it because it does nothing in this case.

    Since there is not an ErrorMessage set in the captcha, most probably you are performing a check in the code-behind to determine if the captcha is valid. Please send the validation code as well so that I can check how the captcha is validated. If possible, include it in a fully runnable sample so that I can debug it locally.

    I also noticed that you are calling the Page_ClientValidate client-side function. This will not trigger the validation of the captcha, because it is validated only server-side.

    Regards,
    Slav
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top