Wednesday, March 28, 2012
Report window and 2-up labels
the labels actually print. Is there a method/property or something that can
make the preview look similar to the actual printed output when printing a
multi-column report? Thanks.
DavidOn Nov 16, 9:47 am, "David C" <dlch...@.lifetimeinc.com> wrote:
> When I run a multi-column report like labels, the preview does not look like
> the labels actually print. Is there a method/property or something that can
> make the preview look similar to the actual printed output when printing a
> multi-column report? Thanks.
> David
I'm not sure if this will help; however, you could try placing the
controls that are being used into a single rectangle control or adjust
your column spacing (by right-clicking Column 2 and select
Properties). Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||On Nov 16, 10:47 am, "David C" <dlch...@.lifetimeinc.com> wrote:
> When I run a multi-column report like labels, the preview does not look like
> the labels actually print. Is there a method/property or something that can
> make the preview look similar to the actual printed output when printing a
> multi-column report? Thanks.
> David
David,
I don't think there's a way to get Preview to look like the printed
output straight-a-way as what you're seeing in preview is the HTML
rendering of the xml code. However, once you're in Preview you can
click on the Print Layout button (right next to the Print button) to
give you a rendering of the page as it will print. Once you change to
this view, it'll stay that way as you flip back and forth from Preview
to Layout.
HTH
toolman
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
Report Viewer Horizontal Scrollbar
Hi,
Is there a report viewer property that needs to be set to enable the horizontal scroll bar. My reports are being cut off at the end of the iframe. I have several other reports that do show the horizontal scroll bar, but for some reason all my reports in the newly created project do not allow horizontal scrolling. Vertical scrolling is still available.
Thanks
Umer
It seems that the scroll bar appears when I make the width of a subreport wide. This prevents the report from being cut off, but this also mean tat reports that arent as wide will still show a horizontal scroll bar.
So heres a question, how do I specify the width of a report to increase and decrease based on the size of the report.
Lets say I have 5 columns from one set of date, 15 columns from another and 1 column from a third. How can I make sure the horizontal scroll appears in the 5-column and 15 column report and the page is wide enough to accomodate the 15 column report. And that no horizontal scroll bar appears in the 1 column report.
Any help will be greatly appreicated.
Thanks
Umer