Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 12 Jun 2008 01:42:18 -0700 (PDT),    group: microsoft.public.dotnet.framework.aspnet.mobile        back       


working with dynamically generated PDF with Win Mobile browser   
Hi,

I have a page that dynamically generates a PDF file using
ActiveReports.

The code that does it looks like this.

m_stream.Position = 0;  //this is memory stream
Response.ContentType = "application/pdf";
Response.BinaryWrite(m_stream.ToArray());
Response.End();

Of course this is only a part of the code, but the point is, I am
using the Response object to make this happen.

This works beautifully with the desktop browser.  The Acrobat reader
launches, and I see the PDF file inside the browser. But not so with
Win Mobile 6.0 IE.

* The PDFViewer does not launch

* It asks me if I want to save

* So I say yes.  It saves with the .ASPX extension!

* And it does not let me change the extension.  I am stuck with the
ASPX extension, and there is no tool in WinMobile 6.0 that I know of
that would allow me to do that.

Thanks in advance.
date: Thu, 12 Jun 2008 01:42:18 -0700 (PDT)   author:   David C

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us