PDA

View Full Version : چهار رویداد مهم



azam2005
پنج شنبه 25 خرداد 1385, 12:11 عصر
سلام میشه در مورد چهار رویداد زیر توضیح دهید
new-1
2-init
3-PreRender
4_Unload
برای ساخت کلاسها مثل اینکه new از پیش تعریف شده است و وقتی آن را مینویسیم آبی میشود

azam2005
سه شنبه 21 شهریور 1385, 16:40 عصر
کسی نمیدونه

titbasoft
سه شنبه 21 شهریور 1385, 20:03 عصر
Page_Init: The server controls are loaded and initialized from the Web form’s view state. This is the first step in a Web form’s life cycle.

Page_Load: The server controls are loaded in the Page object. View state information is available at this point, so this is where you put code to change control settings or display text on the page.

Page_PreRender: The application is about to render the Page object.

Page_Unload: The page is unloaded from memory.

Page_Disposed: The Page object is released from memory. This is the last event in the life of a Page object.

Page_Error: An unhandled exception occurs.

Page_AbortTransaction: A transaction is aborted.

Page_CommitTransaction: A transaction is accepted.

Page_DataBinding: A server control on the page binds to a data source