简体   繁体   中英

What's Difference between IsCallback and IsInAsyncPostBack

我在Google上找不到任何答案,也许这是一个愚蠢的问题:)

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM