Web Developer Tips
-
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.
-
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:
-
Tip #81: Did you know... How to use Web.Config transformation
With Visual Studio 2010 Beta1, we introduced a new feature called Web.Config transformation to help ease the development process of a web application. At different stages during the life cycle of a project, the user usually needs to modify some environment settings in the web.config file such as connection strings, application settings,... It can be hard to keep track of those settings and time-consuming to do so manually if the user keeps switching between development stages often. With the Web.Config transformation feature, the user can modify the web.config file seamlessly according to various server environments. Vishal has written a blog to provide detail about how to user this feature "Web Deployment: Web.Config Transformation".
-
Tip #80: Did you know… How to show JScript validation errors as warnings?
With Visual Studio 2008 RTM, JScript validation setting is an option on the HTML validation page on the Options dialog. Since Visual Studio 2008 SP1 and later, we added a new option page JScript on the Options dialog, see the blog "Introducing JScript Formatting in VS 2008 SP1" for more detail. With this change, now the JScript validation resides on its own tab "Miscellaneous" as shown below:
-
Tip #79: Did you know… How to quickly comment and uncomment in your web pages?
Select the lines you want to be commented in your ASPX, HTML, web config file etc and click on the Comment/ Uncomment icon in Toolbar.
-
Tip# 78: Did you know… How to navigate using Document Outline?
Document Outline window can be launched from the menu View -> Document Outline, or via short cut key Ctrl-Alt-T. The Document Outline window displays a nested, hierarchical tree of the elements and scripts on the page. It gives you a good overview of the page's content and its layout.
-
Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages?
-
Tip #76: Did you know… How to hide a non-visual control in your designer?
-
Tip #75: Did you know…How to maintain scrollposition after post back?
When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user automatically to the last position on the page.
-
Tip #74: Did you know…How to Add and Remove AJAX Extenders in Visual Studio 2008 Designer?
Tip#62 showed you how to add an AJAX Control Toolkit to your Toolbox.