Plip's Weblog

Phil Winstanley - British Microsoft ASP.NET MVP & ASP Insider.

SQL Server Reporting Services - IFRAME Target Links

I have been creating a set of reports in SQL Server Reporting services today, they all needed to be linked together though in the form of "drill down" reports.

The application I was embedding the reports into is a complicated ASP.NET wrapper for SQL Server Reporting services with Domain Specific features all around the reports.

A problem I encountered was that any linked reports were opening with a target of _top which as I'm sure you're aware, is the window in which the ASP.NET application is, not where the report is! :-) So problem, how do I manipulate the linked reports so that they don't open in that frame but rather in a frame of my choosing?

Well, I was very pleased to find that this has already been catered for in Reporting Services by adding a parameter to the QueryString of rc:LinkTarget which has the value of your frameset name, cool!

I found the information on Google Groups. Targetting a frame in SQL Server Reporting Services with Drill Down Reports.

Posted: May 21 2006, 09:05 PM by Plip | with 2 comment(s)
Filed under:

Comments

Joel Ivory Johnson said:

Thanks a lot!  You don't know how long I spent trying to figure out what was going on (I was having the same problem).

# February 14, 2007 4:16 PM

Michael Freidgeim said:

rc:LinkTarget is applicable for all links in the report, isn't it?

How can I create some links in the same report with target=_self, and some with target="_blank"?

# December 26, 2007 8:12 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)