By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,435 Members | 2,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,435 IT Pros & Developers. It's quick & easy.

Excel won't open in browser

P: n/a
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.

Jan 23 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Fauna" <fa*******@gmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
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...
Jan 23 '07 #2

P: n/a

Mark Rae wrote:
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.

Jan 23 '07 #3

P: n/a
"Fauna" <fa*******@gmail.comwrote in message
news:11*********************@q2g2000cwa.googlegrou ps.com...
Mark Rae wrote:
>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.
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...

Jan 23 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.