Open Office document inside of IE - ASP.NET

How do i open Office Documents inside of IE? Currently i get prompted w/ a
dialog box Open/Save/Cancel. In my application i want to programatically
display the document in an iframe. If i point to PDF it works fine, but .doc
file give the prompt.
Thanks.
--
Richard
RichardRoche [ So, 06 April 2008 16:15 ] [ ID #1936480 ]

Re: Open Office document inside of IE - ASP.NET

"Richard Roche" <RichardRoche [at] discussions.microsoft.com> wrote in message
news:47639AD4-628C-4E8B-9B66-ED376BFEFBF5 [at] microsoft.com...
> How do i open Office Documents inside of IE? Currently i get prompted w/
a
> dialog box Open/Save/Cancel. In my application i want to programatically
> display the document in an iframe. If i point to PDF it works fine, but
..doc
> file give the prompt.
> Thanks.

You have office installed on the client machine?

You are sending the correct content type when responding to the request for
a document?

Do you have Content-Dispostion: attachment in the response? (If so remove
it).


--
Anthony Jones - MVP ASP/ASP.NET
Anthony Jones [ So, 06 April 2008 16:31 ] [ ID #1936481 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Open Office document inside of IE - ASP.NET

Vorheriges Thema: Web Service Documentation Tool?
Nächstes Thema: asp.net futures enabled web application in vs2008