开发者

ASP.NET Page life cycle: methods vs Events

Can someone please explain to me the 开发者_开发问答difference between methods and events in the ASP.NET page life cycle?


When a page runs a series of methods are executed. These methods in turn raise events that can be handled by the user to perform various tasks like initializing controls, populating control properties, executing control behavioral code, etc.

Here is an excellent flowchart from MSDN that shows the different methods that are executed, and the events that are raised from those methods:

ASP.NET Page life cycle: methods vs Events

For more information about the ASP.NET Page Lifecycle, see the full overview on MSDN:
http://msdn.microsoft.com/en-us/library/ms178472.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜