.net Core 6 and Angular - telerik-report-viewer

1 Answer 215 Views
Report Viewer - Angular
Erdem
Top achievements
Rank 1
Erdem asked on 29 Nov 2022, 07:28 AM

How could I change DateTime parameter format? 

How could I change Preview button text?

I am use telerik-report-viewer in Angular project. 

 


1 Answer, 1 is accepted

Sort by
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.

For details on how to do this, please visit the Localize the Angular Viewer Kendo Widgets - Telerik Reporting KB article.

Preview Button Text

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/.
Erdem
Top achievements
Rank 1
commented on 02 Dec 2022, 02:09 PM

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

 

Dimitar
Telerik team
commented on 07 Dec 2022, 09:04 AM

I fear that you may have looked at a cached version of the Localize the Angular Viewer Kendo Widgets - Telerik Reporting article.

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.

Tags
Report Viewer - Angular
Asked by
Erdem
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or