STOP - space bar entry in textbox passing StringLengthValidator

Topics: Validation Application Block
Jan 29, 2009 at 2:47 AM
I am using the Validation Block with attributes on my properties in my BO classes. My question is how can I solve the problem of a user not entering any data into a textbox but pressing the space bar instead. I am using the StringLengthValidator to check if the value for First Name is between 1 and 64 characters long. Does anybody have any suggestions how to handle this scenario? Thanks.
Jan 29, 2009 at 8:57 AM
Refer to this thread...
http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=36689


Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc
entlib.support@avanade.com