原创  CustomValidator不工作问题 收藏

今天偶然用了下CustomValidator,放在ascx中不起作用。最后发现如下问题:

If your custom validator does not fire within a wizard control then you should check the follow:

1)The Wizard expects all validators to use the ValidationGroup name of the Wizard.ID property
2) You may need to add each participating control and button to the same Validation Group.
3) Verify that your javascript code is correct.

按以上提示, each participating control and button to the same Validation Group,问题解决。


发表于 @ 2008年09月25日 13:49:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:关于socket跨域访问时请求策略文件问题 | 新一篇:小i机器人sendsendActivity出的frame页的权限问题解决

  • 发表评论
  • 评论内容:
  •  
Copyright © lulustray
Powered by CSDN Blog