PC Review


Reply
Thread Tools Rate Thread

CrystalViewer Export - only one page

 
 
rbutch@coair.com
Guest
Posts: n/a
 
      13th Dec 2005
im pushing a dataset to a Crystal report in an asp.net web application and it works just fine. i can also export in word,excel or pdf formats, however, if the report has multiple pages - i only get one page.
Has anyone done this before - im sure im missing one reference or line of code somewhere, but i just cant figure out where.
thanks again for any help
rik

Private Sub exportMePdf()
Try
Dim oStream As System.IO.MemoryStream
oStream = oRept.ExportToStream(ExportFormatType.PortableDocFormat)
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/pdf"
Response.AddHeader("content-disposition", "attachment;filename=CrystalViewer.pdf")
Response.BinaryWrite(oStream.ToArray())
Response.End()
Catch ex As Exception
Response.Write(ex.Message)
End Try

End Sub

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CrystalViewer control problem stan.goodvibes@gmail.com Microsoft VB .NET 1 23rd Mar 2007 01:48 AM
CrystalViewer View kjohnston via DotNetMonster.com Microsoft VB .NET 0 21st Mar 2007 03:06 PM
CrystalViewer export to .pdf rik Microsoft ASP .NET 0 13th Dec 2005 09:36 PM
Crystalviewer PrintReport() AMDRIT Microsoft Dot NET 0 30th Nov 2005 10:05 PM
Crystalviewer lost Toolbar Images Japie Niemand Microsoft VB .NET 2 10th Mar 2005 02:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:46 AM.