User control not updating on postback

Data is being saved on the table when the save button is clicked but the Data List is not updated unless I refresh the browser. Here is my ASP code: Ajax Update Panels and datalists I have 2 datalists: datalist1 (inside Update Panel1 with Update Mode as conditional) datalist2 (outside Update Panel1) On click of an Image Button in datalist2, I am executing the datalist2_Item Command event handler & adding some data in the database.

After which in the same code, I am calling the Data Bind() on datalist1 and then calling Update() method on Update Panel.

Gary Very Frustrated - app is working in dev not prod 909-631-1017 please call Hi Gary, Can you please inspect your browser's console and see if there are any errors on the page, once you initiate a postback?

If the loading panel is displaying as expected and the issue is with the update of the grid only, I could only speculate that there is some error that is preventing the update.

If you continue to experience issues with this, please open a regular support ticket and elaborate on your exact scenario.

The second user control is used for displaying details of selected object - there is an Update panel, in which there is a Form View. Update Panel Not Updating on Update Man that's a lot of the word update...anyway, the code speaks for itself. Can anyone provide some sample code on how to do this? Hi, you need to register the Button which should cause normal postback, as a postback trigger. AJAX Update Panel and Validators Hi Folks, I bumped into the updatepanel/validator control issue yesterday and solved the problem by grabbing the updated validators project as per the pinned post at the top of this forum (

When some object is selected in the first user control, then I am firing my event, which causes update of the second one. I can't figure out the update panel won't update. There’s probably a good explanation why, but I don’t know it. I have two user controls on my page, both within Update Panels. I what I need to know is how to force a postback for the full page so that the textbox is updated with the assigned text from the grid row. That said, in the post and in Scott Guthrie's blog there is mention of an official patch to ASP.

Search for user control not updating on postback:

user control not updating on postback-69user control not updating on postback-36user control not updating on postback-71user control not updating on postback-70

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “user control not updating on postback”