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
  • 28464
    posted

    So I have tried very hard to reproduce that one - I used your exact code, plus a lot of additional test scenarios - unfortunately without much success. Each time I got things working just fine.

    So let's try to figure out what is going on - are by any chance having custom HttpModule / HttpHandlers in your site? Or especially Url Rewriting once that may interfere with the request? Or are you using AJAX in any way, like Update / WARP panel? Is there anything special in your scenario that may help us reproduce the problem?

Reply Children