views:

72

answers:

3

what is the main purpose of UpdatePanel in ASP.Net ? And what is the of Triggers tag in UpdatePanel ?

+2  A: 

An UpdatePanelis a set of components that you want to be affected by ajaxified updates in your webapplication. The triggers are what causes the panel of components to update.

If you want to know more about asp.net ajax and update panel please read How Ajax for ASP.NET updatepanels work.

Filip Ekberg
ok Thanks......
Sreejesh Kumar
+7  A: 

It allows you to perform a postback without the whole page being refreshed. Only the content of the UpdatePanel is refreshed.

http://msdn.microsoft.com/en-us/library/bb399001.aspx

stupid-phil
Thanks for the link.
Sreejesh Kumar
+1  A: 

Updatepanels are a quick way to get ajaxified, but beware of its drawbacks.

http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/

Steve