all groups > sql server reporting services > july 2005 >
You're in the

sql server reporting services

group:

link target


link target sun
7/15/2005 9:50:05 AM
sql server reporting services: I have some 'go to' links and 'back to' links in my report. I want the 'go
to' links displays reports in new window and 'back to' links displays the
RE: link target David Siebert
7/15/2005 11:07:03 AM
You can use javascript in the Jump to URL option of the Action property, so
you can include something like this:

= "javascript:void(window.open('" & Fields!url.Value & "','_blank'))"

to open a report in a new window. You can use similar stuff to navagate to
a report in the same window. Hope this helps.

David

[quoted text, click to view]
RE: link target Aravind
7/18/2005 9:05:05 AM
Hi,
I have the same problem :(
I want the hyperlinks in my report to open in a new window. I tried doing
this:
in Advanced->Navigation->JumptoURL of the textbox displaying the hyperlink,
I added "http://-the url"&" rc:LinkTarget=_blank" but it doesnt work - even
the javascript doesnt work :(
plz help
thanks.

[quoted text, click to view]
Re: link target steve kwon
7/29/2005 9:07:43 AM
Try a simple test ....

="javascript:void(window.open('http://www.google.com',
'_blank'))"


<Action>

<Hyperlink>="javascript:void(window.open('http://www.google.com',
'_blank'))"</Hyperlink>

</Action>


[quoted text, click to view]

Re: link target sun
8/2/2005 1:27:47 PM
Thank you very much. This worked perfect

[quoted text, click to view]
Re: link target Archana
5/9/2006 9:13:01 PM

Hi steve,

I too have a similar requirement, where in when i click on the image in the
report,it should navigate to the url given in the expression.

I have given
="javascript:void(window.open('http://www.google.com','_blank'))" in the
expression.

But what happens is,a new window is opened with "Page cannot be diaplayed"
and the javascript is pasted on to the addres bar of the the browser.And once
we press the enter key, the page loads successfully.What could be the reason
for such an behaviour.Any settings that i have to explicitly make to get this
working.

I have tried looking almost everywhere and this is the solution that they
have suggested.But then it just doesnt work fime with me.

Any inputs on this would be of great help to me.

waiting for your reply,
Many Thanks,
Archana


[quoted text, click to view]
Re: link target Archana
5/9/2006 10:09:02 PM
Hi Steve,
Please also note that ,Javascript works fine in the report.That is when i
try opening the report using the report manager /reportserver it works
fine.When i click the link, the page ('google') gets loaded.

But when i include the same report in my sharepoint site ,using the page
viewer webpart and try accessing the link,it throws up an error saying "Page
cannot be displayed" and the javascript gets pasted on the address bar.

Any idea why this behaviour?
Many thanks inadvance,
Regards,
Archana

[quoted text, click to view]
Re: link target Archana
5/10/2006 3:55:02 AM
Hi steve,

My problem got solved.It works fine now.There was a problem with my
sharepoint page and not the script.

Thanks for all the help

Regards
Archana


[quoted text, click to view]
Re: link target dcray
5/10/2006 10:43:02 AM

Hello, what was the problem with your sharepoint site exactly? I am just
using the reportserver with the javascript included, and was working just
fine, in many of my reports' action properties. Then one day they all just
stopped working. Perhaps there is a setting that has been changed by some
other install/update to the machine?? thanks!

[quoted text, click to view]
Re: link target Archana
5/10/2006 8:25:01 PM
Hi,

The prerequisite to get the javascript working is you need to have SP1
installed.
And in my case i was trying to include the report in a page viewer web part.
There were 3 frames in my SP page and 2 webparts.I was just not setting the
src property for the web part correctly.But other wise
="javascript:void(window.open('http://www.google.com','_blank'))" javascript
just works fine.

Please make sure you have SP1 update installed on your s/m to get it working.

Thanks !
Archana




[quoted text, click to view]
Re: link target dcray
5/11/2006 12:26:02 AM

Thanks for the reply. Yes, I had to install SP1 in order to get it working
in the first place, which it was working just fine for awhile anyway.

[quoted text, click to view]
Re: link target dcray
5/19/2006 9:30:01 AM

thanks again for responding to my inquiry. turns out some urls to reports
that were getting passed around used an alias for the machine that wasn't set
up as one of the host headers

[quoted text, click to view]
AddThis Social Bookmark Button