RadioButtonList只读

来源:互联网  时间:2016/6/25 1:17:21

关于网友提出的“ RadioButtonList只读”问题疑问,本网通过在网上对“ RadioButtonList只读”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题: RadioButtonList只读
描述:

如何设置RadioButtonList只读,不用 Enabled="false" 可以实现吗?


解决方案1:

http://topic.csdn.net/u/20110120/14/77f68913-a34b-4594-81e6-034afb2e1229.html

解决方案2:



Enable 是不启用的,变灰 Visable 是隐藏了
解决方案3:

擦,又不用本身属性,又不用js,你想干嘛 还不如直接输出文字,方正也不让该

解决方案4:

引用 3 楼  的回复:
JS   还有cs   貌似没别的了。 js document.getElementById( "Button3 ").setAttribute( "disabled ",   "disabled ");
/> cs   document.getElementById( "Button3 ").Enabled= "false " 或者 document.getElementById( "Bu……

同意! 解决方案5:

JS 还有cs 貌似没别的了。 js document.getElementById("Button3").setAttribute("disabled", "disabled");
cs  document.getElementById("Button3").Enabled="false"
或者 document.getElementById("Button3").Attributes.Add("disabled", "disabled");

解决方案6:

JS 操作document.getElementById("RadioButtonList1") 设置每项disabled 

上一篇c# 实现PPT自动转换成PDF格式的文件
下一篇session的问题
明星图片
相关文章
《 RadioButtonList只读》由码蚁之家搜集整理于网络,
联系邮箱:mxgf168#qq.com(#改为@)