4 April 2013

Difference between PostBackTrigger and AsyncPostBackTrigger in ASP.NET

 Difference between PostBackTrigger and AsyncPostBackTrigger in ASP.NET


Specifies a control and event that will cause a partial page update for the UpdatePanel that contains this trigger reference.
Specifies a control and event that will cause a full page update (a full page refresh). This tag can be used to force a full refresh when a control would otherwise trigger partial rendering.

PostBackTrigger

Use the PostBackTrigger control to enable controls inside an UpdatePanel to cause a postback.


Uses of AsyncPostBackTrigger
  • For controls that are outside a panel.
  • For controls that are inside a panel when the ChildrenAsTriggers property is false.
  • For controls that are inside nested panels, in order to cause a refresh of parent panels.

No comments:

Post a Comment

Comments Welcome

Consistency level in Azure cosmos db

 Consistency level in Azure cosmos db Azure Cosmos DB offers five well-defined consistency levels to provide developers with the flexibility...