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:
- Create a brand new Webforms project to ensure that corrupt aspx and aspx.cs files were not the root of the problem.
- Goto
Tools > Options > Enviroment > Keyboard; there I set unique key bindings for ViewCode, ViewMarkup, and ViewDesigner. - Goto
Tools > Options > HTML Designerand check off "Enable HTML designer" and "Auto keyboard switching"; - Restart Visual Studio
I also tried importing my Keyboard settings from VS2012 into VS2013.