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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:34:51+00:00 2026-06-07T11:34:51+00:00

What exactly happens when an UpdatePanel ‘s response is received by the client and

  • 0

What exactly happens when an UpdatePanel‘s response is received by the client and it renders on the page?

The motivation for this question is finding a proper solution for the problem brought up in this question and this jQueryUI ticket. Essentially, weird things happen when a jQueryUI datepicker is attached to a TextBox in an UpdatePanel and is open when that UpdatePanel updates.

This question and its linked article suggest that it’s nothing more than this:

document.getElementById('updatePanelContainer').innerHTML = responseHtml;

But I’ve tried that in this jsfiddle and the datepicker just completely stops working except for the Done button; the behavior I’m seeing with the partial postback is that the datepicker still works, but its state is taken out from under it. When I debug it with the jQueryUI non-minified code, I see that the drawYear and drawMonth properties lose their values (become 0).

In playing around with Firebug and watching as a partial postback occurs, I’ve noticed the following changes in the page:

  • Some of the input’s properties in the DOM tab of Firebug go away, such as:
    • accessKeyLabel
    • parentElement
    • clientHeight
    • clientLeft
    • clientTop
    • clientWidth
    • form
    • nextSibling
    • offsetHeight
    • offsetLeft
    • offsetParent
    • offsetTop
    • offsetWidth
    • parentNode
    • previousElementSibling
    • previousSibling
    • scrollHeight
    • scrollWidth
  • A bunch of hidden span elements get added to the bottom of the page that contain hidden fields with ASP.NET info in them (seems similar to __VIEWSTATE)
  • The content of the update element changes in small ways (spaces vs tabs, maybe)

UPDATE: I managed to get the repro working; they key is to reinitialize the datepicker after recreating the input it’s bound to. See the latest revision of the jsfiddle mentioned above. I’d still like to know, though, if there’s anything special that the partial postback does.

  • 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-07T11:34:52+00:00Added an answer on June 7, 2026 at 11:34 am

    A partial postback simply sends back the appropriate HTML for the div within the UpdatePanel, and that html is replaced with the response. The full postback lifecycle still occurs on the server, so you must be careful when updating controls outside of your UpdatePanel as those changes will not reflect on the client but can have unintended side effects.

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

Sidebar

Related Questions

Inspired by this question , I was trying to find out what exactly happens
I hope this is programming-related enough. What exactly happens during the shutdown process of
What is E+3 ? What exactly happens here? Can we use this approach in
What exactly happens when I do this...? NSData *data = [[NSData alloc] initWithContentsOfURL:[NSURL urlWithString:@...]];
Exactly what happens in TrackViewState Page Event Method in ASP.NET. How it differs from
What exactly happens, in terms of memory, when i declare something like: char arr[4];
I have the following issue and I would like to know what exactly happens.
What happens exactly when I launch a .NET exe? I know that C# is
Does anyone know exactly what happens when you change your Zend site at, say,
What exactly happens when i perform casting on reference types and values types and

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.