Jump to content

A popup window for a hyperlinked report?


follower

Recommended Posts

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

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...

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

  • 9 months later...
  • 7 months later...
  • 2 years later...
  • 7 years later...

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

hyperlinkexample.png

Edited by tommy27
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...