In ASP.NET Page life cycle, where Page_PreInit and Page_Prerender events can be useful?
Page_PreInit event is the first event in Page Life Cycle, which can be used to set master page or theme for a webpage.
Page_Prerender event is the final event, which can be used to make any changes to the page or controls inside the page. making any changes to any control after this event will not be effective
ASP.NET Interview questions · · · ·