New to Telerik Reporting? Start a free 30-day trial
Set DatePicker Culture in HTML5 Report Viewer
Environment
| Product | Progress® Telerik® Reporting |
Description
The datepicker is a Kendo widget. That's why the Html5 Report Viewer (or any other Web-based viewer) localization will not affect its date representation.
This KB article gives a brief description of how to set up another language. The example will demonstrate the date representation in French.
Solution
-
Add the following script in the web page which holds the report viewer:
HTML<script src="http://kendo.cdn.telerik.com/2025.4.1111/js/cultures/kendo.culture.fr-FR.min.js"></script>A list with all versions can be found in Kendo Supported Versions.
-
Then, the culture of the Kendo widget must be set through the script below which should be placed before the report viewer's initialization:
HTML<script type="text/javascript"> kendo.culture("fr-FR"); </script>