follower Posted September 22, 2011 Share Posted September 22, 2011 Hi all,Is there a way to bring up a popup window when a user clicks on the hyperlink in the master report.I gave a hyperlink in my master report with 'Hyperlink target' Self and 'Hyperlink type' ReportExecution. Everything works fine other than the link takes me to the next page where the second report is. But I want it to be a popup instead.And I want to customize my report with some options like in the picture below. Please help me with these (better everything in Jasper and not using JAVA).Thanks in advance. Link to comment Share on other sites More sharing options...
follower Posted September 29, 2011 Author Share Posted September 29, 2011 I thought somone will be here to help me out.For this too,http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=92097 Link to comment Share on other sites More sharing options...
ajaynayak Posted December 7, 2012 Share Posted December 7, 2012 Hi, You can use the following code to open a new popup from jasper report's hyperlink. Ex: javascript:window.open("+"'http:\\www.google.com'"+","+"''"+","+"'height=480,width=950,scrollbars=no,resizable=yes,status=no,toolbar=no,menubar=no,location=no'"+");" Thanks, Ajay Link to comment Share on other sites More sharing options...
ajaynayak Posted December 7, 2012 Share Posted December 7, 2012 Hi,You can use the following code to open a new popup from jasper report's hyperlink.Ex: javascript:window.open("+"'http:\\www.google.com'"+","+"''"+","+"'height=480,width=950,scrollbars=no,resizable=yes,status=no,toolbar=no,menubar=no,location=no'"+");"Thanks, Ajay Link to comment Share on other sites More sharing options...
kalaranjini-m Posted September 23, 2013 Share Posted September 23, 2013 Hi Ajay, Can you tell me where to use this javascript code in ireport. Thank you, Kala Link to comment Share on other sites More sharing options...
sadakar Posted April 24, 2014 Share Posted April 24, 2014 Where and how to use this code with a report ? Link to comment Share on other sites More sharing options...
ravurisam5 Posted December 5, 2016 Share Posted December 5, 2016 Hi Ajay, I am Trying to add it in the Report Reference Expression it is giving an error.Where should I add this code?ThankyouSamba Link to comment Share on other sites More sharing options...
tommy27 Posted February 21 Share Posted February 21 (edited) Hi, let me try to continue where Ajay left off.. Type it in the Hyperlink Reference Expression Window field on Hyperlink tab of your TextField Set Link Target to Self and Link Type to Reference Edited February 21 by tommy27 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now