Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS 2008 Iframe Question - Open link in the report(shown in Iframe) in a new parent window

$
0
0

I have a SSRS report that that has URLs as one of the column. This report is shown within an iFrame of some other page. I want that whenever users click on the URL field of the report, the link should open in a new Parent window rather than the existing window in which the report is shown. I have tried the following but none seem to work:

 

="javascript:void(parent.window.location.replace('http://www.xyz.com/"& Fields!Id.Value & "','_blank'))"



="javascript:void(parent.window.location.replace('http://www.xyz.com/"& Fields!Id.Value & "','_parent'))"



="javascript:void(window.open('http://www.xyz.com/"& Fields!Id.Value & "','_parent'))"



="javascript:void(window.open('http://www.xyz.com/"& Fields!Id.Value & "','_top'))"



="javascript:void(top.right_side.location('http://www.xyz.com/"& Fields!Id.Value & "','_blank'))"
 I am new to Javascript. Please help.

 


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>