protected void Page_PreInit(object sender, EventArgs e) { //Master Page settings,New User Controls,Themes //And what Else...? } protected void Page_Init(object sender, EventArgs e) { // what Actions ..? //Give me a list of examples.. that can performed only in this event handler } protected void Page_InitComplete(object sender, EventArgs e) { } protected void Page_PreLoad(object sender, EventArgs e) { } protected void Page_Load(object sender, EventArgs e) { } protected void Page_LoadComplete(object sender, EventArgs e) { }
protected void Page_PreInit(object sender, EventArgs e) { //If i have a textbox with id t1, then eventhogh it is not initialized in this event(Untill Init event) then how am able to accessing the properties here string text=t1.Text; } protected void Page_Init(object sender, EventArgs e) { string text=t1.Text; //It should possible }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)