Page Life Cycle - Guess the correct answer

In which stage of general page life cycle, 'IsPostBack' property is set?

1) Page Request
2) Start
3) Load
4) Validation
5) Rendering

Answer: Option 2: Start

Explanation: In the Start step, page properties such as Request and Response are set. At this stage, the page also determines whether the request is a postback or a new request and sets the IsPostBack property.

External Link: Page Life Cycle in ASP.NET

No comments:

Post a Comment