Showing posts with label jump. Show all posts
Showing posts with label jump. Show all posts

Monday, March 26, 2012

Report Viewer Jump to URL error after drilldown

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

Friday, March 23, 2012

report viewer embedded in a frame

I have a report viewer control embedded in a frame. The problem is with the jump to url property of the report. I want to use javascript to pop up a new window and display the desired content. However, this is not working - I can only assume due to the frame the report viewer is embedded in - any thoughts? Thanks.I solved this months back now. The control was in a html table too, which a removed. After that, the control worked fine. Cheers!

Wednesday, March 21, 2012

report to url

I have a question to ask:
I type
"http://reportserverurl/pages/reports.aspx?ItemPath=%2ftargetfolder%2ftestreport"
in jump to url box, it will go to open a report named testreport in my report
server. It is good. I want to rename the testreport to a variable name.
If I change testreport to Field!ReportName.Value in stead, then it does
not work, how do you make the Field!ReportName.Value to convert to
testreport. I have other reports in the report server="http://reportserverurl/pages/reports.aspx?ItemPath=%2ftargetfolder%2f" &
Feild!ReportName.Value
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Henry Chen" <HenryChen@.discussions.microsoft.com> wrote in message
news:85B76250-BB7F-4C78-96CB-2BB5B0C7804F@.microsoft.com...
>I have a question to ask:
> I type
> "http://reportserverurl/pages/reports.aspx?ItemPath=%2ftargetfolder%2ftestreport"
> in jump to url box, it will go to open a report named testreport in my
> report
> server. It is good. I want to rename the testreport to a variable name.
> If I change testreport to Field!ReportName.Value in stead, then it does
> not work, how do you make the Field!ReportName.Value to convert to
> testreport. I have other reports in the report server

Report to Report Navigation problem

when I use "Navigation, Jump to URL" feature to navigate from one report to another, the .Net report service always alto generate the html code as: "TARGET="_top" which navigete the current frame page to the parent page. How can I make it generate the code like "TARGET="_self"? Because I display the report in a frame, and don't want let the report jump out of the frame when I click on the hyperlink.
Anybody can help? thanks.

This post is just below, they too talk about how to get the report to render in a certiain frame, as well as some discussion on the rc:LinkTarget Parameter that can help you out in pointing to the right place, or just google rc:LinkTarget and you will get some bolgs and stuff where they discuss this,...
I know for sure rc:LinkTarget can take therse arguments out of the box

rc:LinkTarget=_blank
rc:LinkTarget=_parent
rc:LinkTarget=_search
rc:LinkTarget=_self
rc:LinkTarget=_top



http://forums.asp.net/971389/ShowPost.aspx

Monday, March 12, 2012

Report Services Bug? -Sub Report and Page break!

When the main report calls the meeting sub report, if the content of the sub
report is longer than the pare space on the current page, it will jump to the
next page without filling the rest space on the current page.
Is it a bug of Report Services?Any ideas?
"CEO" wrote:
> When the main report calls the meeting sub report, if the content of the sub
> report is longer than the pare space on the current page, it will jump to the
> next page without filling the rest space on the current page.
> Is it a bug of Report Services?|||No, this is expected behavior.
When you design your sub-reports, you need to make sure that you set them to
be right WIDTH. If in my main report, the width of my sub-report is 5
inches, then in my sub-report, I set my margins to be ZERO for left, right,
top and bottom. Next, I set the body width of my subreport to be 5 inches.
I hope this helps.
=-Chris
"CEO" <CEO@.discussions.microsoft.com> wrote in message
news:3C48CA63-49E1-48DB-99E5-245B1A0144B4@.microsoft.com...
> When the main report calls the meeting sub report, if the content of the
> sub
> report is longer than the pare space on the current page, it will jump to
> the
> next page without filling the rest space on the current page.
> Is it a bug of Report Services?