ASP.NET Validator needs two clicks to fire

R

Remy

Hey
I have a textbox where the user needs to enter a number and a submit
button.
Attached are two validators (RequiredFieldValidator and
RangeValidator).
Now if the user does not enter a number and presses submit, the
validator fires and the user gets the error message as expected. But
now, if he enters the number, he needs to press submit twice.
After the first click, the error message disappears, but the form is
not yet submitted.

Am I doing something wrong or whats a good workaround?

Cheers

Remy
 

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,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top