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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:58:48+00:00 2026-05-11T09:58:48+00:00

The title attempts to summarize the problem, but here’s a more detailed summary: our

  • 0

The title attempts to summarize the problem, but here’s a more detailed summary: our web page is a collection of usercontrols, which visually render as rectangular reporting widgets, which are set in AJAX updatepanels. We are giving the user the ability to drag and drop the widgets to pre-set ‘zones’ on the page.

The drag and drop functionality works fine. We use AJAX calls to a web service to update a database with the user’s new settings for persistence.

The ‘however’ happens when we do a postback from one of these widgets. The postback is sent to the server, it renders an update, which is sent back to the client (all via AJAX, because of the updatepanel). We then get a ‘Could not find UpdatePanel with ID…’ message on the client, because the document hierarchy has changed, but the control IDs have not been updated on the client.

We tried Rick Strahl’s solution to this link text, which allowed us to create static control IDs on the client. This breaks the postback functionality, though… the isPostBack property is not set, I’m assuming because the server can’t match the control ID with a known hierarchy element.

We’re thinking about possibly resetting the control ID on the client side after it’s dragged and dropped, using Javascript. Obviously, this would require duplicating .Net’s naming algorithm–not smart, we’re thinking. Maybe we can use a separate updatepanel and ask the server to send us the new control ID after it’s dropped?

Obviously, we’re running out of ideas.

I realize this is probably too long, and I’ll happily edit, provide code samples, etc. to help you help us. Thank you 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. 2026-05-11T09:58:49+00:00Added an answer on May 11, 2026 at 9:58 am

    Just out of interest, have you inspected the id of the UpdatePanel that posts back, and is the id one that is expected? You can hook into the client page lifecycle of ASP.NET AJAX like so to inspect the id of the control initiating the postback

    <script type='text/javascript'>    function pageLoad(sender, args)   {       var prm = Sys.WebForms.PageRequestManager.getInstance();        prm.add_initializeRequest(InitializeRequest);       prm.add_endRequest(EndRequest);        //fires when an async postback is initialized       function InitializeRequest(sender, args)        {         alert(args._postBackElement.id)       }        //fires when an async postback is complete       function EndRequest(sender, args)        {         alert(sender._postBackSettings.sourceElement.id)       }   }  </script> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apologies for the vague title, here's my problem: The goal of my code is
Title edits that reflect a better summary of the question are welcome. I'd like
Title pretty much says it all. The web.config, unchanged from how VS2008SP1 generated it,
Title more or less says it all. In response to a touchesBegan event, my
Title is quite self explanatory, but I have some animation being done in a
I have 2 data template fields title and id, used for the HTML page
I have a query that attempts to find things within a certain geolocation, but
Title field is sealed. Any attempts to update the default value resets the value
As the title suggests I need a way to match more than one zero
How can I change the page title of an outer frame that is a

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.