开发者

What's Difference between IsCallback and IsInAsyncPostBack

开发者 https://www.devze.com 2022-12-23 04:25 出处:网络
I can\'t find any answer yet on google maybe it\'s a stu开发者_StackOverflowpid question :)Page.IsCallBack

I can't find any answer yet on google maybe it's a stu开发者_StackOverflowpid question :)


Page.IsCallBack

It is getting a value indicating whether the page request is the result of a call back. Its a special postback, so a round-trip always occurs; however, unlike the classic postback, the script callback doesn’t redraw the whole page. ViewState is not updated during a callback, it is for postback. IsPostBack is true when a method in the code behind posts a page

IsInAsyncPostBack

Gets a value that indicates whether the current postback is being executed in partial-rendering mode.

0

精彩评论

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

关注公众号