Add this property, Display="Dynamic".
mxmissile
2009-06-26 20:27:05
You can set Display="Dynamic" and the message will only show up when the error occurs.
You could set Display="Dynamic", but you will still end up wrapping once the validation error is triggered if you don't leave a space big enough for the error message next to the control.
I usually put a red asterisk in for the error text, and then I put the actual error text in the ErrorMessage and ToolTip attributes, then display the long error message using a validation summary control.