Groups | Blog | Home
all groups > sql server reporting services > june 2005 >

sql server reporting services : Target New Window


Jan Pieter Posthuma
6/20/2005 7:31:01 AM
Hi,

When you render the report in HTML supply the option LinkTarget=_blank with
it. You can do this by accessing the URL with &rc:LinkTarget=_blank at the
end.

With the option LinkTarget SRS creates all hyperlinks with the supplied
target value.

Hope this would help.

Jan Pieter Posthuma

[quoted text, click to view]
Bruce L-C [MVP]
6/20/2005 9:32:54 AM
Here is an example of a Jump to URL link I use. This causes Excel to come up
with the data in a separate window:

="javascript:void(window.open('" & Globals!ReportServerUrl &
"?/SomeFolder/SomeReport&ParamName=" & Parameters!ParamName.Value &
"&rs:Format=CSV&rc:Encoding=ASCII','_blank'))"

Default is HTML so just leave out the format if that is what you want.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services



[quoted text, click to view]

Davie
6/20/2005 3:20:07 PM
How can I set a link to a subreport to target a new window, i.e., open in a
new browser instance?

AddThis Social Bookmark Button