多个DropDownCheckBoxes控件 [英] Multiple DropDownCheckBoxes controls

查看:56
本文介绍了多个DropDownCheckBoxes控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含多个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控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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