I am use telerik-report-viewer in Angular project.
1 Answer, 1 is accepted
0
Dimitar
Telerik team
answered on 01 Dec 2022, 02:57 PM
Hi Erdem,
Date Format
Considering that you wish to localize the Preview button's text, the correct way to change the date format of the DateTime parameters would be by changing the culture of the DatePIcker widgets.
To change the text of the preview button, you may localize the report viewer, please refer to the Localization - Telerik Reporting article for full details on that.
The example from that article is for the report loading message and for the preview button, you need to set the value of the parametersAreaPreviewButton property, see the full list at HTML5 String Resources.
Please let me know if you have any further questions.
Regards,
Dimitar
Progress Telerik
Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you
up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Thank you for answer, I can change button text but, when I import @progress/kendo-ui my report viewer component for kendo.culture("tr-TR"); , I am encountering the image below
The approach of installing and importing the @progress/kendo-ui package has been changed, please try to hard refresh this page by clicking the Ctrl + F5 key combination.
If that does not update the page, please try to clear the browser cache and hard refresh the page again.
In case you would need further assistance, please send me a runnable project where the problem is reproducible and I will try to prepare a solution locally.