Click here to Skip to main content
15,898,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Comments
senguptaamlan 28-Aug-12 9:44am    
what do you need to archive? please, explain a bit more to clarify your question...

 
Share this answer
 
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900