Skip to main content

ASP.NET Life Cycle Events - In which event IsPostBack property checked ? Interview Question/Answer

In which event IsPostBack property checked ?

Ans : PreInit. 

Explanation : 

In this event IsPostBack property validated. If it is true, then value are restored in controls from the ViewState.

If it is false, then value are overwritten by next event.

Also in this PreInit, It will create dynamic controls.

It sets Master Page dynamically & theme property.





Comments

Popular posts from this blog

UiPath : Publish your package from Production Running Machine

UiPath : Publish your package from Production Running Machine Prerequisite : 1. Have to analyse the Machine Schedule first. 2. If you dont know the schedule, Search the Machine name in Jobs. So that you can see Source(i.e., Schedule Name which responsible for the trigger) 3. Then disable that schedule. If more than one machine allocated in the same schedule then remove the particular Machine from the schedule and update. 4. And you have to check whether the machine is already running or not. You can do this in Jobs 5. If the machine already running, do "Stop" 6. Now you are ready for doing changes in production machine itself. Steps to Publish package from Production Machine: 1. Open the machine with the Process ID which ROBOT already configured. 2. Then take the latest package which is published in Orchestrator. 3. If you are unable to find the latest package, then you have to find it via Packages. 4. Check the same version in the Machine folder "C:...