如何使用asp.net ...创建弹出窗口?请给我答复 [英] How to create the popup window by using asp.net ...? please give me the reply

查看:53
本文介绍了如何使用asp.net ...创建弹出窗口?请给我答复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用asp.net创建弹出窗口...任何人都可以帮助我...?

How to Create the popup window by using asp.net...anyone can help me please...?

推荐答案

为什么?谷歌会停止工作吗?

尝试在 ASP.NET弹出控件 [ CodeProject文章 [ ^ ]以获得更多类似主题的文章.

自己先尝试.
Why? Does google stops working?

Try search on Google[^] first. Then post your questions here.

This is the first link of google search. A Prize winner article on CP which gives you details of highly customizable JavaScript popup control for web page wrapped in ASP.NET custom control.
ASP.NET Popup Control[^]

Have a look on CodeProject articles[^] to get some more articles on similar topic.

Try first by your self.


^ ]


使用Ajax Contol ModalPopup

Take Ajax Contol ModalPopup

<asp:button id="Button1" runat="server" text="PopUp" xmlns:asp="#unknown" />
<cc1:modalpopupextender id="modalpopupadd" runat="server" popupcontrolid="UpdatePanel1" backgroundcssclass="popupbodybg" xmlns:cc1="#unknown">
                    Drag="true" TargetControlID="Button1" CancelControlID="btnclose" CacheDynamicResults="True">
                </cc1:modalpopupextender>





<asp:updatepanel id="UpdatePanel1" runat="server" updatemode="Conditional" xmlns:asp="#unknown">
                    <contenttemplate>
Write here which u want to pop up........
<asp:button id="btnclose" runat="server" text="Close" onclick="btnclose_Click" />
</contenttemplate>
</asp:updatepanel>



1>取一个按钮名称Button1
2>拿一个ModalpopupExtender.并设置上述属性.
3>以您要弹出的updatepanel或面板为例.



1> take one button name Button1
2> take one ModalpopupExtender. and set properties like above.
3> take updatepanel or panel which u want to popup.


这篇关于如何使用asp.net ...创建弹出窗口?请给我答复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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