In the application, I show the SQL report inside iframe. Inside the report there are several buttons for expanding the tree. When I open the URL directly in the browser (Internet Explorer 11), I can use these buttons without any problems. When you click on the buttons with iframe, the following error appears:
SCRIPT1002: Syntax error
I do not know how to handle this error, since there is no error when opening the report directly ...
This may not be necessary, but here is the code iframe:
<iframe name="iframe1" id="iframe1" src="MyUrl/MyReport?SomeParameters"></iframe>
I tried adding rs:Embed=trueto the url but nothing changed.
It may be a problem with the browser, but then the report should not load correctly when you open it directly, or am I mistaken? How can I show the report inside iframeas it is?
source
share