Web开发
文章平均质量分 77
tstarrow
这个作者很懒,什么都没留下…
展开
-
解决asp.net表单提交按钮当设定OnClientClick事件后不再进行表单验证的问题
假设有如下表单提交按钮: .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .re原创 2011-05-27 17:26:00 · 1646 阅读 · 0 评论 -
解决asp.net中radio button的排他性在DataList控件中失效的BUG
微软已证实这是一个Bug,要解决此问题,首先将下面的JavasScript代码放入前台文件: function SetUniqueRadioButton(nameregex, current) { re = new RegExp(nameregex); for(i = 0; i原创 2011-05-27 17:00:00 · 696 阅读 · 0 评论