I suggest you ...

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:



62 votes
Sign in
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Sam shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

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


Sign in
Sign in with: facebook google
Signed in as (Sign out)

Feedback and Knowledge Base