rowmark
rowmark

Reputation: 237

ASP.net Ajax Postbacks

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

thanks

Upvotes: 1

Views: 265

Answers (2)

Gabriel McAdams
Gabriel McAdams

Reputation: 58293

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.

Upvotes: 1

Srikar Doddi
Srikar Doddi

Reputation: 15609

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.

Upvotes: 0

Related Questions