CustomValidator, pagemethods and JQuery what fun
Posted
by Goosey
on Stack Overflow
See other posts from Stack Overflow
or by Goosey
Published on 2009-09-12T02:35:06Z
Indexed on
2010/04/22
11:03 UTC
Read the original article
Hit count: 398
Hey all,
I have a CustomValidator, RequiredFieldValidator and ValidationSummary controls on an aspx page to check the current password and make sure the new password is not blank.
When I click submit I get the js alert() box from the summary control telling me about just the RequiredFieldValidator being false, but the client script for the CustomValidator does not seem to get its return value used. I have checked the "arguments.IsValid" value using FireBug, so it is getting called and returning the correct bool, but it never shows up in the val summary box?
Thanks, Goosey
© Stack Overflow or respective owner