Tip#102: Did you know… How to specify tag specific formatting

Let’s see this with an example.  I have the following html code on my page. Now if I format the document by selecting Edit –> Format document (or Ctrl K, Ctrl D) The document becomes I want the content inside td should remain on the same line after formatting the document. Following steps would show…

2

Tip#101: Did you know… How to scope Theme

Themes are a way to define properties of pages and controls, and can be used to provide consistent look across pages. There are several different levels of applying a theme to an individual control, a page, or an application. Control Level Define a named skin (an entry in a .skin file having the SkinID property…

4

Tip#100: Did you know… How to view ASP.NET trace information?

You can enable ASP.NET tracing either at an Application level or at a page level; see Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages? for more information. With the tracing enabled, you can view the trace output in a trace viewer by navigation to trace.axd from the root…

9

Tip#97: Did you know… How to Display Hidden Information in Design View

The design view in Visual Studio can display glyphs and borders for the hidden non – graphic elements (such as div, span, form, and script elements). This feature helps you to see where the elements are and avoid inadvertently deleting the non-graphic elements from your page while editing. To enable it in designer click on…

4

Tip#85: Did you know… You can now do Multiple Selection of controls in your Designer with VS 2008 SP1?

Visual Web developer 2008 SP1 supports multiple selection of controls on your designer using Ctrl+Click. You can see that the designer: Displays the primary selected control with a white tab. Button3 in the image below. Enable you to set property for the selected controls using Property Grid. Note that the property grid would show you…

0

Tip #67: Did you know the list of ASP.Net MVC shortcuts?

Add Controller (Ctrl-M Ctrl-C) Add Controller is a simple dialog box that lets you quickly add controllers to ASP.Net MVC Applications. Right-Click the ‘Controllers’ folder or simply press Ctrl-M Ctrl-C to invoke this dialog. Add View (Ctrl-M Ctrl-V) The Add View is the easiest way to add views to an ASP.Net MVC Application. Right-Click from within an Action Method…

7