A blank PDF gets created when I export the web data grid using document exporter.
Can you help me resolve the issue
Thanks,
Hello,
I need detail description of the issue in order to resolve it. Here are my questions:
1) Which version of NetAdvantage, Visual Studio and .NetFramework are you using?
2) How the WebGrid is bound to the DataSource?
3) What kind of DataSource are you using?
4) Are you using AJAX technology? If yes, then please specify if you are using the built-in XMLLoadOnDemand or Update Panel or WARP.
5) Which server side and client side events are handled on the Grid and the Document Exporter?
Please provide as much detail description as possible.
Thanks
Here are the details-
1) NetAdvantage Select 2008 Vol. 3 CLR 3.5 , VS Studio 2008, 3.5 framework
2. Using a dataset table and also as linq resultset
3. Datasource is the normal dataset table
4. No
5. On a PDF link button click have the following code
UltraWebGridDocumentExporter1.Format = FileFormat.PDF; UltraWebGridDocumentExporter1.DownloadName = "report.pdf"; UltraWebGridDocumentExporter1.TargetPaperOrientation = PageOrientation.Landscape; // trigger export UltraWebGridDocumentExporter1.Export(UltraWebGrid1);
It is opening up a blank PDF. Have tried the XPS format too and it is coming up as blank as well
Have used the excel grid exporter and that seems to be working fine with data being exported.
Thanks for looking into the issue and hope that it gets resolved soon.