Hi,
I am using Infragistics v8.2
Issue: When Exporting Ultrawebgrid to PDF i am getting one error like this
'/MyApplication/WebResource.axd?d=0OvaBzWedBe5DVsmUEiun0ptzBzkiEDIJEc0D-xnRNzM-r04xHi-vgwCBzf-EtOtOLXQrknP9-8P0RxRmaCi1A2&t=633398816440000000' is not a valid virtual path
and the code i had used is
exp.ExportMode = Infragistics.WebUI.UltraWebGrid.Exporter.ExportMode.Download;
exp.Export(ultrawebgrid1);
instead of this i had used DocumentExporter control then also i am getting same issue
Please help me .....
Thanks, regards
Sivaprasad
Try to add the exporter as a Global variable of the form and create and add it from the CreateChildControls or CreateControls event of the form... I am working with Web Parts and I have to override the RenderControl event of the form, if you do this too be sure you are render the Exporter control in this event.
protected override void CreateChildControls() { base.CreateChildControls();
excelExporter = new UltraWebGridExcelExporter("ExcelExporter"); this.Controls.Add(excelExporter);
}
public override void RenderControl(HtmlTextWriter writer) { this.excelExporter.RenderControl(writer);