I have a problem with CSV / Excel-export from RADGrid (Q2 2009).
At my customers site, the export ends up as an Excel appl. completely embedded in the browser window.
The browser window is a RadWindow ... so I end up with an Excell sheet I cannot control at all (no menus).
If I access the site from my own PC, Excel is started as a standalone application - and my customer wants that as well.
I am pretty sure I could solve the problem if I was Administrator on the site (although I dont know yet exactly where to change which setting).
In other areas of the application I have coded my own CSV Export - and it works as the customer wants (Standalone Excel).
I have grabbed the HTTP Response headers from the RadGrid-Export, and found this:
"Content-Disposition: inline;filename="%52%61......"
and this:
Content-Type: application/vnd.ms-excel
In my own CSV-export I use this:
Response.AppendHeader("Content-Disposition", "attachment;filename=Job.csv")
Response.ContentType = "application/download"
Is there somehow a possibility that I can change the way RadGrid does the export ?
Thanks
At my customers site, the export ends up as an Excel appl. completely embedded in the browser window.
The browser window is a RadWindow ... so I end up with an Excell sheet I cannot control at all (no menus).
If I access the site from my own PC, Excel is started as a standalone application - and my customer wants that as well.
I am pretty sure I could solve the problem if I was Administrator on the site (although I dont know yet exactly where to change which setting).
In other areas of the application I have coded my own CSV Export - and it works as the customer wants (Standalone Excel).
I have grabbed the HTTP Response headers from the RadGrid-Export, and found this:
"Content-Disposition: inline;filename="%52%61......"
and this:
Content-Type: application/vnd.ms-excel
In my own CSV-export I use this:
Response.AppendHeader("Content-Disposition", "attachment;filename=Job.csv")
Response.ContentType = "application/download"
Is there somehow a possibility that I can change the way RadGrid does the export ?
Thanks