Tips and Tricks Articles

Display CreateUserWizard Error Messages using a ContentTempate

CreateUserWizard Error Messages using a ContentTempate In our latest project we are implementing Membership, Roles and Profiles. I've used these before, but never really had the need to exploit all the features. The business requirements of the system have meant that I have had to imp

Paul Marshall - 8,437 views

Terrible Spelling in VS2005 becomes a thing of the past

Terrible Spelling in VS2005 becomes a thing of the past Countless numbers of times I have had to cut and paste text from my HTML into Word to spell check it because there isn't a spell checker in the VS IDE. Well the hassel has gone with this excellent plugin I found on Mikhail Arkhipo

Paul Marshall - 3,124 views

Clear your Visual Studio Recent projects list

Clear your Visual Studio Recent projects list If you do a lot of tinkering in VS2005 and you want to clear down your recent projects list, this can be easily achieved by some simple registry editing HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList You will f

Paul Marshall - 48,368 views

Json converters lacking in Microsoft AJAX RTM

Json converters lacking in Microsoft AJAX RTM Having spent some time developing a project using a CTP version of Microsoft Ajax ("ATLAS" back in the day) I finally came to migrate the project to the RTM version. After uninstalling the CTP release, and installing the RTM release I wasn

Dave Howard - 5,024 views

Visual Studio Orcas Beta 1 Available

Visual Studio Orcas Beta 1 Available You can now download Visual Studio Orcas Beta 1. Use one of the links found here: The Team Suite Edition on a Virtual PC Team Suite on a Virtual PC with Team Foundation Server Download the C# Express Edition

Paul Hayman - 1,854 views

Typed Masterpage reference

Typed Masterpage reference ASP.NET master pages are pretty handy and here is a simple tip to make them even easier to use. Using the MasterType reference in your content page allows you to refer to your master page properties without having to cast it to your master page type everytime.

Dave Howard - 9,662 views

Bug in VS2005? Using Typed DataSets with SQL 2005 and stored procedures

Bug in VS2005? Using Typed DataSets with SQL 2005 and stored procedures I have been a fan of typed datasets since I started using them in VS2005. Using the feature with SQL Express/stored procedures, Express/SQL Statements, SQL Server/SQL Statements all generate my DAL just fine. However, I

Dave Howard - 10,176 views

Return new identity from Strongly Typed Dataset DataTable.Insert method

Return new identity from Strongly Typed Dataset DataTable.Insert method Datasets are pretty good at auto generating stored procedures and wrapping c# code around them for you. However with the insert method you often want to do something with the object that you have just inserte

Dave Howard - 26,796 views

Strongly Typed DataSets and GridViews

Strongly Typed DataSets and GridViews If you are anything like me you don't enjoy writing 5 or 6 stored procedures for each business object in your solution. If you do, then click here to read more about T-SQL! http://www.geekzilla.co.uk/Browse.aspx?CategoryID=32 For the re

Dave Howard - 9,744 views

Intellisence not working in web.config?

Intellisence not working in web.config? Visual Studio 2005 has an interesting "feature" where Intellisence will not pop up when you're editing a web.config file. Annoying eh? Well, I found that removing the namespace from the configuration tag kicks it all back into life. Change the fo

Paul Hayman - 3,784 views

Handy Keyboard Shortcuts for c# 2005

Handy Keyboard Shortcuts for c# 2005 The following keyboard shortcuts I find invaluable. It's amazing how many people still use the mouse to do everything. Document navigation Ctrl+Tab Switch documents Ctrl+Shift+Tab Reverse switch documents Ctrl+kk Drop a bookm

Paul Hayman - 7,728 views

Why not on by defaut? Turn on auto HTML attribute quotes in 2005

Why not on by defaut? Turn on auto HTML attribute quotes in 2005 Holy cow! Why wasn't this on by default??? How annoying is it that when typing in the HTML Source editor window Visual Studio doesn't add the "" for you automatically?? If it's going to complain profusely about the missing quot

Paul Hayman - 5,298 views