jquery UI Modal Dialog in asp.net usercontrol: Modal Overlay only on Div in UserControl

懵懂的女人 提交于 2019-12-24 02:18:40

问题


I have an asp.net usercontrol that contains a jQuery UI Dialog Control.

All works as expected execpt the grey tranparent overlay (to make the form modal) only appears on the hidden div below the form where the dialog is triggered from.

Is it possible to target this overlay to the parent div? or is this not the right solution.

I have tried the blockUI plugin (and removing the Dialog style to prevent its overlay showing), but although it "looks" right on screen it disables all the controls including the ones in the dialog popup.

Any ideas?

Added: Screenshot

alt text http://www.freeimagehosting.net/uploads/e0555a0ec5.jpg


回答1:


It might be a z-order issue. Can you post a screenshot to make it easier to understand. Also please post the high level HTML you are using on the aspx page.



来源:https://stackoverflow.com/questions/1555988/jquery-ui-modal-dialog-in-asp-net-usercontrol-modal-overlay-only-on-div-in-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!