Page.IsCallBack
This value indicates whether the page request is the result of an Ajax call. This is one kind of special postback, so a round-trip always occurs. The difference from PostBack is, its does not reload the whole page again.
Also, ViewState is not updated during a callback. The Page.IsCallback property will only return true only when the request is an Ajax call.
Page.IsPostBack
This is the page property to check whether it is accessing the server for the first time or not. Unlike the IsCallBack, this will update the ViewState.
The important thing to note here is Page.IsPostback property will return true for both IsPostback and IsCallback request types.
This is the page property to check whether it is accessing the server for the first time or not. Unlike the IsCallBack, this will update the ViewState.
The important thing to note here is Page.IsPostback property will return true for both IsPostback and IsCallback request types.
1 comment:
IsPostBack is a property of the Asp.Net page that tells whether or not the page is on its initial load or if a user has perform a button on your web page that has caused the page to post back to itself.
http://net-informations.com/faq/asp/ispostback.htm ispostback
ling.
Post a Comment