How do I import a chart (column and spline) to a PDF or Excel? I am using ASP.Net 3.5 on Visual Studio 2008 with SQL Server 2000
Thanks
Exporting chart to pdf:
http://forums.infragistics.com/forums/p/5171/23587.aspx#23587
Exporting chart to excel:
http://forums.infragistics.com/forums/p/9208/36825.aspx#36825
Exporting chart and grid to pdf:
http://forums.infragistics.com/forums/p/9376/36707.aspx#36707
This is the code I've got on the button, but I am getting an error at the highlighted(in bold and underline) parts. Am I missing something? Do I need to add any references?
Protected Sub btnpdf_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnpdf.Click
Me.ChartGenre.Data.DataBind()
ChartGenre.RenderPdfFriendlyGraphics(g)
System.Environment.GetFolderPath( _
System.Environment.SpecialFolder.MyDocuments)
End Sub