在ASP.NET模式弹出的窗口最好的选择? [英] Best option for modal popup window in ASP.NET?

查看:93
本文介绍了在ASP.NET模式弹出的窗口最好的选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此问题是在几年前问,所以我要再问吧。

This question was asked a few years ago, so I'm going to ask it again.

我在寻找一个在ASP Button控件的单击事件显示一个模式弹出窗口的最佳/​​清洁的选择。该窗口中的内容将是一个aspx页面。

I'm looking for the best/cleanest option to display a modal popup window upon the click event of an ASP Button control. The contents of the window will be an aspx page.

跨浏览器兼容性的要求

jQuery的/插件是不是出了问题,如果他们适应模具。

jquery/plugins aren't out of the question if they fit the mold.

推荐答案

有在jQuery的领域选择一台主机:

There are a host of options in the jQuery field:

jQueryUI的的对话框

jQueryUI's dialog

Wijmo的对话框

SimpleModal

这只是三个选项了许多。 jQueryUI的是pretty易于使用的开箱即用,而不是作为自定义(或易)和pretty为SimpleModal。在他们的核心,他们的pretty很多都非常相似。

These are just three options out of many. jQueryUI is pretty easy to use out of the box, but isn't as customizable (or easy to) and "pretty" as SimpleModal. At their core, their pretty much all very similar.

如果你已经使用jQuery,jQueryUI的的选择可能是一个不错的选择。 Wijmo也是jQueryUI的兼容/友好(使用相同的主题CSS类名称和图案),所以它也是一个不错的选择。

If you'd already using jQuery, jQueryUI's option may be a good fit. Wijmo is also jQueryUI compatible/friendly (use the same theme CSS class names and patterns), so it's also a good fit.

所以它种取决于你想要什么。很简单的东西 - 也许jQueryUI的。浮华/ pretty - SimpleModal。更复杂的,但jQueryUI的友好 - 。Wijmo

So it kind of depends on what you want. Something very simple - maybe jQueryUI. Flashy/pretty -- SimpleModal. More complex but jQueryUI-friendly - Wijmo.

这篇关于在ASP.NET模式弹出的窗口最好的选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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