Groups | Blog | Home
all groups > sql server reporting services > august 2004 >

sql server reporting services : Iframe and Netscape


Mark
8/9/2004 10:38:48 AM
Hello there,

I'm developing web based reports in Reporting Services which renders to an
iframe in the browser using the ReportViewer component. When I run it in IE
6, it works perfectly and looks great. However when I run it in Netscape 7.1
(which supports iframes), the iframe doesn't show and the page is blank.
Here's my ReportViewer tag which I give a NAME and ID to:

<cc1:reportviewer id="ReportViewer1" name="ReportViewer1" runat="server"
Height="95%" Width="100%" BorderStyle="None" Format="Default">

I also modified the ReportViewer component to output the NAME and ID
attributes into the iframe tag...and I still can't get the iframe to show
up...The outputted tag looks like this:

<iframe id="ReportViewer1" name="ReportViewer1"
src="http://localhost/ReportServer?/dir_name/report_name&rs:Command=Render&r
s:Format=HTML4.0" width="100%" height="95%" style="border: 1 solid #C0C0C0"
border="0" frameborder="0"></iframe>

Has anyone else had this problem? Any advice is greatly
appreciated...thanks,

Mark

Bryan Keller [MSFT]
8/18/2004 11:10:30 AM
The sample was not tested in Netscape. Can you simply add an IFrame to your
page and set a static URL to a report on the report server? Does that work?

--
Bryan Keller
Developer Documentation
SQL Server Reporting Services

A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.


[quoted text, click to view]

AddThis Social Bookmark Button