Jan 07, 2016, 6:34 PM
Download Chart Code Behind and Give Specific Name
Hello, I am creating a chart using Ext.Net; now, I've observed in the examples how the saving into an image and download is perfromed from the client side by using the following syntax:
Thanks in advance!
<script>
var saveChart = function (btn) {
Ext.MessageBox.confirm('Confirm Download', 'Would you like to download the chart as an image?', function (choice) {
if (choice === 'yes') {
btn.up('window').down('chart').download();
}
});
};
</script>
This works perfectly fine, but I was wondering if it is possible to Download the Chart as an image from SERVER Side and naming it with a desired value.Thanks in advance!