我想做一个页面,在他弹出后其它页面都不能在操作,就和窗体中的模式窗体一样,请问下各位高手我该怎么做啊!
在线急等,谢谢了!!!

解决方案 »

  1.   

    http://jquery.com/demo/thickbox/http://www.blueidea.com/articleimg/2007/12/5182/tickbox_demo.html可以用thickbox
      

  2.   

    <body onload="window.showModalDialog()"> 
    你试试
      

  3.   

    每一个动态生成的字段,前面都加个HyperLink来进行超链接,, 你试试。
      

  4.   


    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">    <asp:Button ID="Button1" runat="server" Text="Popup" />
        <asp:Panel ID="Panel1" runat="server" BorderStyle="Solid" BorderColor="Lime" BorderWidth="2">
            <asp:Button ID="Button2" runat="server" Text="OK" />
            <asp:Button ID="Button3" runat="server" Text="Cancel" />
            <asp:Button ID="Button4" runat="server" Text="OK Via Server" OnClick="Button4_Click" />
            <asp:Button ID="HideViaServer" runat="server" Text="Hide Via Server" OnClick="HideViaServer_Click" />
            <asp:Label ID="Label2" runat="server" Text="Label2" />
        </asp:Panel>
        <asp:Label ID="Label1" runat="server" Text="Label1"></asp:Label>
        
        <asp:Button ID="ShowViaServer" runat="server" Text="Show Via Server" OnClick="ShowViaServer_Click" />
        <asp:Button ID="MultipleShowsViaServer" runat="server" Text="Multiple Show()s Via Server" OnClick="MultipleShowsViaServer_Click" />    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button1" PopupControlID="Panel1" BackgroundCssClass="watered" OkControlID="Button2" CancelControlID="Button3" OnOkScript="okScript()" OnCancelScript="cancelScript()"
                DynamicControlID="Label2" DynamicContextKey="DynamicContextKey" DynamicServicePath="~/ToolkitTestService.asmx" DynamicServiceMethod="GetContextKey" />
      

  5.   

    window.showModalDialog("","","")3个参数,网上有代码啊,模式化弹出弹出的页面需要设置<base target="_self" />还有弹出页面可以有返回值 window.returnValue="";可随意传值