Dec 28, 2008
Overtime C# source code files may have unnecessary & unorganized using directives. Visual Studio IDE organize using options can help you to unclutter the source code. To organize the C# code right click anywhere inside the code editor, select Organize...
1 comments
Tags: Visual Studio 2008VS2008tips and tricksVisual StudioDeepak VermaEditor
Dec 16, 2008
Here is an example to add intellisense for JS files in VS 2008. So, you have two Javascript files Jscript1.js with the following code function validateForm() { } and Jscript2.js (wherein you want current JScript file to show intellisense including objects...
2 comments
Tags: Visual Studio 2008VS2008tips and tricksVisual StudioASP.NETDeepak VermaAjax
Dec 05, 2008
VS 2008 and VWD 2008 both support Nested Master Pages which means you can have a Base Master page which would cater to the whole site and then you can further customize these Base Master Pages. Here is how you do it: 1. Create a BaseMasterPage.master...
3 comments
Tags: Visual Studio 2008VS2008VWDtips and tricksVisual StudioASP.NETVSTS
Dec 02, 2008
Visual Studio makes it very easy to create item and project templates with the Export Template Wizard. Open the wizard by selecting Export Template... from the file menu. Note: For this tip I am using the Jobs Site Starter Kit . After selecting Export...
1 comments
Tags: Visual Studio 2008VS2008VWDtips and tricksVisual StudioVSTSTemplates
Dec 01, 2008
It's always good to have friendly URL so that people visiting your site find it easier to remember. Asking your user to remember http://www.contoso.com/article.aspx?id=342&title=URL-Rewrite-Walkthrough for URL Rewrite walkthrough is not the nicest...
3 comments
Tags: tips and tricksIISURL RewriteUser friendly URL
Nov 26, 2008
In VS 2005, you can drag and drop an extender control anywhere on the design surface. However, in VS 2008, you can drop an extender only on an ASP control which the extender can extend its functionality. When you drag an extender and hover it over a control...
1 comments
Tags: Visual Studio 2008VS2008VWDtips and tricksDesignerASP.NETVSTSAjax
Nov 26, 2008
If you want to edit your WAPs while debugging them, here is how you do it: 1. Check the “ Enable Edit and Continue ” checkbox in the Web Properties page. 2. Check the “ Enable Edit and Continue ” checkbox under Tools->Options->Debugging->Edit...
1 comments
Tags: Visual Studio 2008VS2008VWDtips and tricksVisual StudioWAPVSTS
Nov 25, 2008
If you have a style defined as Class = ”fooRed” as shown below and want to quickly know what does fooRed style contain? < div class ="fooRed"> In RED </ div > Just place your cursor on fooRed and hit the F12 button...
0 comments
Tags: Visual Studio 2008VS2008tips and tricksVisual StudioCSSCSS and HTMLEditor