So I copied this question from another post because it is the exact same problem I am having and this fella never got an answer. I'm hoping someone will point out what the issue might be. I am using Infragistics 2012 and Visual Studio 2010
I have a problem with exporting chart to PDF - chart gets data from a LINQ datasource. It's very strange because when I enter the page containing my chart I can see all the data that should be in it, but when I click button that'suppose to export it I get a red error text inside that pdf file that my datasource is uspecified, use databind() method...
Another thing is when I use demo data table and bind it to my chart control inside Page_Load event every thing works great, but when I bind it inside LINQDataSource_Selecting event I get the same red error message?? Why?? I can assume why, but how am I suppose to properly bind my LINQ datasource to my chart control outside LINQDataSource_Selecting event??
Please help me out with this, maybe someone could just point me into right direction??
Hi,
I will be happy to assist you with your question.
This issue may occur if you don't bind the UltraChart on postback. May I ask if you can provide me with the code you use to export the chart to PDF?
Also, I recommend review the following help topic to learn more about exporting the UltraChart to PDF:http://help.infragistics.com/NetAdvantage/ASPNET/current/CLR4.0/?page=Chart_Exporting_to_PDF.html
Please let me know if you have any questions regarding this matter.