BaseValidator Display problem on postback

  • Thread starter Sri Prasad Tadimalla
  • Start date
S

Sri Prasad Tadimalla

I have a group of Validators inheriting from BaseValidator on my page.
The Display property is set to None for all of them. I use the
validator to change the label of the control I'm validating to red and
show the error message as a tooltip when hovering over the label.

Everything works fine until I do a postback, after that all the
validation messages are displayed instead of being hidden. I am not
sure why the Display property is ignored when doing postback.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top