Rank: Newbie Groups: Member
Joined: 7/10/2014 Posts: 1
|
Hi,
Basically I have a report on Report.aspx. The is the requirement is, I have to open it from ListofReports.aspx. Once selected Report.aspx, it should be render as pdf on new tab or current page instead downloading to client.
Anyone could advice me how I could achieve it. I have tried ASPXToPDF1.RenderAsPDF(false) but the .aspx page still remain same.
Thanks in advanced.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This would not have anything to do with EO.Pdf. You can use any method that you are familiar with to display a web page in a new tab. For example, you can use an HTML A element with a target attribute. Whatever method you use, you do it in your HTML, not with EO.Pdf. Once you have the new page in a new tab, you would then plug ASPXToPDF into that page so that it renders as PDF.
Thanks!
|