Getting telerik_reportViewer is not a function console error
|Product||Progress® Telerik® Reporting|
|Report Viewer Type||All web-based viewers|
telerik_reportViewer is not a function
Page containing an HTML5 Viewer must load only once jQuery library of version greater than 1.9.1 (according to the Kendo UI requirements). For more information, please check HTML5 Viewer Requirements help article.
Such error can occur if:
- jQuery is not loaded;
- jQuery is loaded more than once and with different version;
- jQuery is loaded at later stage in the page life cycle.
Check if the link to jQuery is loaded before the viewer's script.
The recommended approach is to add the viewer using the VS item template. The VS item template will add all required viewer resources to the page in the correct order.
Check the examples under Telerik Reporting installation folder, i.e. C:\Program Files (x86)\Progress\Telerik Reporting VERISON\Examples\CSharp|VB. The web-based viewers are implemented in the Html5Demo, MvcDemo, and WebFormsDemo projects.