www.nodebt.com
The old website which i did too in classic asp http://www.nodebt.com/form.asp - it works as i want it.I ran both pages. The old style changed the label to read and did not show the '*'.
In Microsoft's validators, you have limited formatting options. You can hide the '*' by setting the Display property to "none". You cannot automatically change the color of another field's label. You'd have to write code on the server side that detected if each validator IsValid property is false and change the style of the associated label. If you use the client-side validation (a benefit of ASP.NET), there isn't a clean hack to help you.
I wrote my productProfessional Validation And More for ASP.NET to solve these formatting limitations. I encourage you to review my site to learn what I've done and all the other limitations of Microsoft's validators so you can determine the best course of action. In my product, you can indicate the label and have it change to a different style when the error is shown. It works fully within client-side validation.
0 comments:
Post a Comment