Excel won't open in browser

F

Fauna

I'm having an Excel problem. I hope this is the appropriate group to
post in.

I am converting an existing classic ASP web application to ASP .NET.
There is a reporting menu where the user clicks on a link and it opens
an Excel file in the browser. The browser we are using is IE 6. The
old application does this via a javascript open-new-window function.

I've successfully re-written the process in ASP .NET (via Visual
Studio 2005), but the new window will not open. I don't get any
error messages. I'm developing this on my local machine. The Excel
file is being created, and is put in the correct directory. I have
tried opening the file via javascript as well as response.redirect and
neither will work.

The only way I have gotten this to work is to create the Excel file
when the report menu page loads and populate the NavigateURL attribute
of the hyperlink. This is not acceptable, though, because some of
these reports are going to take awhile to run, so I don't want them
all kicked off when the page loads.

Does anyone have any suggestions?

Thanks much for any help.
 
M

Mark Rae

I've successfully re-written the process in ASP .NET (via Visual
Studio 2005)
Does anyone have any suggestions?

It's a little difficult to help you unless you actually post your code
and/or any error messages you're getting...
 
F

Fauna

Mark said:
It's a little difficult to help you unless you actually post your code
and/or any error messages you're getting...

I'm not getting any error messages.

How much of the code is it customary to post? I don't imagine people
want to scroll through a couple of pages of code.
 
M

Mark Rae

I'm not getting any error messages.
OK.

How much of the code is it customary to post?

As much as you feel is necessary for people to be able to help you...
I don't imagine people want to scroll through a couple of pages of code.

It's the only way...
 

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

Top