Allow C# to add Event handlers to classes using codebehind navigation bar the same way as in VB.NET
In VB.NET, when you use the navigation bar (the two drop down boxes) at the top of a class/codebehind file, you select the object in the left drop down, and see a list of available events for that object type in the right drop down (regardless if they have handlers attached to those events), when you select one of those events, a new event handler will be written for you in the code, or if a handler already exists, that handler gets scrolled into view.
In C#, this behaviour does not exist, and it assumes the programmer knows the name of event from memory, rather than discovering it with intellisense. You have to use the Page_[eventName] name.
This feedback filed on Connect (before I saw UserVoice):
See discussion (with screenshot):
Previous (closed) feedback, from 2004, but still not addressed:
Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
- The Visual Studio Team
There is a more comprehensive request on the same topic:
Richard Moore commented
Moving from VB.Net, can't believe C# does not have this feature! Deffo needs to be added ASAP.
Definitely! Seems like a fire-breathing, kitchen-sink-containing IDE should have this SIMPLE feature!
Sam we do need this feature...Thanks for raising your voice