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

Open Excel file in browser using .Net

P: n/a
Hey All,

I am trying to open an Excel file in a browser by using
Response.Redirect. The file is located in a virtual directory.
However, the browser title shows the path of the file, which I don't
want anyone to see. I was wondering, can I do the same thing using
Server.Tranfer, and if so, would it keep the browser title from showing
the location of the file since it doesn't make a round trip to the
server and all.

Or if you know any other ways to open up an excel file directly, please
let me know. Thanks.

Mar 30 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I havent done this before, but you could build a "wrapper" page. You
send the users to somePage.aspx?file=myfile.xls, then in the page, set
whatever title you want and load the excel file into a frame or
something. That way you have control over the page level elements.

Sorry I dont have examples, I havent tried this before.

Mar 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.