I often hit F7 when viewing the .aspx page I am working on to get to the code-beind, but sometimes just out of natural habit I hit F7 again (not sure why, but it happens often enough to be frsutrating). Hitting F7 on the code-behind switches to design view for the .aspx which often times takes a while to render.
I already have ‘source view’ as the default open, but I would like F7 when in the code-behind to swap back to the .aspx source instead of design… is this possible?
http://www.codeproject.com/KB/macros/ToggleAspNetCodeBehind.aspx?print=true
with the following modifications should be what you need:
Reference: http://social.msdn.microsoft.com/forums/en-US/csharpide/thread/90ccfd68-c083-49a4-947a-03178d6af288/