If you are an ASP.NET developer you should definitely understand the Page's Life Cycle stages and all events raise during that cycle. Server controls also raise their own events and because of the fact that their life cycle is strongly connected to the Page's one, you must know the exact page's stage and event to dynamically initialize them or populate their properties. This post will try to make things a little bit more clearer. Open Visual Studio and create a new empty ASP.NET website. You will need only one page to run the examples so go and add a new web form. You may leave it's default name. Make sure the "Place code in separate file checkbox" is checked. Switch to the Source view and add a table with one row and two columns as follow. Add a button in order to cause PostBacks. The first thing we gonna see is the Page's Life Cycle events and the order they occur when the page is requested for first time or during a PostBack.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,ASP.Net, ASP.NET Page Life Cycle
</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,ASP.Net, ASP.NET Page Life Cycle
0 Comments