Display Full Report Without Scrollbar

8 posts, 0 answers
  1. Joe
    Joe avatar
    12 posts
    Member since:
    Apr 2007

    Posted 19 Aug 2010 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Aug 2010 Link to this post

    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
  3. Asif
    Asif avatar
    49 posts
    Member since:
    Jul 2010

    Posted 09 Jan 2011 Link to this post

    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.
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 10 Jan 2011 Link to this post

    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.
  5. Geoff Suddard
    Geoff Suddard avatar
    13 posts
    Member since:
    Jun 2005

    Posted 31 Jan 2012 Link to this post

    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
  6. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 Feb 2012 Link to this post

    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!

  7. David V
    David V avatar
    5 posts
    Member since:
    Oct 2012

    Posted 20 Jan 2015 in reply to Steve Link to this post

    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.
  8. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 22 Jan 2015 Link to this post

    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.

     
Back to Top