Professional Documents
Culture Documents
unfurled
A wondrous curtain loosened on the windows
How ASP.NET Works of the world.
Then suddenly, like magic, …
Ten thousand lights flash out …
¾ Two types
¾ Page events
¾ Always triggered and always in a certain
specific order (see Page Lifecycle)
¾ Control events
¾ Associated with particular controls and only
triggered in certain circumstances.
View State 10 How ASP.NET Works
…
public partial class EventTest: Page
{
protected void Page_Load(object sender, EventArgs e)
{
msg1.Text = "In Page_Load<br/>";
}
}
Detecting Postback 22 How ASP.NET Works