AJAX ModalPopup弹出页面内容(下方)(z索引为负) [英] AJAX ModalPopup Pops Behind (Under) Page Content (Negative z-index)

查看:88
本文介绍了AJAX ModalPopup弹出页面内容(下方)(z索引为负)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在AJAX控制工具包的40412版本中遇到了AJAX ModalPopupExtender问题( http ://ajaxcontroltoolkit.codeplex.com/releases/view/43475 )。

I am having an issue with the AJAX ModalPopupExtender in version 40412 of the AJAX Control Toolkit (http://ajaxcontroltoolkit.codeplex.com/releases/view/43475).

第一次使ModalPopup可见,它可以正常工作。 z-index设置为6001(背景Div的z-index设置为6000),并且Popup出现在所有其他内容的上方。如果单击ModalPopup中的取消按钮,它也具有正确的功能,显示设置为无,并且ModalPopup不再可见。

The first time the ModalPopup is made visible it works correctly. The z-index is set to 6001 (and the background Div's z-index is set to 6000) and the Popup appears above everything else. If the cancel button within the ModalPopup is clicked, it also has the correct functionality, the display is set to "none" and the ModalPopup is no longer visible.

但是,当再次触发弹出窗口时,z索引仅设置为2000,在其他所有内容上方仍然可见,但是如果取消并再次触发它,则将其设置为-2000,这是不可见的(z索引会减少每次4000)。

However, when the Popup is triggered again, the z-index is only set to 2000 which is still visible above everything else, but if it is canceled and triggered again it is set to -2000 which is not visible (the z-index is decreasing by 4000 each time).

我不确定为什么会这样。有什么解决办法吗?

I'm not sure why this is happening. Any ideas how to fix it?

特殊情况:


  • 有多个

  • 所有ModalPopups都是通过部分页面回发(使用.Show()方法)在代码隐藏中触发的。

  • ModalPopupExtenders在显示为弹出窗口的同一UpdatePanel中

更新:
,这是项目团队确认的错误。 http://ajaxcontroltoolkit.codeplex.com/workitem/26739

推荐答案

这是项目团队确认的错误。 http://ajaxcontroltoolkit.codeplex.com/workitem/26739

This was a confirmed bug by the project team. http://ajaxcontroltoolkit.codeplex.com/workitem/26739. It has now been fixed.

来自团队:我们已经确认这是初始版本40412中的错误。我们现在替换为已修复的修改版本这个。请再次下载40412以解决此问题

From Team: We have confirmed that this is a bug that was in the initial release 40412. We have now replaced with a modified release that fixes this. Please download 40412 again to resolve this issue

这篇关于AJAX ModalPopup弹出页面内容(下方)(z索引为负)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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