Showing results for tips and tricks - .NET Blog

Apr 27, 2008
0
0

Workaround: Empty Design View for User Controls

Web Development Tools Microsoft
Web Development Tools Microsoft

I've noticed quite a few people run into the issue "Why is design mode empty for my web user control (ASCX)?".  It's not obvious what might be causing this bug, so I thought I'd offer an explanation and a couple workarounds. Problem You have a user control that has a "link" tag to an external style sheet or a "style" tag with local styles...

ASP.NET
Mar 12, 2008
0
0

Tips & Tricks: Upgrading Projects from ASP.NET MVC Preview 1 to Preview 2 (MIX 2008)

Web Development Tools Microsoft
Web Development Tools Microsoft

  If you previously had ASP.NET MVC Preview 1 (CTP 1) and had already created a few projects on it then you might have to take this additional step to convert your project to ASP.NET MVC Preview 2 (MIX 2008) [After installing MVC Preview 2 (Resources here)]. In ASP.NET MVC Preview 2 we introduced a special MVC Project flavor GUID for MVC Pro...

ASP.NET
Mar 11, 2008
0
0

Absolute and relative positioning in Visual Web Developer 2008 designer

Web Development Tools Microsoft
Web Development Tools Microsoft

Design view in Visual Studio and Visual Web Developer Express 2008 provides several tools that help with absolute and relative positioning of controls. I'd like to describe how do they work and what kind of visual hints the designer provides.How do I set my control position to absolute? Use Format | Position menu: Unfortunately,...

ASP.NET
Jan 31, 2008
0
0

JScript IntelliSense: Handling Errors

Web Development Tools Microsoft
Web Development Tools Microsoft

I often get the question “Why isn’t IntelliSense working?”.  The most common cause is an error in one of the referenced scripts.  If there was an IntelliSense update error, the status bar will tell you. Given this situation, the Error List  will complement the status bar with one of two messages. Error Message 1: A script failed to ...

ASP.NET
Dec 31, 2007
0
0

Spell checker update 2.1: a few bug fixes and couple of new features

Web Development Tools Microsoft
Web Development Tools Microsoft

Note: this post is obsolete. Please use newer version: http://blogs.msdn.com/webdevtools/archive/2008/11/29/spell-checker-update-2-2-full-support-for-vs-2008-sp1-simpler-setup-and-a-few-bug-fixes.aspx Bug fixes: New features: More details here Visual Studio 2005 Add-in downloadVisual Studio 2008 Add-in download &n...

ASP.NET
Dec 23, 2007
0
0

Tips & Tricks: Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution

Web Development Tools Microsoft
Web Development Tools Microsoft

If you have more than one project in your solution you can use following options of solution properties to set your start up actions...  You can get the below dialog by right clicking your solution and going to its properties:   If you have more than one Web project (either Web Site, WAPs or both) in your solution and choose to start onl...

ASP.NET
Dec 13, 2007
0
0

Workaround: Debugging Global.aspx.cs Application_Start() with ASP.Net Web Server within Visual Studio

Web Development Tools Microsoft
Web Development Tools Microsoft

When you add a global.asax file to your "Web Application Projects (WAPs) like below: and then write code in Application_Start event and try to debug it like below using Visual Studio inbuilt Development Web Server   Then during your first debug the breakpoint is hit but during your subsequent debug runs the breakpoint is not hit. The reason ...

ASP.NET
Sep 17, 2007
0
0

Tip/Trick: ASP.NET Mobile Development with Visual Studio 2008

Web Development Tools Microsoft
Web Development Tools Microsoft

If you are using Visual Studio 2008, you might have noticed that it doesn't have item templates for ASP.NET Mobile Web Forms (which were previously available in Visual Studio 2003).   To help users with this scenario, I've created the following item templates for ASP.NET Web Site and ASP.NET Web Application projects: Mobile Web For...

ASP.NET
Aug 2, 2007
0
0

Orcas Beta2 Gotcha: No ASP.NET controls in toolbox, no ASP.NET intellisense/validation on pages

Web Development Tools Microsoft
Web Development Tools Microsoft

We’ve heard a few reports of cases with VS Orcas Beta2 where ASP.NET controls do not show up on the toolbox and ASP.NET tag intellisense and validation is broken in HTML source view.  All of the cases reported so far have been with Vista.  The root cause of this is that the Orcas Beta2 version of System.Web.Dll did not get installed corre...

ASP.NET
Jul 30, 2007
0
0

Workaround for Beta 2 JavaScript IntelliSense and Colorization Issue

Web Development Tools Microsoft
Web Development Tools Microsoft

We have discovered that in a very limited number of setup scenarios of Visual Studio 2008 Beta 2, Jscript IntelliSense and Colorization may not work property after installing the product. You will get no IntelliSense in JavaScript code, and all JavaScript code will appear black (i.e., colorization of keywords will be missing). The image below shows...

ASP.NET