css - 将 Z-Index 应用于 DropDownTree 不会影响它

标签 css asp.net telerik css-position z-index

当 DropDownTree 靠近其他扩展控件(例如标准日期选择器)时,会导致这些控件位于 DropDownTree 后面。我尝试了所有解决方案,例如内联样式、将 z-index 强制为 .RadDropDownTree_Default、使其他控件的 z-index 属性大于 100000 并通过 jquery 强制样式,但无论如何,扩展控件落后于输入(文本框) RadDropDownTree 的区域。

如何在 RadDropDownTree 上强制执行低 z-index 值,使其不会位于其他扩展控件之上? enter image description here

最佳答案

RadDropDownTree 下拉菜单的默认 z-index 值为 7000,如本文所示:http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html .要更改它,只需将 RadDropDownTree 的 z-index CSS 属性设置为小于输入元素的值即可。

如果您无法解决问题,请分享一些有助于重现问题的代码片段。

关于css - 将 Z-Index 应用于 DropDownTree 不会影响它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24764381/

相关文章:

css - 在 Angular2 中覆盖 CKEditor CSS

javascript - 在 JQuery 中生成另一个 HTML 表以输入更多小时数进行计算

c# - Visual Studio 2013发布失败报 "non-existing"错误

javascript - 记录 IP、时间和用户代理

asp.net - ParamQuery 网格 (PQGrid) 添加新行到嵌套网格

xaml - 如何在 Windows-Phone 中更改 RadCalendar 的选定颜色?

html - 我需要对齐标题上的图像和文本

html - 如何通过响应式设计将多个表单和标题集群分组以放在同一行和中心?

asp.net-mvc - 当网格进入编辑模式时日期时间选择器清除值

asp.net - 使用分页在 RadGrid Telerik 中查找记录