This is a migrated thread and some comments may be shown as answers.

open report in new browser window

2 Answers 210 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Błażej
Top achievements
Rank 1
Błażej asked on 25 Aug 2011, 01:51 PM
I generate report (PDF) programmatically,

is it possible to open report in new browser window ?

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 30 Aug 2011, 05:47 PM
Hello Błażej,

Check out the attached solution that shows how to open an exported in PDF format report in a new window.

Regards,
Peter
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
prateek
Top achievements
Rank 1
answered on 17 Jul 2017, 08:47 AM

Hi You can do this simply by applying event -  OnClientClick="aspnetForm.target ='_blank';" 

 <asp:Button ID="exportPDF" runat="server" target="blank" Text="Export PDF" OnClientClick="aspnetForm.target ='_blank';" CssClass="btn btn-info" />

Tags
General Discussions
Asked by
Błażej
Top achievements
Rank 1
Answers by
Peter
Telerik team
prateek
Top achievements
Rank 1
Share this question
or