im using CrystalViewer in an asp.net web application and pushing a dataset to it. it works fine and displays just fine. however when i export it and it has multiple pages, it only exports the very first page. is there something im missing on this?
any help is appreciated
thanks
rik
Private Sub exportMePdf()
Try
Dim oStream As System.IO.MemoryStream
oStream = oRept.ExportToStream(ExportFormatType.PortableDocF ormat)
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
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/