我有一个包含多个DropDownCheckBoxes控件的页面,一个在另一个上面。 在IE 8和9上,当我单击下拉按钮时,复选框列表出现在窗体下面的其他DropDownCheckBoxes控件后面。 它涵盖了标准控件,如按钮和文本框,但也出现在Ajax工具包滑块控件上。 请注意,Chrome和Firefox上不会出现此问题。当我在VS 2010中调试并且页面由ASP.NET开发服务器托管时,它也不会发生。 我在你好世界中证实了这个问题在没有CSS文件的站点中键入页面。所以我认为还有其他任何影响它。 之前有人见过这个并且知道解决方案吗?
I have a page with multiple DropDownCheckBoxes controls, one above the other. On both IE 8 and 9, when I click the Dropdown button, the checkbox list appears behind other DropDownCheckBoxes controls that are below it on the form. It covers up standard controls such as buttons and text boxes, but also appears beind the Ajax Tool Kit slider control. Note that this behavior does not happen on Chrome and Firefox. It also does not happen when I am debugging in VS 2010 and the page is hosted by the ASP.NET Development Server. I confirmed this issue on a "hello world" type page in a site with no CSS files. So I don’t think there is anything else affecting it. Anybody seen this before and know of a solution?
推荐答案你的场景不是那么清楚,但我认为你有自定义下拉列表,其复选框列表为DropDown值,当你打开值区域时,它在其他控件后面。 如果它是一个自定义控件,您需要设置DropDown值控件的 Your scenario is not that clear, but I think you have custom dropdownlist with checkboxlist as DropDown values and when you open the values area its behind other controls. Well if it is a custom control, you need to set the the z-index
CSS属性(或者它是一个div或面板等)。将其设置为更高的值
CSS property of the DropDown values control (either its a div or panel etc.). Set it to a higher value
z-index:5000;并测试。 如果我知道是否它有帮助,或者如果没有请给我更清晰的信息,可能是一个小代码。 祝你好运 Azee ......
and test. Let me know if it helps, or if not please provide me more clear info, may be a little code. Good luck Azee...
更多推荐
多个DropDownCheckBoxes控件
发布评论