开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜