Home > Archive > MS SQL Server Reporting Services > November 2005 > Links to open a new window NO Javascript









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Links to open a new window NO Javascript
ChristopherLauer

2005-11-30, 1:23 pm

Thank you to everyone who has posted questions and to those who have answered
them. I always find a wealth of your knowledge out here. I know this is a
VERY dead horse but I need to ask about opening up a report in a new window.
The JavaScript fix works like a charm, in fact I have been using in
production for some time now. The problem I am running into is that when a
report is exported into Excel (only tested in Office 2003), the JavaScript
that works on the web will not work in Office. I tried to use the
“rc:LinkTarget = _blank” parameter. It works in Excel but for some reason
opens up the new report in the same report window on the web.

I am using IIS 6, SQL Reporting Services patch to max, and SQL 2000 (don’t
think that matters but hay, I’ll put it in the list).

This is what I have in my Jump To URL:
=IIF(Globals!ReportS
erverUrl = "http://localhost/reportserver/folder",
"https://reporttest.battelle.org/ReportServer", Globals!ReportServer
Url) &
"?/LeadsTracking/Opportunity+-+By+ID&rs:Command=Render&idOpportunity=" &
Fields!DocumentKey.Value & "& rc:LinkTarget=_blank
"

Is there a best of both worlds fix here?

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com