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
That works...Thanks!
You would right click on the website/project and go to add reference. When the dialog pops up you would find the Infragistics2.Document or Infragistics35.Document (depending on what CLR you are using) and add it to your application.
The quickest way is to drag on a UltraWebGridDocumentExporter component onto your webform. You can remove the component after dragging it onto your design surface.
How do I do that?
Add the reference to the Infragistics.Documents assembly.
Already tried that but when I add
Imports Infragistics.
after that I get just 2 options in the intellisense......WebUI and UltraChart. There is no Documents.