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

2 posts, 0 answers
  1. OL
    OL avatar
    20 posts
    Member since:
    Jan 2010

    Posted 12 Mar 2010 Link to this post

    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?
  2. Yavor
    Yavor avatar
    11 posts

    Posted 17 Mar 2010 Link to this post

    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,
    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.
Back to Top