|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Good diagram showing asp.net events?Hello
I'm currently looking for a diagram that shows the event we can register with asp.net. I'm currently a bit lost with when they are fight and which one are our disposal..... Thanks, José José,
I believe you want to see a diagram of the ASP.NET lifecycle. Below are some places you may find that. To easily get at the events you can do a few of things... In C#, type "protected override void " and Intellisense will kick in and give you lots of options. Instead of overriding the method, you may instead type "this.Load += " and then hit the tab key. That will also activate a useful wizard. In VB.NET you can actually see all of the event handlers in the drowndown lists at the top of the editor window. The ones you are not currently coding are in gray and by clicking on it Visual Studio will add it to your code and place your cursor that. When I went back to C# from VB.NET that was the feature I miss most. Here is a diagram... http://www.eggheadcafe.com/articles/20051227.asp And here is a description... http://www.csharper.net/blog/page_lifecycle_methods_in_asp_net_2_0.aspx Here are the official docs. http://msdn2.microsoft.com/en-us/library/ms178472.aspx Brennan Stehling http://brennan.offwhite.net/blog/ José Joye wrote: Show quoteHide quote > Hello > > I'm currently looking for a diagram that shows the event we can register > with asp.net. > I'm currently a bit lost with when they are fight and which one are our > disposal..... > > > Thanks, > José Hello,
Many thanks! This is exactly what I was looking for. - José "bren***@offwhite.net" <offwh***@gmail.com> wrote in message I believe you want to see a diagram of the ASP.NET lifecycle. Belownews:1157609973.364693.183890@h48g2000cwc.googlegroups.com... José, are some places you may find that. To easily get at the events you can do a few of things... In C#, type "protected override void " and Intellisense will kick in and give you lots of options. Instead of overriding the method, you may instead type "this.Load += " and then hit the tab key. That will also activate a useful wizard. In VB.NET you can actually see all of the event handlers in the drowndown lists at the top of the editor window. The ones you are not currently coding are in gray and by clicking on it Visual Studio will add it to your code and place your cursor that. When I went back to C# from VB.NET that was the feature I miss most. Here is a diagram... http://www.eggheadcafe.com/articles/20051227.asp And here is a description... http://www.csharper.net/blog/page_lifecycle_methods_in_asp_net_2_0.aspx Here are the official docs. http://msdn2.microsoft.com/en-us/library/ms178472.aspx Brennan Stehling http://brennan.offwhite.net/blog/ José Joye wrote: Show quoteHide quote > Hello > > I'm currently looking for a diagram that shows the event we can register > with asp.net. > I'm currently a bit lost with when they are fight and which one are our > disposal..... > > > Thanks, > José
Other interesting topics
ASP.NET 2.0: Global.asax code-behind and web deployment project problem
Problem with .aspx file types Disco Not Compiling? pass dataset field to an int... Ignore SqlBulkCopy errors Parse FTP url How to catch an error from a ASCX control Need bin directory in my web to add httpmodule Column does not belong to table error POST |
|||||||||||||||||||||||