cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlink to open in new window on clicking via crystal client

Former Member
0 Kudos

Hi,

How to call hyperlink in new window via crystal client.

I have main report. In that ,for two-three columns, I have made the hyperlink and I want that when user click on that column, it should open in new window.

But I am unable to open the below link in new window.

Hyperlink code :

'http://epint1ent1.jpmorganchase.com/vps/docViewer?invoiceIndexKey='

&columnname

I am using crystal client XI R2.

Please let me know any solution.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I have the same problem, and i tried adding "sWindow=New" at the end of the Hyperlink - and it did not work.

Does anyone have a solution?

fritzfeltus
Product and Topic Expert
Product and Topic Expert
0 Kudos

To enable the "open in a new window" behavior for the .NET Crystal Reports Viewer, set the HyperlinkTarget property of the CrystalReportViewer in .NET to "_blank". Hyperlinks only need to be formatted using the method Format Text > Format Editor > Hyperlink > Hyperlink type: A Website on the Internet. The hyperlinks do not require any special formatting (such as JavaScript). This configuration option is a global change and will affect all hyperlinks in Crystal reports viewed through the .NET Crystal Reports viewer.

Answers (1)

Answers (1)

Tim_Richards
Discoverer
0 Kudos

Vishal,

In your Hyperlink add in the parameter for

sWindow=New

i.e. 'http://epint1ent1.jpmorganchase.com/vps/docViewer?sWindow=New&invoiceIndexKey='.....

You obviously need to complete the Hyperlink fully.

This should do the trick

0 Kudos

Hi Tim,

The link Vishal is using is not a typical opendoc link, its actually calling a different application from a crystal report.

Its like calling a "http://google.com" from a cryctal report in a new window.

Let us know if there is any solution from within crystal, like an ability to create javascript for newwindow and pass the url to it.

Thanks,

Venkat