When using the Jump to URL function, is it possible to open the URL in a new page instance of doing a redirect?
Thanks !
I've found how to do it. I didn't know we could use javacript in report but it seems that it work so i added a window.open and now it's working fine.
|||
Another way you can do it is by adding rc:TargetLink=_blank to the link leading into your report. Then all Jump to URL hyperlinks in that report will open in a new window.
I like the javascript better though so you can mix pop-up and new window links.
|||How exactly can I add that to my report? It is exactly the function I need - I tried adding it to the report link and it doesnt work for me - can you post the exact syntax? Im new to Report Services and REALLY need your help!
Sincerest of thanks!
Gina
|||you can add javacript code. So you can do something like:
="_javascript:void(window.open('myPage.html', 'popup','location=no,toolbar=no,resizable=1'))"
You muste remove the _ after the ". This is just to be able to display all code.
|||I keep getting Invalid Schema errors - URL's in reports may only use http://, https://, ftp://, mailto: or news:
Grrrrr......but thanks for the response! I will keep hacking at it......
Gina
|||Try this it should work fine:
In the Navigate to URL field paste this:
="_javascript:void(window.open('http://www.google.com/', 'popup','location=no,toolbar=no,resizable=1'))"
Don't forget to remove the _ before the java script word. I've tried it and it work fine. Each time click on the texbox i've got a popup that open on google website.
If this doesn't work make sure that you have the SP1 version for reportServer.
|||Nope - still have the error - this is SQL RS 2000 SP1- thanks for all the help tho - Onward and Upward! AGH!
No comments:
Post a Comment