I want to know in which event or process asp.net page set/update the value of IsPostBack.
How page figure out it value?
I want to know in which event or process asp.net page set/update the value
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is two overridable methods LoadPostData and RaisePostDataChangedEvent method in all the controls that implements the IPostBackDataHandler interface. The same are checked by ASP.Net while the Page loads.
Once the HTTP page handler class is fully identified, the ASP.NET run time calls the handler’s ProcessRequest method to process the request.
Next, ProcessRequest makes the page transit various phases: initialization, loading of view state information and postback data, loading of the page’s user code and execution of postback server-side events
There is an excellent and detailed article about ASP.Net Page cycle here
You can find more details there.
Happy Programming,