Link to home
Start Free TrialLog in
Avatar of Rajkumar Gs
Rajkumar GsFlag for India

asked on

Asp.net page events not triggering properly

Hi,

Facing very hardtime to solve it out...!

The events in the page are triggering only once (first time only).
For eg:- The Page_Load event will trigger will only once. This page is showing some data from database. From next time onwards when I request this page, no events are triggering. (Even Page_Load is not triggering) But the same page loads with previous data. Seems like loaded that page from cache!

I am using Update Panel in this page.

Can you please look into the ASPX page's code attached.
Your help is really great at this moment. Thanks for your time.

Raj
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MApplicationManifestData.aspx.cs"
   MaintainScrollPositionOnPostback="true"  Inherits="MDXIAS.Applications.MApplicationManifestData1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ OutputCache Duration="60" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>SSAP</title>
</head>
<body>
    <form id="MAppManifestDatafrm" runat="server">
    <telerik:RadScriptManager ID="RdScptMgrMAppManifestData" EnablePartialRendering="true"
        AsyncPostBackTimeout="36000" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadStyleSheetManager ID="RdStyMgrMgrMAppManifestData" EnableStyleSheetCombine="true"
        runat="server">
    </telerik:RadStyleSheetManager>
    <div class="contentcontainer">
        <table style="width: 100%">
            <tr style="height: 400px;">
                <td>
                    <fieldset style="width: 100%; height: 100%">
                        <table border="0" cellspacing="2" cellpadding="3" style="height: 100%; width: 100%">
                            <tr>
                                <td colspan="7">
                                    <fieldset>
                                        <legend>Identity Details</legend>
                                        <table border="0" cellspacing="2" cellpadding="3">
                                            <tr id="WIDRow" runat="server">
                                                <td class="datatext TDWidth17" id="MIDLabelCell" runat="server">
                                                    <asp:Label ID="lblMID" runat="server" Text="MISIS ID"></asp:Label>
                                                </td>
                                                <td class="datafield TDWidth20" id="MIDTextBoxCell">
                                                    <asp:TextBox runat="server" ID="MIDTextBox" MaxLength="50"></asp:TextBox>
                                                    <%--<asp:RequiredFieldValidator ID="MIDRFV" runat="server" ErrorMessage="MISIS ID is required."
                                                        SetFocusOnError="true" ControlToValidate="MIDTextBox" Display="None">
                                                    </asp:RequiredFieldValidator>
                                                    <cc1:ValidatorCalloutExtender ID="MIDVCE" runat="server" TargetControlID="MIDRFV"
                                                        HighlightCssClass="highlightclass">
                                                    </cc1:ValidatorCalloutExtender>--%>
                                                </td>
                                                <td style="height: 25px" id="UCASTableCell" runat="server" class="datatext TDWidth15">
                                                    UCAS Personal ID
                                                </td>
                                                <td class="datafield TDWidth15" style="height: 25px">
                                                    <asp:TextBox ID="UCASNumberTextBox" runat="server" MaxLength="50"></asp:TextBox>
                                                   <%-- <asp:RequiredFieldValidator ID="UCASNumberRFV" runat="server" ErrorMessage="UCAS Number is required."
                                                        SetFocusOnError="true" ControlToValidate="UCASNumberTextBox" Display="None"></asp:RequiredFieldValidator>
                                                    <cc1:ValidatorCalloutExtender ID="UCASNumberRFVVCE" runat="server" TargetControlID="UCASNumberRFV"
                                                        HighlightCssClass="highlightclass">
                                                    </cc1:ValidatorCalloutExtender>--%>
                                                    <asp:RegularExpressionValidator ID="UCASNumberTextBoxREV" runat="server" ErrorMessage="UCAS Number should be a numeric value."
                                                        ControlToValidate="UCASNumberTextBox" ValidationExpression="^\d*" SetFocusOnError="true"
                                                        Display="None"></asp:RegularExpressionValidator>
                                                    <cc1:ValidatorCalloutExtender ID="UCASNumberVCE" TargetControlID="UCASNumberTextBoxREV"
                                                        runat="server" HighlightCssClass="highlightclass">
                                                    </cc1:ValidatorCalloutExtender>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="datatext TDWidth17">
                                                    <asp:Label ID="uxAlternateID1" runat="server" Text="Alternate ID"></asp:Label>
                                                    <span class="required">*</span>
                                                </td>
                                                <td class="datafield TDWidth20" width="29%">
                                                    <asp:TextBox ID="ROIDTextBox" runat="server" MaxLength="50"></asp:TextBox>
                                                    <asp:RegularExpressionValidator ID="ROIDREV" runat="server" ErrorMessage="Alternate ID allows Alpha-Numeric and Hyphen only."
                                                        ControlToValidate="ROIDTextBox" ValidationExpression="^[a-zA-Z \-0-9]+$" Display="None"
                                                        SetFocusOnError="true"></asp:RegularExpressionValidator>
                                                    <cc1:ValidatorCalloutExtender ID="ROIDVCE" TargetControlID="ROIDREV" runat="server"
                                                        HighlightCssClass="highlightclass">
                                                    </cc1:ValidatorCalloutExtender>
                                                </td>
                                                <td class="datatext TDWidth15">
                                                    WorkFlow ID
                                                </td>
                                                <td class="datafield TDWidth15">
                                                    <asp:TextBox ID="WIDTextBox" ReadOnly="true" Enabled="false" runat="server" MaxLength="50"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </fieldset>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="7">
                                    <asp:UpdatePanel ID="uPnlPersonalDetails" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <fieldset>
                                                <legend>Personal Details</legend>
                                                <table border="0" cellspacing="2" cellpadding="3">
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            <asp:Label ID="uxFirstName1" runat="server" Text="First Name"></asp:Label><span class="required">*</span>
                                                        </td>
                                                        <td class="datafield TDWidth20">
                                                            <asp:TextBox runat="server" ID="FirstNameTextBox" MaxLength="50"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="ForeNameRFV" runat="server" ErrorMessage="First Name is required."
                                                                SetFocusOnError="true" ControlToValidate="FirstNameTextBox" Display="None">
                                                            </asp:RequiredFieldValidator>
                                                            <cc1:ValidatorCalloutExtender ID="ForeNameRFVVCE" runat="server" TargetControlID="ForeNameRFV"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                            <asp:RegularExpressionValidator ID="FirstNameREV" runat="server" ErrorMessage="First Name should be in alphabets."
                                                                ControlToValidate="FirstNameTextBox" ValidationExpression="^[a-zA-Z ]+$" SetFocusOnError="true"
                                                                Display="None">
                                                            </asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="FirstNameVCE" TargetControlID="FirstNameREV" runat="server"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                        <td class="datatext TDWidth15">
                                                            <asp:Label ID="uxLastName1" runat="server" Text="Last Name"></asp:Label>
                                                        </td>
                                                        <td class="datafield TDWidth15">
                                                            <asp:TextBox runat="server" ID="LastNameTextBox" MaxLength="50"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="LastNameREV" runat="server" ErrorMessage="Last Name allows alphabets and dot(.) only."
                                                                ControlToValidate="LastNameTextBox" ValidationExpression="^[a-zA-Z\. ]+$" SetFocusOnError="true"
                                                                Display="None"></asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="LastNameVCE" TargetControlID="LastNameREV" runat="server"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            <asp:Label ID="uxBirthDate1" runat="server" Text="Birth Date <br />(DD-MMM-YYYY)"></asp:Label><span
                                                                class="required">*</span>
                                                        </td>
                                                        <td class="datafield TDWidth20">
                                                            <telerik:RadDatePicker ID="DOBDatePicker" runat="server" Skin="Default2006" DateInput-DateFormat="dd-MMM-yyyy">
                                                                <DateInput ID="DateInput2" LabelCssClass="radLabelCss_Default2006" Skin="Default2006"
                                                                    runat="server">
                                                                </DateInput><Calendar ID="Calendar1" runat="server" Skin="Default2006" UseColumnHeadersAsSelectors="False"
                                                                    UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                                                </Calendar>
                                                                <DatePopupButton CssClass="radPopupImage_Default2006" />
                                                            </telerik:RadDatePicker>
                                                            <%--  <asp:RangeValidator ID="DOBDatePickerRV" runat="server" ErrorMessage="Birth Date is not in valid range."
                                                                        Display="None" ControlToValidate="DOBDatePicker"  Type="Date"></asp:RangeValidator>--%>
                                                            <%--  <cc1:ValidatorCalloutExtender ID="DOBDatePickerRVVCE" runat="server" TargetControlID="DOBDatePickerRV"
                                                                        HighlightCssClass="highlightclass">
                                                                    </cc1:ValidatorCalloutExtender> --%>
                                                            <asp:RequiredFieldValidator ID="DOBDatePickerRFV" runat="server" ErrorMessage="Birth date is required."
                                                                Display="None" ControlToValidate="DOBDatePicker"></asp:RequiredFieldValidator>
                                                            <cc1:ValidatorCalloutExtender ID="DOBDatePickerRFVVCE" runat="server" TargetControlID="DOBDatePickerRFV"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                        <td class="datatext TDWidth15">
                                                            <asp:Label ID="uxEthnicOrigin1" runat="server" Text="Ethnic Origin"></asp:Label><span
                                                                class="required">*</span>
                                                        </td>
                                                        <td class="datafield TDWidth15">
                                                            <asp:TextBox runat="server" ID="EthnicityTextBox" MaxLength="50"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="EthnicityRFV" runat="server" ErrorMessage="Ethinic Origin is required."
                                                                SetFocusOnError="true" ControlToValidate="EthnicityTextBox" Display="None"></asp:RequiredFieldValidator>
                                                            <cc1:ValidatorCalloutExtender ID="EthnicityRFVVCE" runat="server" TargetControlID="EthnicityRFV"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                            <asp:RegularExpressionValidator ID="EthnicityREV" runat="server" ErrorMessage="Ethinic Origin should be a numeric value."
                                                                SetFocusOnError="true" ValidationExpression="^\d*" ControlToValidate="EthnicityTextBox"
                                                                Display="None"></asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="EthnicityVCE" runat="server" TargetControlID="EthnicityREV"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="height: 25px" class="datatext TDWidth17">
                                                            Country of Residence
                                                        </td>
                                                        <td class="datafield" style="height: 25px">
                                                            <asp:DropDownList ID="uxCountryResidence2" OnTextChanged="uxCountryResidence2_TextChanged" runat="server">
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td class="datatext">
                                                            Previous College
                                                        </td>
                                                        <td class="datafield">
                                                            <asp:TextBox ID="PriorCollegeTextBox" runat="server"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="PriorCollegeREV" runat="server" ErrorMessage="Previous College should be in Alpha-Numeric."
                                                                ControlToValidate="PriorCollegeTextBox" ValidationExpression="^[a-zA-Z 0-9]+$"
                                                                SetFocusOnError="true" Display="None"></asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="PriorCollegeVCE" TargetControlID="PriorCollegeREV"
                                                                runat="server" HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Passport Number
                                                        </td>
                                                        <td class="datafield TDWidth20" onkeyup="fnChangeValue( document.getElementById ( 'uxManifestPassportNo2' ), document.getElementById ( 'uxPassportNo2' ) );">
                                                           <asp:TextBox runat="server" ID="uxManifestPassportNo2" MaxLength="10"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="uxManifestPassportNoREV2" runat="server" ErrorMessage="Passport Number allows Alpha-Numeric only."
                                                                ControlToValidate="uxManifestPassportNo2" ValidationExpression="^[a-zA-Z 0-9]+$"
                                                                Display="None" SetFocusOnError="true">
                                                            </asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="uxManifestPassportNoVCE2" TargetControlID="uxManifestPassportNoREV2"
                                                                runat="server" HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                        <td class="datatext TDWidth15">
                                                            E-mail Address
                                                        </td>
                                                        <td class="datafield TDWidth15" onkeyup="fnChangeValue( document.getElementById ( 'uxEmailID2' ), document.getElementById ( 'uxPBSEmailId2' ) );">
                                                            <asp:TextBox runat="server" ID="uxEmailID2" MaxLength="50"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ValidationGroup="Save" ValidationExpression="^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$"
                                                                ID="uxRegExpEmail2" runat="server" ErrorMessage="Enter correct E-mail Address."
                                                                SetFocusOnError="true" ControlToValidate="uxEmailID2" Display="None">
                                                            </asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="uxRegExpEmail2"
                                                                HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="4" align="right" style="padding-right: 25px;">
                                                            <input type="button" id="uxDuplicate" value="Check Duplicate" onclick="fnCheckDuplicate()" class="btns" runat="server" />
                                                           
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ContentTemplate>
                                        <Triggers>
                                             <asp:AsyncPostBackTrigger ControlID="uxCountryResidence2" /> 
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="7">
                                    <asp:UpdatePanel ID="uPnlProgramDetails" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <fieldset>
                                                <legend>Program Details</legend>
                                                <table border="0" cellspacing="2" cellpadding="3" style="width: 100%;">
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Type of Application
                                                        </td>
                                                        <td class="datafield TDWidth20">
                                                            <asp:DropDownList ID="TypeOfApplicationDropDown" runat="server" AutoPostBack="true"
                                                                 OnSelectedIndexChanged="TypeOfApplicationDropDown_SelectedIndexChanged"
                                                               OnTextChanged="TypeOfApplicationDropDown_TextChanged" CssClass="maxWidthSelect">
                                                            </asp:DropDownList>
                                                           
                                                        </td>
                                                        <td class="datatext TDWidth15">
                                                            Programme Level
                                                        </td>
                                                        <td class="datafield TDWidth15">
                                                            <asp:DropDownList ID="ProgramOfStudyDropDown" runat="server" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ProgramOfStudyDropDown_SelectedIndexChanged" OnTextChanged="ProgramOfStudyDropDown_TextChanged"
                                                                CssClass="maxWidthSelect">
                                                            </asp:DropDownList>
                                                           
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            School
                                                        </td>
                                                        <td class="datafield TDWidth20" colspan="3">
                                                            <asp:DropDownList ID="SchoolDropDown" runat="server" CssClass="DropDownWidth596"
                                                            OnTextChanged = "SchoolDropDown_TextChanged" onselectedindexchanged="SchoolDropDown_SelectedIndexChanged"
                                                                AutoPostBack="True">
                                                            </asp:DropDownList>
                                                            
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datafield" colspan="2">
                                                            <b>Programme Title</b>
                                                        </td>
                                                        <td class="datafield" colspan="2">
                                                            <b>Selected Programme Title</b>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="4">
                                                            <table>
                                                                <tr>
                                                                    <td class="datafield" align="center">
                                                                        <cc1:ListSearchExtender ID="ListSearchExtender2" runat="server" IsSorted="true" PromptCssClass="ListSearchExtenderPrompt"
                                                                            PromptPosition="Top" TargetControlID="lstProgramappliedFor">
                                                                        </cc1:ListSearchExtender>
                                                                        <asp:ListBox ID="lstProgramappliedFor" runat="server" Width="300px" Height="140"
                                                                           onClick="window.status=this.options[this.selectedIndex].text" SelectionMode="Multiple" BorderStyle="Outset"></asp:ListBox>
                                                                       
                                                                    </td>
                                                                    <td class="datafield" align="center" valign="middle" width="10%">
                                                                        <br>
                                                                        <asp:Button ID="btnadditem" runat="server" CssClass="btns" CausesValidation="false"
                                                                            Text="&gt;" Width="25px" OnClick="btnadditem_Click" OnClientClick="return FnValidateMaxSelection()"></asp:Button>
                                                                        
                                                                        <br>
                                                                        <asp:Button ID="btnremoveitem" runat="server" CssClass="btns" CausesValidation="false"
                                                                          OnClick="btnremoveitem_Click"  Text="&lt;" Width="25px"></asp:Button>
                                                                       
                                                                        <br>
                                                                        <asp:Button ID="btnremoveall" runat="server" CssClass="btns" CausesValidation="false"
                                                                          OnClick="btnremoveall_Click"  Text="&lt;&lt;" Width="25px"></asp:Button>
                                                                       
                                                                    </td>
                                                                    <td class="datafield" align="center">
                                                                        <asp:ListBox ID="lstSelectedProgramAppliedFor" runat="server" Width="300px" Height="140"
                                                                         onClick="window.status=this.options[this.selectedIndex].text"   SelectionMode="Multiple">
                                                                        </asp:ListBox>
                                                                    </td>
                                                                    <td class="datafield" align="center" width="10%">
                                                                        <asp:Button ID="btnColmoveup" runat="server" Text="^" Font-Size="13" CausesValidation="false"
                                                                         OnClick="btnColmoveup_Click" Width="25px"></asp:Button>
                                                                     
                                                                        <br>
                                                                        <asp:Button ID="btnColmovedwn" runat="server" Text="v" Font-Size="13" CausesValidation="false"
                                                                          OnClick="btnColmovedwn_Click"  Width="25px"></asp:Button>
                                                                        
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Mode of Study
                                                        </td>
                                                        <td class="datafield" style="height: 25px" colspan="3">
                                                            <asp:DropDownList ID="uxStudyMode2" runat="server" ontextchanged="uxStudyMode2_TextChanged" 
                                                             CssClass="maxWidthSelect" Width="100%">
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Entry Point
                                                        </td>
                                                        <td class="datafield TDWidth20">
                                                            <asp:DropDownList ID="uxEntryPoint2" ontextchanged="uxEntryPoint2_TextChanged" runat="server">
                                                                <asp:ListItem Value="Select">--Select--</asp:ListItem>
                                                                <asp:ListItem Value="0">0</asp:ListItem>
                                                                <asp:ListItem Value="1">1</asp:ListItem>
                                                                <asp:ListItem Value="2">2</asp:ListItem>
                                                                <asp:ListItem Value="3">3</asp:ListItem>
                                                                <asp:ListItem Value="4">4</asp:ListItem>
                                                                <asp:ListItem Value="5">5</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td class="datatext TDWidth15">
                                                            Entry Year/Month
                                                            <br />
                                                            (MMM-YY)
                                                        </td>
                                                        <td class="datafield TDWidth15">
                                                            <telerik:RadDatePicker ID="IntakeTermDatePicker" runat="server" Skin="Default2006"
                                                                Width="50px">
                                                                <DateInput ID="DateInput1" runat="server" DateFormat="MMM-yy" ClientEvents-OnValueChanging="ValueChanging" />
                                                            </telerik:RadDatePicker>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Study Site
                                                        </td>
                                                        <td class="datafield width2">
                                                            <asp:TextBox ID="StudySiteTextBox" runat="server"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="StudySiteTextBoxREV" runat="server" ControlToValidate="StudySiteTextBox"
                                                                Display="None" ErrorMessage="Study Site should be in alphabets." SetFocusOnError="true"
                                                                ValidationExpression="^[a-zA-Z ]+$"></asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="StudySiteTextBoxVCE" runat="server" HighlightCssClass="highlightclass"
                                                                TargetControlID="StudySiteTextBoxREV">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                        <td class="datatext width4">
                                                            NHS Employer
                                                        </td>
                                                        <td class="datafield width4">
                                                            <asp:TextBox ID="NHSEmployerTextBox" runat="server"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="NHSEmployerREV" runat="server" ErrorMessage="NHS Employer allows Alpha-Numeric only."
                                                                ControlToValidate="NHSEmployerTextBox" ValidationExpression="^[a-zA-Z 0-9]+$"
                                                                SetFocusOnError="true" Display="None"></asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="NHSEmployerVCE" TargetControlID="NHSEmployerREV"
                                                                runat="server" HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ContentTemplate>
                                        <Triggers>
                                             <asp:AsyncPostBackTrigger ControlID="TypeOfApplicationDropDown" /> 
                                             <asp:AsyncPostBackTrigger ControlID="ProgramOfStudyDropDown" /> 
                                             <asp:AsyncPostBackTrigger ControlID="SchoolDropDown" /> 
                                             <asp:AsyncPostBackTrigger ControlID="btnadditem" /> 
                                             <asp:AsyncPostBackTrigger ControlID="btnremoveitem" /> 
                                             <asp:AsyncPostBackTrigger ControlID="btnremoveall" /> 
                                             <asp:AsyncPostBackTrigger ControlID="btnColmoveup" /> 
                                             <asp:AsyncPostBackTrigger ControlID="btnColmovedwn" /> 
                                             <asp:AsyncPostBackTrigger ControlID="uxEntryPoint2" /> 
                                             <asp:AsyncPostBackTrigger ControlID="IntakeTermDatePicker" /> 
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="7">
                                    <asp:UpdatePanel ID="uPnlDecisionDetails" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <fieldset id="fldDecisionDetails" runat="server">
                                                <legend>Decision Details</legend>
                                                <table border="0" cellspacing="2" cellpadding="3" style="width: 100%;">
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Decision Date
                                                        </td>
                                                        <td class="datafield TDWidth20">
                                                            <telerik:RadDatePicker ID="DecisionDateDatePicker" runat="server" Skin="Default2006"
                                                                DateInput-DateFormat="dd-MMM-yyyy">
                                                                <DateInput LabelCssClass="radLabelCss_Default2006" Skin="Default2006">
                                                                </DateInput>
                                                                <Calendar Skin="Default2006" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                                                                    ViewSelectorText="x">
                                                                </Calendar>
                                                                <DatePopupButton CssClass="radPopupImage_Default2006" />
                                                            </telerik:RadDatePicker>
                                                        </td>
                                                        <td>
                                                        </td>
                                                        <td class="datafield TDWidth15">
                                                            <asp:TextBox ID="DecisionByTextBox" runat="server" MaxLength="50" Visible="false"></asp:TextBox>
                                                            <asp:RegularExpressionValidator ID="DecisionByREV" runat="server" ErrorMessage="Decision By should be in alphabets."
                                                                ControlToValidate="DecisionByTextBox" ValidationExpression="^[a-zA-Z ]+$" SetFocusOnError="true"
                                                                Display="None"></asp:RegularExpressionValidator>
                                                            <cc1:ValidatorCalloutExtender ID="DecisionByVCE" TargetControlID="DecisionByREV"
                                                                runat="server" HighlightCssClass="highlightclass">
                                                            </cc1:ValidatorCalloutExtender>
                                                            <asp:DropDownList ID="PreDesicionDropDown" runat="server" CssClass="visibleFalse">
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="4" align="left">
                                                            <asp:CheckBox ID="DecisionAvailableCheckBox" runat="server" CssClass="check" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            Decision
                                                        </td>
                                                        <td class="datafield" colspan="3">
                                                            <asp:DropDownList ID="DecisionDropDown" runat="server" CssClass="maxWidthSelect"
                                                              ontextchanged="DecisionDropDown_TextChanged"  Width="100%">
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext">
                                                            Enter Marvin (Decision Text)
                                                        </td>
                                                        <td colspan="3">
                                                            <asp:TextBox ID="DecisionTextTextBox" runat="server" TextMode="MultiLine" CssClass="maxWidthSelect"
                                                                MaxLength="2000" Width="100%"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:TextBox ID="NotesTextBox" runat="server" TextMode="MultiLine" Width="100%" CssClass="maxWidthSelect"
                                                                MaxLength="2000" Height="30px" Visible="false"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext TDWidth17">
                                                            RO Decision
                                                        </td>
                                                        <td class="datafield TDWidth20">
                                                            <asp:DropDownList ID="RODecisionDropDown" ontextchanged="RODecisionDropDown_TextChanged" runat="server">
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td class="datatext TDWidth15">
                                                            UK Decision
                                                        </td>
                                                        <td class="datafield">
                                                            <asp:DropDownList ID="UKDecisionDropDown" ontextchanged="UKDecisionDropDown_TextChanged" runat="server">
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datatext">
                                                            Notes / General Comments
                                                        </td>
                                                        <td colspan="3">
                                                            <asp:TextBox ID="NotesInSAAADMSTextBox" runat="server" TextMode="MultiLine" CssClass="maxWidthSelect"
                                                                Width="100%" Height="30px"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ContentTemplate>
                                           <Triggers>
                                             <asp:AsyncPostBackTrigger ControlID="DecisionDropDown" EventName="textchanged" /> 
                                             <asp:AsyncPostBackTrigger ControlID="RODecisionDropDown" EventName="textchanged" /> 
                                             <asp:AsyncPostBackTrigger ControlID="UKDecisionDropDown" EventName="textchanged" /> 
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="7">
                                    <asp:UpdatePanel ID="uPnlApplicationDetails" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <fieldset>
                                                <legend>Application Details</legend>
                                                <table id="Table1" border="0" cellspacing="0" cellpadding="3" style="width: 100%;"
                                                    runat="server">
                                                    <tr>
                                                        <td colspan="7" width="100%" style="padding-left: 2px; width: 100%;">
                                                            <table border="0" cellspacing="2" cellpadding="3" style="width: 100%;">
                                                                <tr>
                                                                    <td class="datatext" style="width: 25%">
                                                                        Application Source
                                                                    </td>
                                                                    <td class="datafield">
                                                                        <asp:DropDownList ID="uxROName" ontextchanged="uxROName_TextChanged" runat="server" Enabled="false" MaxLength="50">
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                    <td class="datafield" style="display: none;">
                                                                        <%--<asp:RequiredFieldValidator ID="RONameRFV" runat="server" ErrorMessage="Application Source is required."
                                                                            SetFocusOnError="true" ControlToValidate="uxROName" Display="None"></asp:RequiredFieldValidator>
                                                                        <cc1:ValidatorCalloutExtender ID="RONameRFVVCE" runat="server" TargetControlID="RONameRFV"
                                                                            HighlightCssClass="highlightclass">
                                                                        </cc1:ValidatorCalloutExtender>--%>
                                                                        <asp:RegularExpressionValidator ID="RONameTextBoxREV" runat="server" ErrorMessage="Application Source should be in alphabets."
                                                                            ControlToValidate="uxROName" ValidationExpression="^[a-zA-Z ]+$" SetFocusOnError="true"></asp:RegularExpressionValidator>
                                                                        <cc1:ValidatorCalloutExtender ID="RONameTextBoxVCE" TargetControlID="RONameTextBoxREV"
                                                                            runat="server" HighlightCssClass="highlightclass">
                                                                        </cc1:ValidatorCalloutExtender>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="7" width="100%">
                                                            <div style="padding-left: 2px; width: 100%;" runat="server" id="DecisionDiv">
                                                                <table id="Table11" border="0" cellspacing="1" cellpadding="2" style="width: 100%;"
                                                                    runat="server">
                                                                    <tr>
                                                                        <td class="datatext TDWidth17">
                                                                            Application Entry Date
                                                                        </td>
                                                                        <td class="datafield TDWidth20">
                                                                            <telerik:RadDatePicker ID="AppEntryDatePicker" runat="server" DateInput-DateFormat="dd-MMM-yyyy"
                                                                                Skin="Default2006" Culture="English (United States)">
                                                                                <DateInput LabelCssClass="radLabelCss_Default2006" Skin="Default2006">
                                                                                </DateInput>
                                                                                <Calendar Skin="Default2006" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                                                                                    ViewSelectorText="x">
                                                                                </Calendar>
                                                                                <DatePopupButton CssClass="radPopupImage_Default2006" />
                                                                            </telerik:RadDatePicker>
                                                                        </td>
                                                                        <td class="datatext TDWidth15">
                                                                            Application Received Date
                                                                        </td>
                                                                        <td class="datafield TDWidth15">
                                                                            <telerik:RadDatePicker ID="ManifestReceivedDatePicker" runat="server" DateInput-DateFormat="dd-MMM-yyyy"
                                                                                Skin="Default2006" Culture="English (United States)">
                                                                                <DateInput LabelCssClass="radLabelCss_Default2006" Skin="Default2006">
                                                                                </DateInput>
                                                                                <Calendar Skin="Default2006" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                                                                                    ViewSelectorText="x">
                                                                                </Calendar>
                                                                                <DatePopupButton CssClass="radPopupImage_Default2006" />
                                                                            </telerik:RadDatePicker>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td class="datatext">
                                                                            Application Status
                                                                        </td>
                                                                        <td class="datafield">
                                                                            <asp:DropDownList ontextchanged="AppStatusDropDown_TextChanged" ID="AppStatusDropDown" runat="server">
                                                                                <asp:ListItem Value="0" Text="--Select--"></asp:ListItem>
                                                                                <asp:ListItem Value="1" Text="Completed"></asp:ListItem>
                                                                                <asp:ListItem Value="2" Text="InComplete"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                            <%--<asp:RequiredFieldValidator ID="AppStatusRFV" runat="server" ErrorMessage="Application Status is required."
                                                                                SetFocusOnError="true" InitialValue="0" ControlToValidate="AppStatusDropDown"
                                                                                Display="None"></asp:RequiredFieldValidator>
                                                                            <cc1:ValidatorCalloutExtender ID="AppStatusRFVVCE" runat="server" TargetControlID="AppStatusRFV"
                                                                                HighlightCssClass="highlightclass">
                                                                            </cc1:ValidatorCalloutExtender>--%>
                                                                        </td>
                                                                        <td class="datatext">
                                                                            MISIS ID Updated in ISTOR Date
                                                                        </td>
                                                                        <td class="datafield">
                                                                            <telerik:RadDatePicker ID="MISISISTORDatePicker" runat="server" DateInput-DateFormat="dd-MMM-yyyy"
                                                                                Skin="Default2006" Culture="English (United States)">
                                                                                <DateInput LabelCssClass="radLabelCss_Default2006" Skin="Default2006">
                                                                                </DateInput>
                                                                                <Calendar Skin="Default2006" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                                                                                    ViewSelectorText="x">
                                                                                </Calendar>
                                                                                <DatePopupButton CssClass="radPopupImage_Default2006" />
                                                                            </telerik:RadDatePicker>
                                                                            <%--<asp:RequiredFieldValidator ID="MISISISTORDateRFV" runat="server" ErrorMessage="MISIS ID Updated in ISTOR is required."
                                                                                SetFocusOnError="true" Display="None" ControlToValidate="MISISISTORDatePicker">
                                                                            </asp:RequiredFieldValidator>
                                                                            <cc1:ValidatorCalloutExtender ID="MISISISTORDateRFVVCE" runat="server" TargetControlID="MISISISTORDateRFV"
                                                                                HighlightCssClass="highlightclass">
                                                                            </cc1:ValidatorCalloutExtender>--%>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                            <div>
                                                                <table id="Table2" border="0" cellspacing="0" cellpadding="3" style="width: 100%;"
                                                                    runat="server">
                                                                    <tr>
                                                                        <td class="datatext TDWidth17">
                                                                            Document Uploaded by
                                                                        </td>
                                                                        <td class="datafield TDWidth20">
                                                                            <asp:TextBox ID="DocsUploadedByTextBox" runat="server"></asp:TextBox>
                                                                        </td>
                                                                        <td class="datatext TDWidth15" style="height: 25px">
                                                                            ISTOR Date
                                                                        </td>
                                                                        <td class="datafield TDWidth15" style="height: 25px">
                                                                            <telerik:RadDatePicker ID="IstoreDatePicker" runat="server" Skin="Default2006" DateInput-DateFormat="dd-MMM-yyyy"
                                                                                Culture="English (United States)">
                                                                                <DateInput ID="DateInput3" LabelCssClass="radLabelCss_Default2006" Enabled="false"
                                                                                    Skin="Default2006" runat="server">
                                                                                </DateInput>
                                                                                <Calendar ID="Calendar2" runat="server" Skin="Default2006" UseColumnHeadersAsSelectors="False"
                                                                                    UseRowHeadersAsSelectors="False" Enabled="false" ViewSelectorText="x">
                                                                                </Calendar>
                                                                                <DatePopupButton CssClass="radPopupImage_Default2006" Enabled="false" ToolTip="" />
                                                                            </telerik:RadDatePicker>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ContentTemplate>
                                         <Triggers>
                                             <asp:AsyncPostBackTrigger ControlID="uxROName" EventName="textchanged" /> 
                                             <asp:AsyncPostBackTrigger ControlID="AppStatusDropDown" EventName="textchanged" /> 
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="7">
                                    <asp:UpdatePanel ID="uPnlAgentDetails" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <fieldset>
                                                <legend>Agent Details</legend>
                                                <table border="0" cellspacing="2" cellpadding="3" style="width: 100%;">
                                                    <tr>
                                                        <td class="datatext" style="width: 25%;">
                                                            Agent Name
                                                        </td>
                                                        <td class="datafield" colspan="3">
                                                            <telerik:RadComboBox ID="uxRadComboAgent2" runat="server" Width="250px" Height="250px"
                                                                EmptyMessage="Select a Agent" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
                                                              OnItemsRequested="uxRadComboAgent2_ItemsRequested"  EnableVirtualScrolling="true">
                                                            </telerik:RadComboBox>
                                                            
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datafield TDWidth15">
                                                            <asp:TextBox runat="server" ID="uxAgentCode2" Visible="false" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                    <Triggers>
                                             <asp:AsyncPostBackTrigger ControlID="uxRadComboAgent2" EventName="ItemsRequested" /> 
                                    </Triggers>
                                </td>
                            </tr>
                            <tr>
                                <td class="datatext TDWidth15">
                                    <asp:HyperLink ID="HyperLink2" NavigateUrl="http://www.imagestore.co.uk/" Target="_blank"
                                        runat="server" Visible="false">View I-STOR</asp:HyperLink>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:UpdatePanel ID="AssignToUpdatePanel" UpdateMode="Conditional" runat="server">
                        <ContentTemplate>
                            <table>
                                <tr>
                                    <td style="width: 150px">
                                        <asp:Label ID="AssignToLablel" runat="server" Text="Assigned/Forward To"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="AssigntoDropDown" runat="server" DataMember="DefaultView" DataTextField="Assignedto"
                                            AutoPostBack="true" DataValueField="Assignedto"  OnSelectedIndexChanged="AssigntoDropDown_SelectedIndexChanged">
                                            <%-- 
                                            OnTextChanged="AssigntoDropDown_TextChanged" OnSelectedIndexChanged="AssigntoDropDown_SelectedIndexChanged"--%>
                                        </asp:DropDownList>
                                       <%-- <asp:RequiredFieldValidator ID="AssigntoDropDownRFV" runat="server" Display="None"
                                            ErrorMessage="Please Select any one of the user." InitialValue="0" ControlToValidate="AssigntoDropDown"
                                            SetFocusOnError="true"></asp:RequiredFieldValidator>
                                        <cc1:ValidatorCalloutExtender ID="AssigntoDropDownVCE" TargetControlID="AssigntoDropDownRFV"
                                            HighlightCssClass="highlightclass" runat="server">
                                        </cc1:ValidatorCalloutExtender>--%>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="IsComplted" runat="server" AutoPostBack="true" CssClass="check"
                                            Text="Completed" />
                                        <%--OnCheckedChanged="IsComplted_CheckedChanged"--%>
                                    </td>
                                    <td style="width: 25%; color: Red;" align="center">
                                        <%--  <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="AssignToUpdatePanel"
                                            runat="server">
                                            <ProgressTemplate>
                                                Processing. Please wait...
                                            </ProgressTemplate>
                                        </asp:UpdateProgress>--%>
                                    </td>
                                    <td align="right">
                                        <asp:Button ID="SaveButton" runat="server" Text="Save" CssClass="btns" OnClick="SaveButton_Click" />&nbsp                                        
                                    </td>
                                    <td>
                                        <asp:Button ID="CancelButton" runat="server" Text="Cancel" CssClass="btns" CausesValidation="false" />
                                        <%--OnClick="CancelButton_Click"--%>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
        </table>
    </div>
    </form>

    <script type="text/javascript">
        function silentErrorHandler() { return true; }
        window.onerror = silentErrorHandler;
    </script>

</body>
</html>

Open in new window

Avatar of Jini Jose
Jini Jose
Flag of India image

if updatepanel is using, you cannot figure out your errors. I think there is some errors occuring inside your update panel functions.
kindly remove your update panels and reload your page.
Avatar of Rajkumar Gs

ASKER

I tried your suggestion. Seems no errors.
If I am right, since no events are triggering, there is no chance of errors in that page.

Any other thoughts
Raj

ASKER CERTIFIED SOLUTION
Avatar of Vikram Singh Saini
Vikram Singh Saini
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

You need to vary your cache value base on some parameter or other thing so that the updated page is served. Or either remove the code at Line 5.

Let us know back if prob exists or solved out.

Regards,
VSS
As u ve set ur update panel on conditional mode u should enter event name in ur this line..<asp:AsyncPostBackTrigger ControlID="uxCountryResidence2" />
i faced the same problem. and when i removed the update panels, it hits some error like some query difference.
gmailjini,
You are right. But that was not my case. Thanks for your comment.

Raj
pathan_fahad,

Thanks.
But your suggestion didn't help me in this case.

Raj
vs00saini,

Great man! I didn't notice that ASPX page code!
I expressed my doubt about caching may causing this issue in my question :)

Now seems to be fixed. Let me test it for some more time.
Raj
Hi Mani,

I refered the link you provided. It's mentioning about issue with Validator controls.

By in my case as I mentioned before related to Cache. Now fixed.

Thanks for your input.
Raj
Thanks.

I have another similar issue, that I will post soon.

Raj
Here is my another related question
https://www.experts-exchange.com/questions/26424741/Button-event-not-triggering-after-Radgrid-event.html

Please have a check on this as well.
Raj