Solved

Asp.net page events not triggering properly

Posted on 2010-08-23
13
1,266 Views
Last Modified: 2012-05-10
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

0
Comment
Question by:Rajkumar Gs
  • 7
  • 2
  • 2
  • +2
13 Comments
 
LVL 10

Expert Comment

by:Jini Jose
ID: 33508380
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.
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33508478
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

0
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
ID: 33508506
Hi,

Code at Line 5: <%@ OutputCache Duration="60" VaryByParam="none" %>
 is causing trouble.  Since each time the page is requested, ASP.NET checks if the page is in the  cache, and if it is, whether or not it has expired. It's served from the  cache if it isn't expired - if it is, the page is removed from the  cache and the page is generated from scratch and then placed in the  cache.  

For more refer to link: http://asp.net-tutorials.com/caching/output-cache/

Regards,
VSS

0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33508516
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
0
 
LVL 2

Expert Comment

by:Fahad Pathan
ID: 33508524
As u ve set ur update panel on conditional mode u should enter event name in ur this line..<asp:AsyncPostBackTrigger ControlID="uxCountryResidence2" />
0
 
LVL 10

Expert Comment

by:Jini Jose
ID: 33508540
i faced the same problem. and when i removed the update panels, it hits some error like some query difference.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33508625
gmailjini,
You are right. But that was not my case. Thanks for your comment.

Raj
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33508629
pathan_fahad,

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

Raj
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33508644
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
0
 
LVL 14

Expert Comment

by:Dhanasekaran Sengodan
ID: 33508806
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33509238
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
0
 
LVL 23

Author Closing Comment

by:Rajkumar Gs
ID: 33509246
Thanks.

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

Raj
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33509330
Here is my another related question
http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_26424741.html

Please have a check on this as well.
Raj
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now