Jun 25, 2010 at 9:12 PM
Edited Jun 25, 2010 at 9:14 PM
I have just burnt hours trying to figure out why the StringLengthValidator shows up an error (StringlengthValidator is not an Attribute class) in Intellisense whenever I used it.
For anyone else having the same problem the solution is to add
to your project references. Even though StringLengthValidator is not from that namespace and you don't have to add the namespace as a "using" you do have to add it to the solution project file
Perhaps the HELP file could mention this and show it in the sample code (even though a using is not required, showing it would have given me the hint)