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 363775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:22:29+00:00 2026-05-12T13:22:29+00:00

I got 2 update panels in one page. After a request I want to

  • 0

I got 2 update panels in one page. After a request I want to check which update panel(s) got updated. I’ve read sender._postBackSettings.panelID should be good for this 🙂

However, whenever I get a postback in a non-IE browser, the panelID just returns null? It works very fine in IE…

Here’s a codesnippet:

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(
   function(sender, args) {
   var postBackControls = sender._postBackSettings.panelID.split("|");
   ........
});

I got 2 updatepanels, both with conditional updatemodes:

<asp:UpdatePanel ID="updScheduleTemplate" runat="server" 
   UpdateMode="Conditional">
   <ContentTemplate>
   .........

and

<asp:UpdatePanel ID="updSpecialDays" runat="server" 
   OnLoad="updSpecialDays_OnLoad" UpdateMode="Conditional">
   <ContentTemplate>
   ..........

Any help would be highly appreciated, and I’m open for alternative solutions which doesn’t involve sender._postBackSettings.panelID

Thanks in advance 🙂

  • 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-05-12T13:22:30+00:00Added an answer on May 12, 2026 at 1:22 pm

    Try add_pageLoaded instead:

    Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(pageLoaded);
    
    function pageLoaded(sender, args)
    {
        var panels = args.get_panelsUpdated();
    
        if (panels.length > 0)
        {    
            for (i=0; i < panels.length; i++) {
                var panelID =panels[i];
            }          
        }
    }
    

    I know it sounds like it wouldnt work but according to the following article from MSDN there is good reason to believe that it will also catch updatepanel complete events too.
    http://msdn.microsoft.com/en-us/magazine/cc163413.aspx

    _postBackSettings is private and may not be intended for external use.

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

Sidebar

Related Questions

I've started working with ASP.net AJAX (finally ☺). and I've got an update panel
I have a ASP updatepanel, within that panel I have some controls which got
Today I got an interview question as titled. For example, a Update Panel contains
EDIT: Latest Info at the bottom of Post. I've got an Update Panel on
I've got a gridview inside an update panel. In the gridview I have an
I've got an asp.net web form, there is an update panel that contains a
I have a page with an ASP Place Holder wrapped in an Update Panel
I've got an ASP.NET web form which uses UpdatePanels to allow partial page postbacks.
I have Update panel in Master page: <asp:ScriptManager id=CartScript runat=server></asp:ScriptManager> <asp:UpdatePanel id=CartBox runat=server updateMode=Conditional>
I've got a ASP.NET 3.5 sp1 site, and on one page I have two

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.