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

Report-Book Navigation

5 Answers 138 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio asked on 27 Mar 2012, 06:41 PM
Greetings

This concept should be straightforward; however, I have not been able to see it in the documentation.

How do I add Report-Book navigation based on the reports dynamically added to the Report Book. I want a navigation similar to the demo page - http://demos.telerik.com/reporting/report-book/demo.aspx

I do not need document-map, rather just links that will enable me to navigate from report to report, once the report book has been dynamically created.

Please advise
Thanks

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Mar 2012, 05:00 PM
Hi Sergio,

There are no other means to navigate between different reports in a report book. The report viewers are not aware whether they display a report or a report book and the navigation in their toolbar would take into account every page i.e. if a report consists of more than a single page then it would navigate through each page.
You can use the DocumentMap feature just like in the Report book demo report. As you can see from the demos, setting DocumentMapText to the report itself, would create a node in the document map that would let you to navigate to a chosen report.

Greetings,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Sergio
Top achievements
Rank 1
answered on 03 Oct 2013, 09:06 PM
Greetings 

I could not figure out this one so I would explain a little better the scenario,

I do have a document Map and I navigate among report items very well, similar to the site http://demos.telerik.com/reporting/report-book/demo.aspx, but In one of my reports I do happen to have an Action item that is (Navigate to Report) - Similar to the Product Sales Report inside the report book of the above site.

The Report navigates really well to the Action item (Or the linked report) but when I hit the back button to return to the report book, the Report Book is failing to load.

Here is a little more description of my scenario
  • The Report Navigation back button does work when the report is by itself.
  • I pass report parameters to the reports constructors when I add them dynamically to the report book (This may be a reason why it fails as it may not be remembering the report parameters) - I am not using the Report Viewer for the input of the Report parameters rather I have my own controls, but using the report viewer only for rendering.
  • The error that It returns after hitting the back button is "Index was out of range"

I will really appreciate the help

Sergio
0
Peter
Telerik team
answered on 08 Oct 2013, 03:20 PM
Hello Sergio,

Generally the report viewer navigation have to instantiate a new report instance. However it doesn't know about your report constructor parameters. Thus our suggestion is to pass the parameters to the main report parameters collection as default values and use parameter less constructor.

Regards,
Peter
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Sergio
Top achievements
Rank 1
answered on 06 Nov 2013, 07:53 PM
Thank you for your response Peter

I apply your suggested solution and use the parametless constructor, the reports render very well in the report book. However, the index is out of range error still happens when attempting to hit the back button after navigating to a report.

I am utilizing version Q2 2011 of Telerik Reporting, however I am able to update to Q2 2013, if this is what is needed to eliminate this error. The only challenge I have however, is that I need to implement this tool in SharePoint 2010 which uses Framework 3.5

Please advise and thank you
0
Nasko
Telerik team
answered on 11 Nov 2013, 12:21 PM
Hello Sergio,

You can try the solution proposed by my colleague here.

If you decide to upgrade Telerik Reporting, keep in mind that the last version to support .NET Framework 3.5 is Telerik Reporting Q1 2013 SP1 (7.0.13.426).

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Sergio
Top achievements
Rank 1
Answers by
Steve
Telerik team
Sergio
Top achievements
Rank 1
Peter
Telerik team
Nasko
Telerik team
Share this question
or