|120227||Sep 11,2015 03:53 PM UTC||Sep 15,2015 10:45 AM UTC||ASP.NET MVC||3|
For export the chart in the PDF we need to add Syncfusion.Pdf.Base.dll in the project. Once the above steps are completed click the PDF button to export the chart in the PDF. We have used AJAX post in the button click to call DATACURD method in home controller.
In the home controller add the following namespace.
We have added the below code in the DATACURD method in the home controller as like below.
Now the chart will be exported in the PDF. Please find the below screenshot.
Note: Export the chart to excel will only support from the essential studio version 188.8.131.52
For export the chart to excel please refer the following dll’s.
To achieve the export to excel please add the following code in the view page of the sample
In the above code we have called the ExportToExcel method in the home controller. ExportToExcel method contains code to export the chart in excel. Please find the below code example
To export the chart to excel please click the export to excel image. Please find the below screenshot
Now the chart will be exported into excel
The chart is exported in excel like below.
We have prepared the sample as per your requirement. Please find the sample from below mentioned location.
Please let us know if you have any concern.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.