在运行时在ASP.NET中启用/禁用ValidationControl [英] Enable/Disable ValidationControl at run time in ASP.NET
本文介绍了在运行时在ASP.NET中启用/禁用ValidationControl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
单击复选框时,我必须更改在没有回发页面的dropDown上应用的ValidationControl的值.
我正在使用更新面板,但它抛出错误无法注销更新面板,因为它没有在脚本管理器中注册" ......
请为此回答我.
On click of checkbox I have to change the value of ValidationControl applied on the dropDown without Postback of page.
I was using update Panel but it is throwing me the error ''cannot unregister updatepanel as it is not registerd with Script Manager''...........
Please answer me for this.
推荐答案
你好
看看这些:
使用JavaScript禁用ASP.NET验证器
如何控制ASP.NET验证程序通过JavaScript控制客户端验证
Hello
Look at these:
Disable ASP.NET validators with JavaScript
How to control ASP.NET Validator Controls Client Side validation from JavaScript
这篇关于在运行时在ASP.NET中启用/禁用ValidationControl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文