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

report viewer - document map

3 Answers 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Veteran
Iron
Andrew asked on 13 Nov 2014, 07:09 PM
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?

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 17 Nov 2014, 03:24 PM
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.

 
0
Andrew
Top achievements
Rank 1
Veteran
Iron
answered on 17 Nov 2014, 03:37 PM
thanks,

But I using the ajax version.
0
Stef
Telerik team
answered on 17 Nov 2014, 04:11 PM
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.

 
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Veteran
Iron
Answers by
Stef
Telerik team
Andrew
Top achievements
Rank 1
Veteran
Iron
Share this question
or