我如何...如果我设置Enabled = False,如何在下拉时关闭文本 [英] How Do I...How To Ceck The Text On Drop Down If I Set Enabled=False

查看:43
本文介绍了我如何...如果我设置Enabled = False,如何在下拉时关闭文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我有一个下降我正在根据bew条件改变其指数..我想要贬低很少div在当前文本内部下拉..但不确定,但它没有给当前文本内部下拉可能是coz of enabled = false下拉...请sugest ..

Hi ,


I have a drop down i am changing its index based on bew conditions .. aslo i want to diabled few div beased on the current text inside drop down .. but not sure but its not giving current text inside drop down may be coz of enabled = false of dropdown ... please sugest ..

推荐答案

由于其已禁用,将无法获取更新的Dropdown值。一种方法是将下拉值分配给HiddenField然后访问它。
Since its Disabled , wont be able to get the updated Dropdown value .One way is to assign the Dropdown Value to a HiddenField and then access it.


这篇关于我如何...如果我设置Enabled = False,如何在下拉时关闭文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆