Tuesday, April 21, 2009

What is the way to identify if page is Post back?

Page.IsPostBack can be checked to determine if there is page post back? In case of postback, it returns true. The redundant piece of code which is not require during postback can be written inside conditional block after checking Page.IsPostBack.

Details: http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx

No comments: