To view HTML code for an individual control

1. With a new ASP.NET application open, click, drag, and drop an HTML element from the Tool Palette to the Web Form Designer surface.

The editor displays the HTML code, highlighted in a red font, for this control in its gray header bar.

2. To view the individual control's code, click anywhere on the Web Form Designer surface to deselect the control.

The HTML code appears in the tag editor window, with syntax highlighting. The gray header of the tag editor now displays the higher level tag, usually the FORM tag that defines this particular Web Form.

Note: If a control is defined using several lines of HTML code, when you select the control, the first line of the code is displayed in the gray header of the tag editor. The additional code appears below in the tag editor window.

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment