开发者

Is it possible to avoid LoadPostBackData event from ASP.Net Page life cycle

开发者 https://www.devze.com 2023-04-12 06:50 出处:网络
Is it possible to avoid the execution of LoadPostBackData event while PostBack happens. If it possible, how to impl开发者_如何学Pythonement that.

Is it possible to avoid the execution of LoadPostBackData event while PostBack happens. If it possible, how to impl开发者_如何学Pythonement that.

Thanks


You can create your own control and not implement the IPostBackDataHandler.


For a single page or control? You can always override the method, then not call the base method implementation, but that will have repercussions.

Just out of curiosity, why would you want to do that?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号