Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 18, 2013 01:06 PM by DarrellNorton
Feb 18, 2013 04:55 AM|LINK
By default the Compare annotation is case sensitive. wanna make case insensitive.
Or any mechanism through which the textbox value is manipulated for upper / lower case and then the Annotation works on it.
Thanks in advance.
Feb 18, 2013 01:06 PM|LINK
You could write your own case-insensitive Compare attribute and use that instead. Here is one that does case insensitive string comparisons:
It's not a feature in the default CompareAttribute because the CompareAttribute compares more than just strings.