asp.net实现弹出对话框并显示图表 [英] The asp.net achieve pop-up dialog box and display the chart

查看:82
本文介绍了asp.net实现弹出对话框并显示图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net开发中,我该如何单击网页上的一个按钮并弹出一个对话框,该对话框可以显示图表(最好是显示google图表控件).谢谢.

In asp.net development,how can I achive to click a button in the webpage and pop-up a dialog box,and this dialog box can show the chart(The best is to show the google chart control).Thank you.

推荐答案

本文的一部分涵盖了您想要的内容:
Part of this article covers what you want: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]


如果我对您的理解正确,则需要在带有背景主题(灰色)的弹出窗口中显示图表.

我们会根据实际需求采取多种方式,

1.只需将div放置在具有一定高度和宽度的表单中即可.将其相对放置,并使其居中.将显示样式设置为无.
单击按钮后,在div内填充图表并使其可见.
使用css遮盖背景主题.
(打开或关闭div时,您还可以使用javascript或jquery的某些动画效果进行动画处理.

2.使用任何JQuery覆盖.这将使开发人员的学习更加轻松.

这是一个对您有帮助的链接,
http://www.jquery-plugins.info/view.php?id=13732 [ ^ ]

希望这会有所帮助.
欢呼
If I have understood you correctly, you need to show the chart in a popup with background theme masked (grayed out).

There are numerous way we follow depending upon the actual requirement,

1. Just place a div in the form with certain height and width. Position it relative and make it in centre. Make the display style to none.
On button click, populate the chart within the div and make it visible.
Use css to make the background theme masked.
(you can also use some animation effect of javascript or jquery to animate when open or close a div.

2. Use any JQuery overlay. This will make developer''s lefe much easier.

Here is a link which will be helpful,
http://www.jquery-plugins.info/view.php?id=13732[^]

Hope this helps.
cheers


这篇关于asp.net实现弹出对话框并显示图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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