What is the difference between Page.IsPostBack and Page.IsCallBack?

前端 未结 5 680
南方客
南方客 2020-12-07 18:51

I\'ve recently ran into some code that checks Page.IsCallBack but I wasn\'t sure how it is different from Page.IsPostBack. Can anyone enlighten me?

5条回答
  •  孤街浪徒
    2020-12-07 19:34

    IsPostBack is true when the page is posted via a form method

    IsCallBack is true when the page has been called back from an AJAX call.

提交回复
热议问题