tags:

views:

31

answers:

2

Hello, Just wanted to know when using updatepanels if the whole page will be posted back or just the controls inside the updatepanel.

thanks

A: 

When you use UpdatePanel control, you can refresh selected parts of the page instead of refreshing the whole page with a postback usually referred as performing a partial-page update.

CodeToGlory
+1  A: 

Using the UpdatePanel, the entire page is posted back (with the addition of a form value specifying that it is a partial page postback). Most of the page lifecycle still runs (PreRender is not, however, and render only renders the UpdatePanel and all children).

Only the UpdatePanel is rendered and sent back to the client, so it only modifies that portion of the page.

Gabriel McAdams

related questions