-
Jul 22nd, 2024, 10:57 AM
#1
Thread Starter
New Member
Exporting report i have a PDf of 0 byte
I use use ActiveReport 10 and in my asp page i use an ActiveReportsWeb:WebViewer. I’d like export my report by a custom button. When i click on button i have just a file of 0 Bytes.
In my custom button i tryed to insert :
Dim MyPDF As New GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport
Try
MyPDF.Export(WebViewer1.Report.Document, _path_and_name)
Catch _Error As Exception
End Try
I try to export it when i load the page but i have the same results.
Thank you Luca
-
Jul 23rd, 2024, 08:42 AM
#2
Hyperactive Member
Re: Exporting report i have a PDf of 0 byte
This project is a .net framework 3.5 - 4.8 asp.net webapp using Webforms with ActiveReport 10 - Standard Edition Web? Do you have the viewer set to runat="server"?
-
Jul 24th, 2024, 08:48 AM
#3
Thread Starter
New Member
Re: Exporting report i have a PDf of 0 byte
i forgot to add rpt.run() in the load of page. ty
-
Jul 26th, 2024, 07:57 AM
#4
Hyperactive Member
Re: Exporting report i have a PDf of 0 byte
Ah, okay, glad it was an easy fix. We've all done stuff like that.
Some of us more
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|