on 07-09-2009 7:27 AM
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.