.NET news » Search results
Search results for query "data" (259):
Using the New ListView Control in ASP.NET 3.5
Generating Word Reports / Documents
Sound activated recorder with spectrogram in C#
Visual Application Launcher
ASP.NET Web Pages: Introduction to WebMatrix
Inside ASP.NET AJAX back end services
Exploring Secrets of the .NET DataGridView and Dynamic Data Manipulation
High-speed Charting Control
Using Microsoft's Chart Controls In An ASP.NET Application: Exporting Charts
The Chart Web control makes it easy to display a chart in an ASP.NET web page - simply drag the Chart control onto the page, set a few properties and either bind it to
a data source control or write a few lines of code that get and bind the data of interest. When a page with a Chart control is visited by a user, the Chart control renders
an <img> element on the page that displays the rendered chart.
The Chart control is great for displaying a chart on a web page, but what if a user wants to view that chart offline, or send the chart to a colleague? In an earlier installment, Programmatically Generating Chart Images, we examined a number of ways to generate the chart image programmatically. This technique is useful if you want to modify the chart image before displaying it (to, say, add a watermark) or if you want to send the chart to a recipient via email. This technique can also be used to allow the visitor to export the chart image into an alternative format.
This article shows how to let users export a chart from a web page to an alternative format. Specifically, we'll look at adding an "Export" button to the chart web page that, when clicked, exports the chart displayed in the web page to either an image file that can be downloaded or as a PDF file.


Syndicate