This is a migrated thread and some comments may be shown as answers.

Localize RadDateTimePicker (or other RadInput control) accross a web application?

1 Answer 58 Views
Input
This is a migrated thread and some comments may be shown as answers.
OL
Top achievements
Rank 1
OL asked on 12 Mar 2010, 10:20 AM
Hello,
I'm looking for a way to localize (in french) a RadDateTimePicker.
I found the quick method : change control's properties in ASPX code.
<telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server" Culture="French (France)" DatePopupButton-ToolTip="Ouvrir le calendrier" TimePopupButton-ToolTip="Ouvrir la liste des heures"></telerik:RadDateTimePicker> 
And it's like the above code-behind method...

But I think it's not very reusable :( I don't want to copy-paste the same strings on all my RadDateTimePicker controls!
Is it possible to localize several controls accross a web application?
Something in App_GlobalResources like the RadEditor maybe?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 17 Mar 2010, 12:22 PM
Hi OL,

Basically, the control does not expose any additional means to allow fur a more flexible approach on localizing it. Another option in this case would be to inherit the control and preset the settings in the custom control which would inherit it. In this way, these properties would be automatically preset, when you reuse the custom component.

Kind regards,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
OL
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or