p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Microsoft SQL Server 2008 Reporting Services ISBN: 978-0-470-24201-8 (http://p2p.wrox.com/forumdisplay.php?f=434)
-   -   How to open a url in a new window using SSRS 2008 reportviewer control (http://p2p.wrox.com/showthread.php?t=86913)

griffster March 8th, 2012 06:28 AM

How to open a url in a new window using SSRS 2008 reportviewer control
 
I need to open a web page in a new window as a link from a cell in an SSRS 2008 report in our intranet. I found a reference on the web to say the best way to do this is to put in something like:

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

where the Fields!ReferURL.value is the page you want to navigate to in another window.

This works perfectly in report manager once the report has been deployed.

However, when we run the report from within a web page using the reportviewer control, the link does nothing at all.

Does anyone know how to get round this please?


All times are GMT -4. The time now is 05:42 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.