Validation Problem

  • Thread starter Thread starter sunshinevaldes
  • Start date Start date
S

sunshinevaldes

On a login screen, if you have an invalid login, you get an error
though a label. However, if you fix your login but cause a validation
error (required field), lblError is never reset and it still apprears
on the screen along with the validation error. How do I clear out the
label?

Thanks, Sunshine
 
If you have set EnableClientScript to True for the RequiredFieldValidator,
the error label is automatically cleared (if supported browser like IE is
used).

On a login screen, if you have an invalid login, you get an error
though a label. However, if you fix your login but cause a validation
error (required field), lblError is never reset and it still apprears
on the screen along with the validation error. How do I clear out the
label?

Thanks, Sunshine
 
I have EnableClientScript set to True but the label does not get
cleared. I'm using IE 6.

Sunshine
 

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

Back
Top