I am following the examples from the wensite but the following configuration still displays the currency in US Dollars. Is there something else I need to specify in addition to the culture? Thanks!
$("#currency").kendoNumericTextBox({
format: "c",
culture: "de-DE",
decimals: 3
});
3 Answers, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 04 Jan 2013, 04:19 PM
Hello Gary,
Did you include the culture script in the page? Please verify that the it is loaded correctly and let me know if the issue still persists.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Thank you so much. No I had completely missed that step.
My page is reading a data set and populating controls with the values from the dataset. I do not know what the culture is until I start reading the data. If any of the data contains a money value, there will also be a linked currency record with info about that particular currency. It has the code like USD and the name like US Dollar but no culture.
Is there a way to add the script reference dynamically so that I can do it after I know what currency I am working with.
Thanks!
0
Alexander Valchev
Telerik team
answered on 08 Jan 2013, 12:55 PM
Hello Gary,
You can load the JavaScript file on demand (check this stackoverflow thread).
Please make sure that the culture js file is loaded before initialization of the widget.
Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!