Export to Excel

U

Ugo

We are trying to export a datagrid to excel but we are using forms
authentication and when we change the ContentType =
"application/vnd.ms-excel". the page that is sent to excel is out login
page instead of the datagrid. For some reason our authentication cookie
must get deleted.

Any ideas.

Thanks in advance
Ugo
 
C

Cowboy

You can set up the grid Excel page as a page outside of session (via
web.config), but I would check and see if the Excel MIME type is set up in
IIS first, as this could be the issue.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top