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

Sending generated Office documents without saving them to disk

P: n/a
I am creating dynamically some Office documents in my ASP.NET application. When I want to send the resulting document to the client, I am currently saving it to the local disk and then redirecting user's browser to it.
Is there any way to skip this saving phase, i.e. to send the document directly from memory?

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>BN9dKSONYEqICf01CWVYzA==</Id>
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
you can use Response.Write.
Set the Response.ContentType to the respective office doc type.

Av.

"Mladen Jablanovic via .NET 247" <an*******@dotnet247.com> wrote in message
news:eZ**************@TK2MSFTNGP12.phx.gbl...
I am creating dynamically some Office documents in my ASP.NET application.
When I want to send the resulting document to the client, I am currently
saving it to the local disk and then redirecting user's browser to it.
Is there any way to skip this saving phase, i.e. to send the document
directly from memory?

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>BN9dKSONYEqICf01CWVYzA==</Id>

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.