Declined
Last Updated: 23 Feb 2022 10:33 by ADMIN
Steve
Created on: 09 Feb 2022 19:37
Category: UI for Blazor
Type: Feature Request
2
Please add ability to specify culture for controls, like TelerikNumericTextBox and TelerikDatePicker

We are based in the US; but want to display values in a numeric text box based on the culture of the place where the data was entered.

So if the data was entered in the UK, we want the number to be formatted according to UK culture, etc.  That way, it's easy to tell that number is representing pounds vs dollars, etc.

Can we please get the ability to set culture to specific controls?  We don't want to change the current thread culture for everything on the page, just for one control.

thanks!

3 comments
ADMIN
Svetoslav Dimitrov
Posted on: 23 Feb 2022 10:33

Hello Steve,

You can download the source code of the Telerik UI for Blazor suite from your Telerik Account. After you login into your Telerik account, you should go to downloads and scroll down to the Source Code group of downloadable files. In the Source Code group you can see a telerik.ui.for.blazor.3.0.1.Source.zip file, you should download that file. Once unzipped, you can see the source code of the product suite and you can start browsing each component in the suite and modify it as needed in your application.

I should note that we would not be able to support custom implementations/modifications of the source code.  

Regards,
Svetoslav Dimitrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Steve
Posted on: 16 Feb 2022 21:24

Globalization doesn't work for us; we have US workers that are doing transactions in different currencies.  We want the price box to reflect the currency of the region that the transaction took place in.  We'd love to be able to have the box easily show the currency, so they don't get confused wondering what currency they are working with.

You said this:

"A possible way to achieve the desired behavior is to update our source code and the desired components to not use the default globalization, but some specific cultures set to the instance of the component."

I vote for that!  We'd love to update your source code to not use the default globalization, but a specific culture we could set to the instance of the component.  Can we please do that?  Specifically I mean the TelerikNumericTextBox.

thanks!

 

ADMIN
Svetoslav Dimitrov
Posted on: 16 Feb 2022 10:44

Hello Steve,

To set the culture for the application you can use Globalization. This is the suggested and best approach when cultures are regarded. Setting different cultures for different input components is not something that we would advise as it would create some highly specific UX. That is the reason why I would have to change the status of this Feature Request to "Declined". A possible way to achieve the desired behavior is to update our source code and the desired components to not use the default globalization, but some specific cultures set to the instance of the component.  

Regards,
Svetoslav Dimitrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.