1

Can you have more than one CustomValidator on a single page?

I have two separate CustomValidators with two separate controls on one page. Both ServerValidateEventHandlers are setup for each control.

The issue is that it only fires on the first event handler twice.

0

1 Answer 1

3

Yes you can have multiple CustomValidators. Are you sure that the custom validators are using different OnServerValidate methods and they aren't both pointing to the same method?

Sign up to request clarification or add additional context in comments.

1 Comment

I've double and triple checked and even re-written the code again to make sure I'm not copying anything that might make it use the same method. It's not. I just wanted to make sure there wasn't some sort of limitation I was hitting that I didn't know about. Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.