Validation Problem

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
 
S

Siva M

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
 
S

sunshinevaldes

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top