473,385 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Excel won't open in browser

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
3 2181
"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

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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jim, N2VX | last post by:
I'd like to create/display an Excel spreadsheet from javascript. We have an HTML page with results of a search and it can be reasonably large. The first attempt was to format the data into an...
2
by: brazilnut52 | last post by:
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better I have created a simple COM DLL in .NET by using the COM class...
6
by: Matthew Wieder | last post by:
I have the following requirements: Build a stand-alone C# application that asks the user to click in a cell in an Excel spreadsheet, and then displays the address of that cell in the C#...
10
by: KeithRaginF | last post by:
Hello I am trying to return the contents of an Excel file. However, I don't want to just redirect the request to the Excel file since it does not reside in a location where that is appropriate. ...
6
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling...
2
by: mike | last post by:
Hi, I have surfed through several posting about exporting gridview to excel and it works great. using the following code... response.Clear() response.ContentType = "application/vnd.ms-excel"...
2
by: Peter S. | last post by:
I have an ASP.NET page that invokes a web control written in C#. What I want to do is (based on the session ID) display a certain spreadsheet that exists on a network drive. I want the webcontrol...
16
by: alexia.bee | last post by:
Hi all, In some weird reason, excel instance won;t die if i remove the comment from 4 lines of setting values into struct. here is a snipcode public...
4
by: JaxDawg | last post by:
I have a spreadsheet saved as an XML spreadsheet so I can manipulate it easier (and don't need COM). When I'm done, I want to display to the user. Currently, I'm using simple JavaScript in my PHP...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.