Client Script and ASP Validator

  • Thread starter Thread starter Lav KG
  • Start date Start date
L

Lav KG

Hi
I'm using ClientScript to validate a textbox.
The problem is, even if I return false; after window.alert('Error
message'); in clientscript,The page still get loaded.

I've other validators (RegularExpressionValidator and
RequiredFieldValidator) to validate the same textbox.Is it beacuse of
these validators ?


Any help ?

Thanks
Lav KG
 
you should read the documentation on writing custom client validators if you
want to mix them with standard ones. in 2.0 just use the custom validator.

-- bruce (sqlwork.com)
 
Back
Top