如题

解决方案 »

  1.   

    dropdownList      本来就是只读的好不好
    又不是WinForm 的 
      

  2.   

    方法有2
    1,采用div模仿的下拉
    2,使用这种方法
    <asp:DropDownList ID="DropDownList1" runat="server"  onchange="this.selectedIndex=0">如果不让提交,你可以在提交事件里面进行处理下即可
      

  3.   

    DropDownList 禁用的时候 就是灰色的 要不就像3楼说的  模仿
      

  4.   

    请问,如何用代码动态实现onchange="this.selectedIndex=0" 设置?
      

  5.   

    ddl.Attributes.Add("onchange","this.selectedIndex=0");
      

  6.   

    我的意思是,当后台设置DropDownList.Enabled=false的时候,DropDownList显示某一项的文字前景色不变成灰色,就如同背景色可以改那样。