This is a migrated thread and some comments may be shown as answers.

Display Full Report Without Scrollbar

7 Answers 391 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 20 Aug 2010, 12:43 AM
I'm working on an ASP.NET 4.0 WebForm with Q2 2010.

Is there a way to display a full report without the report scrollbar?  I need to use the Browser scrollbar instead, with the entire report appearing on the page.  Setting ZoomMode to FullPage isn't an option because the report is too small to read.  Here are a few things I've tried:

1. Look for a property or option that supports this.  Can't find or just isn't there.
2. Tried a few suggestions from other forum posts. i.e. CSS settings.  Don't Work.
3. Use reflection to get the Height property from the report and set Height in the viewer.  I don't know if this is the height of the main report, but I have sub-reports and it doesn't seem to be getting the true height of the rendered report.
4. Tried jQuery but didn't get too far.  It seems that there isn't an event I can hook up to for when the report is done rendering.

If the feature doesn't exist, I'd be happy to have a hack.  Right now, I'm setting the Height to 10000px, but that has issues too.

Thanks,

Joe

7 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Aug 2010, 11:26 AM
Hello Joe,

Unfortunately the report viewer still lacks such functionality.  However, your request will be added to increase the priority of this task.
Additionally the report viewer has an OnReportLoaded method, which is fired when the report is loaded in the report area. Here is an example:

<telerik:ReportViewer id="ReportViewer1" runat="server" ></telerik:ReportViewer>
        <script type="text/javascript">
            ReportViewer.OnReportLoadedOld = ReportViewer.OnReportLoaded;
            ReportViewer.prototype.OnReportLoaded = function() {                
                this.OnReportLoadedOld();                
                //do your thing
            }
        </script>

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Asif
Top achievements
Rank 1
answered on 10 Jan 2011, 05:35 AM
Please tell me how to increase the viewer area of report viewer it shows in very tiny space with scroll bar it should be in whole page.
0
Steve
Telerik team
answered on 10 Jan 2011, 05:46 PM
Hi Asif,

You can use the ZoomMode property to increase the area the report takes in the viewer.

Regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Geoff Suddard
Top achievements
Rank 1
answered on 31 Jan 2012, 08:12 PM
Hi there

I had implemented zoom mode to fit a wide report to the report viewer (did not want a scroll bar much like others above). After upgrading to your latest release it seems it now has been made obsolete.

Do you have an alternative solution to fitting the report to the window?

Note the property of ZoomMode and ZoomPercent still are available, and the drop down still appears on the page - but does nothing?

Thanks
0
Steve
Telerik team
answered on 03 Feb 2012, 03:25 PM
Hi,

We're posting the answer here as well, just in case anyone else is interested:

The zoom functionality in our Web Report Viewer was Internet Explorer specific and that is why we decided to obsolete it by disabling it by default as a first step (because we aim to be browser compliant) and we plan to remove it completely from the web viewer features in next version as second step. Currently there is no substitute, but If/when we find a feasible cross-browser solution to this inquiry, we would certainly look into its implementation.

Greetings,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

0
David V
Top achievements
Rank 1
answered on 20 Jan 2015, 06:58 PM
Can I say that no zoom is a really serious problem with using this product, and the fact that 2+ yrs has gone by with no solution is not encouraging, I need a solution with zoom and now need to at competitors products.
0
Stef
Telerik team
answered on 22 Jan 2015, 05:39 PM
Hello David,

Please check my response in How to show Zoom Percentage Selection in ReportViewer WebForms Q3 2014?

I hope the provided information is helpful.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 2
Answers by
Steve
Telerik team
Asif
Top achievements
Rank 1
Geoff Suddard
Top achievements
Rank 1
David V
Top achievements
Rank 1
Stef
Telerik team
Share this question
or