ASP .NET Multiple Custom Validators on a single page
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 t开发者_如何学JAVAhat it only fires on the first event handler twice.
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?
精彩评论