all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

SOLVED: Opening links into new window!!!


SOLVED: Opening links into new window!!! Nikola Tepper
8/26/2004 11:45:02 PM
sql server reporting services:
I know a lot of people were trying to open links from reports into new
window. I know about a rc: commands and its limitation to open ALL links into
a new window.
I think I have a solution. If you want a particular link to be opened in a
new window, enter this into the "Jump to URL" field:

javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){}

Edit parameters to your liking and note that the empty if statement is very
important to prevent window.open expression evaluate into current window.

This doesnt solve opening RS reports into a new window though (well, if you
build up the whole URL from scratch through an expression, it kinda does ;-).
Something for MS to think about.
RE: SOLVED: Opening links into new window!!! Joerg
8/27/2004 3:39:02 AM
Hello Nikola,
this was very helpful to me.

Jörg

[quoted text, click to view]
RE: SOLVED: Opening links into new window!!! NI
1/5/2005 8:25:04 AM
This works, only when I run reports form the report server meaning
http://servername/reportserver/....but when I see the same report from
http://servername/reports/... the java script doesnt work. Please suggest
something

Thanks


[quoted text, click to view]
Re: SOLVED: Opening links into new window!!! Jeff A. Stucker
1/7/2005 1:48:24 PM
Try void:

javascript:void(if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)))

--
Cheers,

'(' Jeff A. Stucker
\

Business Intelligence
www.criadvantage.com
--------------------------------------
[quoted text, click to view]

Re: SOLVED: Opening links into new window!!! NI
1/10/2005 11:01:04 AM
nope doenst work :(

[quoted text, click to view]
Re: SOLVED: Opening links into new window!!! Jeff A. Stucker
1/10/2005 6:51:04 PM
Drats.

--
Cheers,

'(' Jeff A. Stucker
\

Business Intelligence
www.criadvantage.com
--------------------------------------
[quoted text, click to view]

AddThis Social Bookmark Button