R
rbutch
hey guys, any idea(s) why this code would only export the first page?
it works perfectly - just if the report has multiple pages, it only exports one.
thanks for any help
ive been all over the web and this seems to be the code everyone is using.
rik
Private Sub ExportPdf()
Dim oStream As MemoryStream = New 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()
End Sub
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
it works perfectly - just if the report has multiple pages, it only exports one.
thanks for any help
ive been all over the web and this seems to be the code everyone is using.
rik
Private Sub ExportPdf()
Dim oStream As MemoryStream = New 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()
End Sub
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...