Skip to content
February 5, 2011 / pauldundon

Force Full Page Postback with UpdatePanel

The Problem: You have an UpdatePanel on an ASP.NET page. It hosts a control which fires an event which you need to have trigger a full page postback and not just a partial update.

The Solution: Find the ScriptManager instance on your form and call its RegisterPostbackControl method, passing in the control you want to have fire the postback.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: