在一个DragPanelExtender绑定的Panel上出发一个按钮,弹出ModalPopupExtender 绑定的内容,可是弹出的内容无法覆盖原来的DragPanel。如何才能让其覆盖呢?

解决方案 »

  1.   

    我就是根据那个DEMO做的。其它一切都正常的,就是无法让ModalPopup覆盖在DragPanel上。
      

  2.   

    我也做过好象没有楼主所述情况发生!!
    简单的做了一个实验,没几行代码楼主看看!!<form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <cc1:DragPanelExtender ID="DragPanelExtender1" runat="server" TargetControlID="Panel1">
                    </cc1:DragPanelExtender>
                    <asp:Panel ID="Panel1" runat="server" BackColor="#FFC0C0" Height="50px" Width="265px">
                    <asp:Button ID="Button1" runat="server" Text="Button" /></asp:Panel>
                    <br />
                    <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" DropShadow="True"
                        PopupControlID="Panel2" PopupDragHandleControlID="Panel2" TargetControlID="Button1">
                    </cc1:ModalPopupExtender>
                    <asp:Panel ID="Panel2" runat="server" BackColor="Gray" Height="50px" Width="125px">
                        <asp:Button ID="Button2" runat="server" Text="Button" /></asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
          </div>
        </form>