Dear Friends,
When we add any new ASP.Net page in solution, By default we will get Page_Load event in the code behind file. But if we want to add other Page Life Cycle events and write some logic on it, here is the way to do it.
1. Open Solution Explorer
2. Select the Asp page on which you want to add events
3. Right click on page and select View Component Designer as follows
4. Then click on the Properties or Press F4 button and click on the yellow button to get list of all page life cycle event as follows
Happy coding.....
When we add any new ASP.Net page in solution, By default we will get Page_Load event in the code behind file. But if we want to add other Page Life Cycle events and write some logic on it, here is the way to do it.
1. Open Solution Explorer
2. Select the Asp page on which you want to add events
3. Right click on page and select View Component Designer as follows
4. Then click on the Properties or Press F4 button and click on the yellow button to get list of all page life cycle event as follows
Happy coding.....
No comments:
Post a Comment