Opening the Source Editor

Topic updated 16-3-2007

The Source Editor can be opened for a project item that generates source code in the following ways:

1.Right-click the project item and choose Source from its context menu.
2.Select the project item and use the Ctrl + S key-shortcut.

 

All project items that generate source code have the Source menu option.

main_sourceeditor_open

 

Opening the Source Editor from other windows

There are several ways to open the Source Editor from other windows:

Right-click anywhere on a page in the WebForm Designer and choose View Source from the context menu.

Double click a specific control in the WebForm Designer, this will open the Source Editor and display the default event of the control. The default event is added to the source code if it wasn't present yet.

Click an event in the WebForm Designer's Event Pane.