Can there be an option to set the default page number for the HTML5 Report Viewer? (Related to my cover page question) I can get around having the cover page always been part of the report if in the Report Viewer, it shows page 2 by default (instead of Page 1).
For now, I've changed the telerikReportViewer javascript file, but it would be good if this is possible through the API or an option etc
Current Code (Line 1298 of telerikReportviewer-8.1.14.804.js):
if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 1;
Changed to:
if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 2;
Since all reports i'm viewing have a cover page, I can make this change...otherwise include the original JS, or set it to a variable/function/resolver etc.
I've tried using the command goToPage (http://www.telerik.com/help/reporting/html5-report-viewer-reportviewer-properties-commands.html) but it wasn't working, probably because the page wasn't ready loaded yet?
Any help, much appreciated!
For now, I've changed the telerikReportViewer javascript file, but it would be good if this is possible through the API or an option etc
Current Code (Line 1298 of telerikReportviewer-8.1.14.804.js):
if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 1;
Changed to:
if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 2;
Since all reports i'm viewing have a cover page, I can make this change...otherwise include the original JS, or set it to a variable/function/resolver etc.
I've tried using the command goToPage (http://www.telerik.com/help/reporting/html5-report-viewer-reportviewer-properties-commands.html) but it wasn't working, probably because the page wasn't ready loaded yet?
Any help, much appreciated!