Who set IsPostBack to asp.net

I want to know in which event or asp.net process the page sets / updates the value of IsPostBack. How does a page calculate value?

+3
source share
2 answers

There are two overriden methods LoadPostData and RaisePostDataChangedEvent in all controls that implement the IPostBackDataHandler interface. The same is checked by ASP.Net at page load time.

Once the HTTP page handler class is fully identified, the ASP.NET runtime calls the ProcessRequest handler to process the request.

ProcessRequest : , ,

, , . , . , IPostBackEventHandler ( ), RaisePostBackEvent.

ASP.Net

.

,

+4

IsPostBack ASP.NET. IsPostBack . IsPostBack varaible PreInit. , ASP.NET. msdn .

+1

Source: https://habr.com/ru/post/1766182/


All Articles