Sunday, March 11, 2012

How can I able to Bypass Page Methods?

In page methods, check if the page is loaded in postback or not (http://msdn2.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx). When you click the button on the page IsPostBack == true.


Hi,

The partial page postback is severed by the page object too, it will also experience most of the page life cycle phases. It's not that easy to change this, and?is strongly recommended not to do so.
If you just need to execute a method, please put it in a Web Service, can call it from client.
Please refer to this for how:?http://msdn.microsoft.com/msdnmag/issues/07/01/ExtremeASPNET/default.aspx

Hope this helps.

No comments:

Post a Comment