Calendar控件和DropDownList位置重叠时,总使DropDownList在上一层,怎么才能使Calendar在最上层

解决方案 »

  1.   

    我用的 使web form  
    我需要在Calendar控件和DropDownList位置重叠时,使Calendar在最上层
      

  2.   

    Calendar的z-index:101
    DropDownList的z-index:100
      

  3.   

    还是不行  
    我的已经设置成 Calendar id="Calendar2" style="Z-INDEX: 139;DropDownList id="DropDownList7" style="Z-INDEX: 129;
      

  4.   

    老问题了,楼上说的几个方法都行的。这个是BUG。还是变通着实现吧。
    我是每当需要切换显示时,就把另一个隐藏。Visible=false
      

  5.   

    下拉列表是windows窗口,这类对象永远在窗口最顶层显示,设置dhtml对象的z-index无用。
      

  6.   

    DropDownList的按钮总是在其它浮动控件上面显示,这非常讨厌。你最好自己写一个用户控件,使用table里边包含一个TextBox、Button、浮动的ListBox,来模拟DropDownList。这样可以自己实现 AutoComplete、包含异种布局或者图片的 Item 等的功能。也不会挡在浮动控件前面。