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
25
Webpart Excel WebGrid Exporter
posted

Hi All

I know this should be easy but for some reason I can't seem to get this to work. I've made a sharepoint web part that contains a webgrid and a excel export button. The problem is the export doesn't save the file anyway and now download dialog starts. I've search the HD for the excel file and I can't find it.

I've added a exporter object to the Controls and I've set the download name. The Grid has data in when the exporter is called. I've added a watch in the EndExport() event and it does happen. So where is the file?

Any help will be much appreciated.

Thanks