当前位置:编程学习 > C#/ASP.NET >>

ASPxListBox checkListBox如何设置其为不可选状态(复选按钮灰色)

 <dxe:ASPxListBox ID="ListBox" Width="100%" runat="server" lientInstanceName="checkListBox" SelectionMode="CheckColumn"></dxe:ASPxListBox>
网上好象比较少这个控件的资料,我想知道ASPxListBox有哪些客户端控件.
下拉后有一些复选按钮,需要根据值来判断,如果是文字,可复选,如果是数值,就只能单选,所以必须设置他的DISABLE=false,但是不知道如何设置这个. 
//var item=checkListBox.GetSelectedItems()//取得选中项的数量
//    var d = checkListBox.GetSelectedItems()[0].text//取得选中项的文本
checkListBox.setDisabled(false);checkListBox.GetSelectedItems()[0].disabled=false;
这些都不能设置.不知道应该用什么样的方法,谢谢了.
我没分了. --------------------编程问答-------------------- 怎么没人回答啊......
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,