I tested to include the provided code snippet in the appropriate position of our telerikReportViewerTemplate.html
template, and set the path to the latter as templateUrl
for the Html5 Report Viewer in our CSharp.Html5Demo
project. The viewer was displayed as expected, without misalignments. Only the Parameter
area was empty - check the attached ViewerParameterAreaHidden
When I uncommented the viewer Parameter
area-related code (it is commented in the snippet), the Parameter
area was also displayed correctly.
I was not able to reproduce the issue by modifying the viewer's template, hence my assumption is that the problem is related (at least partially) to something else.
On the screenshot sans-titre111
I noticed that there is a custom parameter area left from the viewer, and no viewer Parameter
The empty space left from the Pages
area of the viewer is generally preserved for the Document Map
area when there is one in the report. When I commented the Document Map
area in the provided snippet (lines 2-4) the Pages
area looked misplaced, like on your screenshot (sans-titre111
) - check ViewerSideAreaHidden
screenshot. Hence, the problem may be in the configuration of the Document Map
area in the template.
The above observations and the fact that the Toolbar
from the screenshot is not complete - Toggle Print Preview
and other menu items are missing, make me assume that the entire template is modified, which may have caused the issue.
The problem may be related also to custom CSS styles applied to the viewer - either in the template, or in the page where the viewer is used.
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?
Telerik Feedback Portal
and vote to affect the priority of the items