Home > Archive > Visual Studio > April 2004 > Visual Studio 2003: Drops event handlers, events don't fire
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Visual Studio 2003: Drops event handlers, events don't fire
|
|
| Pho Bo Vien 2004-04-27, 7:56 pm |
| Visual Studio is a piece of crap.
It randomly will delete my event handlers in ASP.NET pages.
It will change public variables to protected.
It will not fire events that are correctedly defined in Init.
How can these fundamental items not be perfect -- this is a 2003 release
-- a major upgrade to the 2002 -- do people not test this software ???
| |
| Robert 2004-04-28, 9:46 am |
| Sometimes the 'Handles' statement gets dropped off the event for your control. This can occur if you mess around with the HTML generated code for your ASP form. Once this happens, the event (click, valuechanged, etc.) has no where to go. Make sure all
your 'Handles' statements are present.
Private Sub XYZ_Click(ByVal...) Handles XYZ.Click
|
|
|
|
|