asp.net的弹出控件 [英] Pop-up control for asp.net

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

问题描述

您好我需要为asp.net项目添加弹出窗口控件。如何才能找到这个控件并使用。?

解决方案

我通过弹出你的平均创建一个新的浏览器窗口或标签,我想警告你反对它。除了您可能遇到的某些困难之外,许多不喜欢它的用户也会在浏览器中阻止弹出窗口,原因很简单。



它会更好地在网页中开发类似模态的行为,并使用JavaScript在本地完成。第一个解决方案是: https://jqueryui.com/dialog [ ^ ]。



此外,还有很多第三方jQuery插件,统称为模态弹出窗口,具有不同的效果,例如过渡,特别是页面其余部分的变暗。请参阅: http://bfy.tw/AJH [ ^ ]。



如果您需要学习jQuery(强烈推荐),请参阅:

http://en.wikipedia.org/wiki/JQuery

http://jquery.com

http://learn.jquery.com

http: //learn.jquery.com/using-jquery-core

http://learn.jquery.com/about-jquery/how-jquery-works (从这里开始)。



-SA

Hi I need add pop-up window control for asp.net project. How can to find this control and used.?

解决方案

I by "pop-up" your mean creation of a new browser window or a tab, I would like to warn you against it. In addition to certain difficulties you may have, pop-ups can be blocked in browser by many users who don't like it, by some good reasons.

It would be much better to develop modal-like behavior inside a Web page, and do it fully locally, with JavaScript. The first solution would be this: https://jqueryui.com/dialog[^].

Also, there are many 3rd-party jQuery plug-ins, collectively known as "modal popup", with different effects, such as transitions, and, notably, dimming of the rest of the page. Please see: http://bfy.tw/AJH[^].

If you need to learn jQuery (highly recommended), please see:
http://en.wikipedia.org/wiki/JQuery,
http://jquery.com,
http://learn.jquery.com,
http://learn.jquery.com/using-jquery-core,
http://learn.jquery.com/about-jquery/how-jquery-works (start from here).

—SA


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

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