Hello,
I'm using an ASPX page + ReportViewer + remote report with drilldown and Jump to Url (target _blank) in IE 6.
The ReportViewer's property AsyncRendering is set to true.
After drilldown, if i click on the text with the navigation action "Jump to Url", i have this error message in IE : Javascript Error : can't execute code from a freed script.
The jump to URL "works", but not in a "blank" page (in the same page of the ReportViewer).
If the the ReportViewer's property AsyncRendering is set to false, "Jump to Url" works fine (in a new IE page). But my report is very large, and i need the AsyncRendering set to true.
The only solution i found is to use IFrame with direct URL access to ReportServer, instead of ReportViewer.
I would prefer to use ReportViewer, so if someone as an idea of this problem, many thanks for is help !
Thanks,
Frederic
I am having the same error that Frederic is having. not only that my web page is loading within the report viewer I am getting the same script error. When I set AsyncRendering =false, the script error goes away and web page loads correctly( in the same browser); however, my report is centered in the report viewer and I have to scroll to the right to see it. Everytime I expland or collapse the focus changes and I can't see the report unless I scroll to the right(that's annoying)
I am working with local reports since the data for my report come from class objects. I am not publishing my reports to the report server. Is there a way to accomplish this with Frames without the report viewer? If so please let me know. I have been having this problem for 2 weeks now and I am not finding any resolution for it.
I will appreciate any help I coul get with this.
Thanks in advance,
Mini
|||
Frederic,
Can you tell me how you got it to work with IFrame. I cant't get it to open an external link.
thanks
Mini
|||Hi Mini,
I'm using a Report Server, not a local report, that's why instead of using ReportViewer i can use an IFrame with an URL to my ReportServer.
In the ASPX page i have declared :
<iframeid="frameRS"runat="server"src="http://localhost/ReportServer?/ReportFolder/Report1&rs:Command=Render&rc:LinkTarget=blank"width="100%"height="100%"></iframe>In this exemple, the Report Server is local (localhost/ReportServer).
It's possible to change the value of the src property (C# exemple in the .aspx.cs file) :
protected
void Page_Load(object sender,EventArgs e){
this.frameRS.Attributes["src"] ="http://localhost/ReportServer?/ReportFolder/Report2&rs:Command=Render&rc:LinkTarget=blank";}
Unfortunately, i'm not sure that you can use this solution with a local report.
Bests regards,
Frederic
|||I managed to get my report loaded into the Frame and executed the hyperlink. However I am encountered with a new problem
My report is pretty wide and the report is not showing all of it to the right. I know my frame width is 100% thus I am not getting the scrollbar but some how part of the report on the right is missing. I am thinking it is not being returned from the report server. Howerver if I directly go to the server and run it, I see it all
Any idea what is going on
Thanks
Mini
|||Hi Mini,
Did you manage with the example i sent you last week ?
Best regards,
Frederic
No comments:
Post a Comment