Welcome to ASP.NET Guild

Be sure to come back often and tell others. If you have any tips, tricks, examples, please email them to me at chris.williams@techguilds.com and I will post them. Check out our ASP.NET QuickStart and C# QuckStart Libraries. Below is my latest articles.

Friday, October 24, 2008

The 'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive

If you get this error its because you are setting the selectedvalue and selected index of a control in the same event. The following article explains it further.


If you have any tips, tricks, etc please email them to susan@clinchportal.com and I will post them here or if applicable on the c# guild or vb.net guild.

Wednesday, October 22, 2008

Telerik controls and IE 8 Beta

I came across this thread in case you are seeing breaks in some telerik controls in IE 8 as well.

Some of the comments mention using a compatability meta tag and placing it as the first meta tag:

< meta equiv="X-UA-Compatible" content="IE=7">

For more info please check out the thread at:


If you have any more tips, tricks, etc please email them to susan@clinchportal.com

Tuesday, September 30, 2008

IIS 7 - Adjusting to the huge change.

I was rudely awakened when we finally started using IIS 7 after using IIS 6 for so long.
I found I knew what I wanted to do but could not find where the option was. I came across this tutorial as a helper

Getting Started with IIS7 (Part 1)


If you have any other tutorials or tips on how to configure IIS 7 please email them to Susan Fischer susan@clinchportal.com or post them as comments here and I will approve them.

Sunday, May 25, 2008

Regular Expressions - Help!!!

If you are like me you find dealing with regular expressions both powerful and frustrating.I found a couple links that may help you on your journey to build regular expressions.

Roy Osherove has a few tools here that will be useful. The first is the Regulator that allows you to build regular expression with intellisense included. The second tool is the regulazy that allows you to typein text select it and via right click create your regular expression:


The third is not really a tool but a library that helps you find regular expressions that others have created for you:


This posting is also available at: http://csharpguild.blogspot.com/2008/05/regular-expressions-help.html You can check out this blog for additional information related to c#

If you find any regular expression tools or other tools you find useful please email them to me at susan@clinchportal.com

Friday, May 02, 2008

Perpetual Beginner

For those just learning some of the newer technologies such as subsonic, linq, mvc, etc this is going to be fast becoming the place to go. It is definitely a blog to keep an eye on. The perpetual beginner, Jesse Naiman, will soon be a name you will remember.

Here is the link to his blog: http://alt-net-guild.blogspot.com/

Free Source Control with Visual Studio Integration

My friend Jesse Naiman sent me a recommendation for free source control for a project I am working on. I thought about writing a recommendation myself but he words it perfectly. Here is his recommendation:

This site is awesome http://www.assembla.com/

You can setup a free SVN repository (up to 500MB), and you get an amazing amount project management tools.

A couple helpful hints on SVN in case you haven’t used it.

Install tortoisesvn which will allow you to manage source control through windows explorer.

Install AnkhSVN to get svn integrated into visual studio.

Tuesday, April 22, 2008

escape \n in a mailto href

Here is the sample code

+'\n]]]\n\n-- '
+new Date(document.lastModified).toUTCString())

Saturday, March 22, 2008

Invalid Viewstate error or Padding is invalid and cannot be removed

It seems that sometimes your application will work locally but when you put it
on a hosted server you get one of these errors. Here is an article on the issue:


The solution is to generate your own machinekey and put it in your web.config
Here is a tool to do it:


Thursday, February 14, 2008

Using WinMerge to compare in Team Foundation Server

Some of you are probably frustrated with the compare tool in TFS well if you like WinMerge then here is a link to help you use it as an alternative:


Visual Studio goes off in limbo

AutoRecover is a feature in VS 2005, which used for automatically saving work on a regular basis. This will be helpful when power failure or system crash. Anyway, we could turn off it in VS 2005 optionsEnviornmentAutoRecover http://msdn2.microsoft.com/en-us/vstudio/aa718517.aspx [AutoRecover in the IDE] If you go into Tools/Options and click on the environment tab you may see an option for AutoRecover.If not there is a checkbox at the bottom that says show all options then it will show up.When you click on AutoRecover you will notice that it tries to save your work every 5 minutes.

Friday, February 01, 2008

Trouble installing Visual Studio or .net Framework

I was having trouble installing Visual Studio 2008 after installing earlier betas of it.
Unfortunately the uninstall in add/remove programs was broken. I came across this tool and used it to remove the older frameworks. I thought I would pass it on:


Wednesday, January 23, 2008

Setting User Control Properties in a Repeater

The way microsoft parses this is kind of silly but you need to ensure that you use a single quote to wrap your property values. You CANNOT place any text between the ' and < % or it will fail.

'< % # String.Format( "xsl/nav/{0}_config.xml" , DataBinder.Eval(Container.DataItem, "MenuItem_Name" )) % >'

Are you a .NET Developer or Contractor interested in working with Sitecore or Dynamics CRM?

Apply for our Mentorship Program. If accepted, we will mentor you on Sitecore and provide you with project to help you build your skills and make some money at the same time. If you are interested send your resume with details on why you want to work with Sitecore or Dynamics CRM to: Chris Williams - chris.williams@techguilds.com or Dennis Augustine - dennis.augustine@techguilds.com We look forward to working with you to achieve your goals.