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#96: Did you know…You could publish your SQL databases using the SQL Publishing Wizard?

You can use the SQL Publishing wizard in VS 2008/VWD 2008 to deploy a local database from your development machine to a hosting environment on a remote machine. This is how you will accomplish this: Step 1: Create a new web site by selecting menu File ->New Web Site. Switch to Server Explorer and add…

4

Tip #86: Did you know… Visual Studio has several different search options?

The standard methods for searching can be found under the Edit –> Find and Replace menu. The “Quick Find” method (Ctrl+F) allows users to search inside of the current document, all open documents, the current project, the entire solution, and the current block by changing the Look in selection.   If you set Look in…

2

Tip #81: Did you know… How to Select the CSS Schema for Intellisense and CSS Properties?

In Visual Studio 2008, there is a Style Sheet Toolbar (visible only when a CSS file is active) which allows the user to select a CSS Schema, as seen in this screen shot:   However, this setting only affects the CSS editor, not the Intellisense in aspx or html files, nor the properties/values displayed in…

2