Using Smart Tasks in the HTML editor

The HTML editor provides improved support for some of the server controls that used to have dialogues and wizards for their configuration and setup. Usually we had to do this from the design view or move our mouse to the properties to launch these configuration wizards.

With ASP.NET 4.5, we have them at our fingertips in our source code view.

Getting ready

In order to use this recipe you should have Visual Studio 2012.

How to do it...

In this recipe we are going to see how to activate and use the Smart Tasks in the HTML editor.

  1. Open our previous ASP.NET application or create a new one.
  2. Open the Site.Master page.
  3. Locate the <asp:ListView> server control that we added (or add a new one).
  4. Place our text input cursor in ...

Get Microsoft .NET Framework 4.5 Quickstart Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.