Keyboard shortcut to toggle between Markup and Code-behind

Viewed 1046

In vs2012, the f7 key toggles between the Markup and the Codebehind of aspx/ascx/masterpage files. Vs2013 used to behave the same way before I reinstalled my system. Now it will only go from Markup to Codebehind but never the other way. I can get it to switch to the HTML Designer but I'm not interested in that.

I tried to fix it with no avail. Here were my steps:

  1. Create a brand new Webforms project to ensure that corrupt aspx and aspx.cs files were not the root of the problem.
  2. Goto Tools > Options > Enviroment > Keyboard; there I set unique key bindings for ViewCode, ViewMarkup, and ViewDesigner.
  3. Goto Tools > Options > HTML Designer and check off "Enable HTML designer" and "Auto keyboard switching";
  4. Restart Visual Studio

I also tried importing my Keyboard settings from VS2012 into VS2013.

1 Answers
Related