Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 Shortcut keys From aspx to Code Behind and Code Behind to aspx

I want to know the shortcut keys to access from Code-Behind to aspx and aspx to Code-Behind pages.

like image 484
theChampion Avatar asked Jun 13 '13 18:06

theChampion


People also ask

How do you relate an ASPX page with its code behind page?

aspx page must specify to inherit from the code-behind base class. To do this, use the Inherits attribute for the @ Page directive. The . aspx page inherits from the code-behind class, and the code-behind class inherits from the Page class.

What is Ctrl Shift F in Visual Studio?

Ctrl-Shift-F is used to find all the ocuurance of a string with in entire solution and display find result window as shown below. Ctrl-F is used to find a string in the current document, project and all open documents one by one.


1 Answers

A rather clear reply

  1. From .ASPX page to code behind press F7

  2. From CodeBehind to ASPX Page press Shift+F7

When .aspx page is shown, Designer view is shown by default. To see the source code, click "source" tab at bottom. Or use Ctrl+PageUp/PageDown keys to cycle through source, split and designer view.

like image 161
Hammad Khan Avatar answered Oct 27 '22 01:10

Hammad Khan