在asp.net页面弹出窗口 [英] pop up window in asp.net page

查看:71
本文介绍了在asp.net页面弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp.net页面上制作弹出窗口?

how to make pop window on asp.net page ??

推荐答案

请通过以下网址查看简单的弹出窗口

< a href =http://www.c-sharpcorner.com/blogs/4070/popup-window-using-javascript-in-asp-net.aspx> http://www.c-sharpcorner.com/blogs /4070/popup-window-using-javascript-in-asp-net.aspx

在asp.net中使用GreyBox弹出窗口

在asp.net中使用GreyBox弹出窗口
Please go through below url for simple popup window
http://www.c-sharpcorner.com/blogs/4070/popup-window-using-javascript-in-asp-net.aspx
For Using GreyBox Popup Window in asp.net
Using GreyBox Popup Window in asp.net


您好,



您可以使用 window.open 方法。

参考以下文章。

MSDN-open方法(Windows) [ ^ ]

H tmlWindow.Open方法(Uri,String,String,Boolean) [ ^ ]

如何从C#代码打开弹出窗口落后 [ ^ ]



希望它有所帮助。
Hi,

you can make use of window.open method.
refer the below articles.
MSDN-open method (Windows)[^]
HtmlWindow.Open Method (Uri, String, String, Boolean)[^]
How to open a popup window from C# code behind[^]

hope it helps.


首先在应用程序中添加Ajax工具包dll。之后使用



First you add Ajax toolkit dll in your Application. After that use the

<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Gdvwratebtn"

                                            BackgroundCssClass="modalBackground" PopupControlID="ratepopup" DropShadow="true">
                                        </asp:ModalPopupExtender>







创建asp按钮&面板

面板内部使用asp所有控件作为你的愿望

** TargetControlID =Gdvwratebtn是按钮ID

** PopupControlID = ratepopup是Panel ID



and
create the asp button & panels
inside of panel use asp all controls as your wish
**TargetControlID="Gdvwratebtn" is the Button ID
**PopupControlID="ratepopup" is the Panel ID


这篇关于在asp.net页面弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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