Hi,
In my application I am using ultraGridDocumentExporter feature to export an UltraGrid to PDF or excel. So everything is working fine if the ultragrid contains simple grid. But if the ultragrid contains the grid having child rows in that case if I export the grid to Excel I get proper output but in case of PDF I get blank PDF with no data in it.
Can anybody pls put some light on this behaviour/
Regards,Girish
Hello ,
Which exactly version of Infragistics you are using? I have tested your scenario with Infragistics 11.2 service release 2028 and I was not able to see your issue. Please look at the attached sample and let me know if it works for you. Maybe there is something specific in your scenario, which causing your issue, if so please try to isolate your issue in a small sample in order to investigate this further for you.
I am waiting for your feedback.
Thanks Hristo for the help. I am really not sure why it is not working on my machine. By the way i am using 11.3 version. but I have tried your sample code with my Dlls and its all working perfect. But I am banging my head, as it is not working in my application. From my project I dont it will be an easy task to isolate the issue and create a seperate thing to replicate the issue. Let me try some more things in my project and will get back to you after that.
Regards,
Girish
Thank you for your feedback. I will wait for your updates in order to investigate this further for you.
Thank you for using Infragistics Components.
After deeper investigation from our Developers we found that the grid being exported has over 200 columns it seems that this issue is limitation of the PDF format or the Adobe PDF reader and it could not display the information correctly. Like a workaround of this issue I could suggest you, when exporting the grid to PDF, to do this on portions. I have implement my workaround and I hope that this will helps you.
Thank you for using Infragistics Component.
Hello,
I have created a support ticket based on this post, in order to investigate this further for you. The id of the support ticket is CAS-83377-JCWQQD. I will update you for the progress of this issue via the support ticket as soon as I have information for you.
Thank you.
Hi Mike,
Thanks, Just want to know that by what time we can get something on that. Can we get a rough estimate?
Hi Girish,
Girish Nehte said:I am using 11.3 version of the dlls but I dont think it should make a difference.
There is no 11.3 version of NetAdvantage. Your sample is using 10.3, so I assume that's just a typo. :)
Anyway, I tried your sample, and the export works in Excel and XPS, but the PDF file comes out blank. There must be something unusual about your data source. Perhaps you are using some unusual data types or values.
Anyway, I have asked Infragistics Developer Support to create a case for you (if they haven't already) and write this up in our system for developer review so we can check it out and see what's going on.
Hi Hristo,
Somehow I have managed to isolate the problem and now able to replicate the issue on the sample you have send. What I have done is I have serialize (to XML) the dataset that I am unable to export to PDF. Then I have added that xml to Bin\Debug directory (DataSetNotWorking.xml) of the sample project that you have send. Then I am trying to de-serialize that xml back to the dataset and trying to export that to PDF and I am getting the same blank PDF. I am attaching the sample project zip file with this post. Please have a look into it and let me know if you are able to replicate this and what could be the solution for this. I am using 11.3 version of the dlls but I dont think it should make a difference.As in the project with dll it is exeedig the permissible size hence I have removed the dlls from the project I have attached.
Note: I have just make the changes in ”GenerateDataSet()" function. Please have a look into it.
Regards, Girish Nehte