Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
Problem when Exporting Ultrawebgrid to PDF
posted

Hi,

When i am exporting ultrawedgrid to Excel i am getting  issue like this

'/WebResource.axd?d=obwtiHYL6vSIu6GaMtODjZs6kC7qIFU7Bw-ls3Bd61VCo-rqPQy7bjaQzTSncRQmmy22VJiG7B3NjMFkgPw6bNFKVmCSyNHhOa-XRUFD7gU1&t=633398780440000000' is not a valid virtual path.

I am using UltrawebgridDocumentExporter like this

<igtbldocexp:UltraWebGridDocumentExporter ID="UltraWebGridDocumentExporter1" runat="server"

Format="PDF" TargetPaperOrientation="Landscape">

</igtbldocexp:UltraWebGridDocumentExporter>

 

and under click event of Export to pdf button

protected void btnExportPdf_Click(object sender, EventArgs e)

{

UltraWebGridDocumentExporter1.DownloadName =
"ReportFor" + ddlFromMonth.SelectedItem.Text + ddlFromYear.SelectedItem.Text + ".pdf";

UltraWebGridDocumentExporter1.Export(UltraWebGrid1);

}

I don't  know where i made mistake

How to solve this issue?

Thanks

Sivaprasad

Parents Reply Children
No Data