SSRS 2008 Iframe Question - Open link in the report(shown in Iframe) in a new parent window
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.
July 23rd, 2011 4:35pm

Hi hisxlnc, According to your description, you would like to add URL link to your report which would be opened in a new window. Please refer to the steps below: 1. Right-click the textbox which you would apply the hyper link to. 2. Select Expression, type in the expression below: ="<a href=""javascript:void(window.open('http://www.google.com/'))"">parent</a>" Note: you can replace http://www.google.com/ to the URL you want to use, replace parent to the string you want to show in the textbox. 4. Click ok. 5. Double-click the textbox to select «Expr» in it, and right-click it. 6. Select Placeholder Properties. 7. Check the HTML-Interpret HTML tags as styles checkbox in General tab. 8. Click ok. Please note that we need to deploy the report to report server, then we get it as you expected. I hope this can help you, if you have anything unclear, please feel free to let me know. thanks, Bill Lu
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2011 11:13pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics