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

Open report from the report (shown in Iframe) in another IFrame on same page

$
0
0

I have a report shown within an iFrame of some other page. I want to drillthrough from this report to another report (same domain) to a another Iframe on same page

For drillthrough I am using HTML placeholder with expression

="<a href=""javascript:void(parent.document.getElementById('iFrameID2').src='" & Cstr(Variables!ObjectDataReportLink.Value) & "')"">"& Fields!Object.Value & "</a>"

This approach is working fine in Chrome, FireFox, Opera, but!!! 

it is not working in IE browser when report name is cyryllic!

(error rsItemNotFound)

I had similar situation before – for drillthrough report in new window. The solution was using escape function on client side

Unfortunately escape function(Something like

<a href="javascript:void(parent.document.getElementById('iFrameID2').src='https://pc.domainl.local/ReportServer/Pages/ReportViewer.aspx?%2f'+escape('Folder')+%2f'+escape('reportname')+'&rs:Command=Render&Object=126&rs:Parameters=false&rc:toolbar=false')> aaaaa </a>

is not working for frames at all - neither for IE nor for other browsers

Encoding url in custom dll on server side withSystem.Web.HttpUtility.UrlEncode is not helping either

 What else I can do to make it work??


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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