report viewer - document map

4 posts, 0 answers
  1. Andrew
    Andrew avatar
    125 posts
    Member since:
    Sep 2008

    Posted 13 Nov 2014 Link to this post

    I add a reportbook that contains two reports to the report viewer.

    when I view them the document map expands the root node by default. is there away to have the default state be collapsed for the root node?
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 17 Nov 2014 Link to this post

    Hello Andrew,

    The DocumentMap in the HTML5 Report Viewer is a kendoTreeView widget. If you want to modify its  default behavior, you will have to edit the widget in the telerikReportViewer-8.2.14.1107.js file. You can also use any other widget suitable for your requirements.


    I hope the above 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.

     
  3. Andrew
    Andrew avatar
    125 posts
    Member since:
    Sep 2008

    Posted 17 Nov 2014 in reply to Stef Link to this post

    thanks,

    But I using the ajax version.
  4. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 17 Nov 2014 Link to this post

    Hi,

    The ASP.NET ReportViewer's toolbar is immutable. The content of the DocumentMap area is rendered in an IFRAME element and modifying its content is a matter of hack, which we will not support.

    Our recommendation is to switch to the HTML5 Report Viewer introduced as of Telerik Reporting Q3 2013, which will allow you to customize its template freely. The HTML5 viewer is a client-side widget served through a running Reporting REST service. For more details about how it works and the required settings, please check this forum thread.


    Let us know if you have any further questions.


    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