if your talking about what I think ur talking, the way I do it is pretty
easy. First, I disable AutoWireUp. Then I override OnInit and I hook up my
events in there like it was in 1.1
protected override void OnInit(EventArgs e)
{
Send.Click += new EventHandler(Send_Click);
base.OnInit(e);
}
i actually changed the templates used in vs.net 2005, you can find them all:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplates\Web\CSharp\1033 and modify them. i had some
problems with the cache of those, located
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplatesCache\Web\CSharp\1033
but it eventually all worked out,not quite sure how to be honest :)
Karl
--
http://www.openmymind.net/
"SimonZ" <si*********@studio-moderna.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
In ASP.NET 2.0, C# I can see object events only in design view.
That is very disturbing. I don't use design view at all. I work with
source view and code behind.
If you change language to VB.NET that you can see events also in code
behind.
In asp.net 1.1 that works.
Any idea?
regards,S