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…
Tag: Visual Studio 2008
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…
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…
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…
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…
Tip #92: Did you know … How to select a master page using ‘Select a Master Page’ dialog?
Master page for a Web form can always be set manually in the source code, but here is an option to select the master page while create the webform using the ‘Select a Master Page’ dialog. The path to select a Master page using the ‘Select a master page’ dialog is different for a Web…
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…
Tip #84: Did you know… How to set a Start page for your Web Site in Visual Web Developer?
As you are developing your site, you may want to start at a particular page for testing your web site. By defaults, when you start debugging, Visual Studio runs the page that was currently in focus in your designer. If you set this page, Visual web Developer will start your web site with the Set…
Tip #82: Did you know… How to migrate Visual Studio 2005 Web Application Project to Visual Studio 2008
Following steps highlight how a Visual Studio 2005 Web application project can be migrated to Visual Studio 2008. Take backup of the original project Open Visual Studio 2008 Click File -> Open Project and browse to the folder to open the project You will receive the following conversion wizard to help you convert the solution…
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…