.net 模式窗口 问题 我想做一个页面,在他弹出后其它页面都不能在操作,就和窗体中的模式窗体一样,请问下各位高手我该怎么做啊!在线急等,谢谢了!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://jquery.com/demo/thickbox/http://www.blueidea.com/articleimg/2007/12/5182/tickbox_demo.html可以用thickbox <body onload="window.showModalDialog()"> 你试试 每一个动态生成的字段,前面都加个HyperLink来进行超链接,, 你试试。 <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" /> window.showModalDialog("","","")3个参数,网上有代码啊,模式化弹出弹出的页面需要设置<base target="_self" />还有弹出页面可以有返回值 window.returnValue="";可随意传值 数据输出 关于thread的问题 栈存储结构 修改app.config文件(winform) 为什么运行的结果是这样的? 大伙们帮忙解决哈? 请问在C#中保留字前加@后能将关键字作为标识符使用?请问在什么时候会用到这个功能? 关于Membership.GetUser 有没有比较空闲的人 ----“中国铁路中国造 坚决反对日本介入”网络大签名 把数据绑定到单个控件TextBox ASP.NET的一个问题 请大家帮忙了。。。。 写了一个简单程序,对继承时派生类数据成员如何在内存分配有些糊涂了
你试试
<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" />