Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8142833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:55:41+00:00 2026-06-06T12:55:41+00:00

I have an asp.net page with three ajax updatepanels. in each panel there are

  • 0

I have an asp.net page with three ajax updatepanels. in each panel there are some controls and each updatepanel as an ajax update progress control. first updatepanel has a dropdown which has autopostback = true. second and third updatepanels has this dropdown as asynpostback trigger. When I change selection in dropdown, only first updateprogress loading image appears while others don’t appear.

How can I fix it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:55:43+00:00Added an answer on June 6, 2026 at 12:55 pm

    Try to change the UpdateMode="Conditional" in Update panel.

    Example

    <script type="text/javascript">
    
            // Function to hide control on update
            function onUpdateOfSubscribe() {
                var panelProg = $get('divImage');
                // set it to visible
                panelProg.style.display = '';
                // hide label if visible      
                var lbl = $get('<%= this.pnlRegister.ClientID %>');
                lbl.innerHTML = '';
            }
            //Code to track the initiating event so to associate updateprogress
            var currentPostBackElement;
            function pageLoad() {
                var manager = Sys.WebForms.PageRequestManager.getInstance();
                manager.add_initializeRequest(OnInitializeRequest);
            }
            //On OnInitializeRequest
            function OnInitializeRequest(sender, args) {
                var manager = Sys.WebForms.PageRequestManager.getInstance();
                currentPostBackElement = args.get_postBackElement().parentElement;
    
                var cmdAuthoriseButton = '<%= btnRegister.ClientID %>';
                if (cmdAuthoriseButton == args._postBackElement.id) {
                    // Show UpdateProgress for subscribe 
                    onUpdateOfSubscribe();
                }
            }
    </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div class="FormWrapper">
            <div class="rowHeader">
    
            </div>
                <asp:UpdatePanel ID="updRegister" runat="server" UpdateMode="Conditional"   >
                <ContentTemplate>  
                        <asp:Panel ID="pnlRegister" runat="server" Height="10px">
                            <div class="row" style="display:none;">
                                <asp:Label ID="Label7" runat="server" Text="Activity:" class="lbl"></asp:Label>
                                <asp:DropDownList ID="ddActivities" runat="server" CssClass="dd252"  DataTextField="EventTitle" DataValueField="EventID">
                                </asp:DropDownList>
                            </div>
                            <div class="row">
                                <asp:Label ID="lblSName" runat="server" Text="Name:" class="lbl"></asp:Label>
                                <asp:TextBox ID="txtSName" runat="server" CssClass="txt"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2"  runat="server" ErrorMessage="*" ControlToValidate="txtSName" ValidationGroup="ActivityReg" ></asp:RequiredFieldValidator>
                            </div>
                            <div class="row">
                                <asp:Label ID="lblSAge" runat="server" Text="Age:" class="lbl"></asp:Label>
                                <asp:TextBox ID="txtSAge" runat="server" CssClass="txt"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4"  runat="server" ErrorMessage="*" ControlToValidate="txtSAge" ValidationGroup="ActivityReg" ></asp:RequiredFieldValidator>
                                <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtSAge" MaximumValue="100" MinimumValue="4" 
                                    ValidationGroup="ActivityReg" Type="Integer" ></asp:RangeValidator>
                            </div>
    
                            <div class="row">
                                <asp:Label ID="lblGMobile" runat="server" Text="Guardian Mobile:" class="lbl"></asp:Label>
                                <asp:TextBox ID="txtGMobile" runat="server" CssClass="txt"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5"  runat="server" ErrorMessage="*" ControlToValidate="txtGMobile" ValidationGroup="ActivityReg" ></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1"  runat="server" ErrorMessage="*" ControlToValidate="txtGMobile" ValidationGroup="ActivityReg" ></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"  ValidationGroup="ActivityReg"
                                    ControlToValidate="txtGMobile" ErrorMessage="*" ValidationExpression="[0-9 ]{9,}"></asp:RegularExpressionValidator>
                            </div>
                            <div class="rowDouble">
                                <asp:Label ID="lblAddress" runat="server" Text="Address:" class="lbl"></asp:Label>
                                <asp:TextBox ID="txtAddress" runat="server" CssClass="txtDouble" TextMode="MultiLine"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3"  runat="server" ErrorMessage="*" ControlToValidate="txtAddress" ValidationGroup="ActivityReg" ></asp:RequiredFieldValidator>   
                            </div>
                            <div class="row">
                                <asp:Button ID="btnRegister" CssClass="btn" runat="server" 
                                    ValidationGroup="ActivityReg" Text="Register" onclick="btnRegister_Click"  />
                            </div>
                            </asp:Panel> 
                        <div class="dSubMSG"> 
                            <asp:Label ID="lblMSG" runat="server" Text=""></asp:Label>
                        </div>
                        <div id="divImage" style="display:none" class="dSubAni">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/ajax-loader-gray.png" Visible="true"/>
                        </div>
    
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnRegister" EventName="Click" />
                    </Triggers>
                </asp:UpdatePanel>
                <asp:UpdateProgress ID="updProgressRegister" runat="server" AssociatedUpdatePanelID="updRegister" >
                    <ProgressTemplate>
    
                    </ProgressTemplate>
                </asp:UpdateProgress>
        </div>
        </form>
    

    I have other user controls with UpdatePanel & Progress bar i trap the source for ascy postback & accordingly hide or show the Progress bar. Hope this will be of help.. But you may need to work on it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this serious: I have ASP.NET page, This page contents Update panel with
I have an ASP.NET 3.5 page with some AJAX, some Validators and some business-rule
I have a Repeater with an ASP.NET AJAX 1.0 UpdatePanel inside it. There are
I have been using the ASP.NET AJAX UpdatePanel control a lot lately for some
I have an asp.net page. There is a button Edit on the bottom that
I have grid in my ASP.NET page (actualy it's Telerik RadGrid). There is GridButtonColumn
I have ASP.NET page with an iframe on it for displaying some pdf reports
I have ASP.NET page, it calls webservice via $.ajax and returns result in json
I have a button on my ASP.NET page, which fetches some data from my
VS2005, ASP.NET, C#, IIS6 Hello friends, I have a master page divided into three

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.