Hey guys,
I tried using UltraWebGridDocumentExporter control to export content from a webgrid control (Please see below code snip). But, I got an error message "Cannot use a leading .. to exit above the top directory" Any suggestions will be appreciated.
UltraWebGridDocumentExporter1.Format = Infragistics.Documents.Report.FileFormat.PDF;
UltraWebGridDocumentExporter1.ExportMode = ExportMode.Custom;
UltraWebGridDocumentExporter1.Export(gridEvent);
Hi, I got the same problem. Can anybody help me out please.
Thanks
Hi, I look the examples with grid export in Infragistics Samples
I copied the code into my project and I try to export in pdf like it shown in the sample.
And what do you thing happens: it throws exception:
Line 46: Line 47: // trigger exportLine 48: UltraWebGridDocumentExporter1.Export(UltraWebGrid1);Line 49: }Line 50:
So, gays try to find different way to export in pdf, the DocumentExporter just doesn't work, even with the Infragistics example source.
My current version of Infragistics is 35, but I test this with previous versions too, and it doesn't work either.
Regards, Iva