markknowsley
Programmer
I have two DropDownLists on a web form:
List1
List2
and each has their own event handler:
List1_SelectedIndexChanged
List2_SelectedIndexChanged
there is also a third event handler which is for a list on a different section of the page
List3_SelectedIndexChanged
These event handlers are correctly assigned in the asp code. So I change List1, which fires its event handler (part of this is to enable List2 if SelectedIndex > 0) correctly. I now pick an option from List2 - but it refuses to fire its own event handler, and fires List3_SelectedIndexChanged instead.
I've had problems with Visual Studio 'adding code' before but never this bad - which I'm assuming is what's happening here. I remember in VS2003 there was an auto-generated code section where the event handlers were created and could be switched between controls - but this feature seems to have gone in VS2005.
Does anyone know how I can fix this?
List1
List2
and each has their own event handler:
List1_SelectedIndexChanged
List2_SelectedIndexChanged
there is also a third event handler which is for a list on a different section of the page
List3_SelectedIndexChanged
These event handlers are correctly assigned in the asp code. So I change List1, which fires its event handler (part of this is to enable List2 if SelectedIndex > 0) correctly. I now pick an option from List2 - but it refuses to fire its own event handler, and fires List3_SelectedIndexChanged instead.
I've had problems with Visual Studio 'adding code' before but never this bad - which I'm assuming is what's happening here. I remember in VS2003 there was an auto-generated code section where the event handlers were created and could be switched between controls - but this feature seems to have gone in VS2005.
Does anyone know how I can fix this?