Change Time Zone Label

2 posts, 1 answers
  1. Frederico Fernandes
    Frederico Fernandes avatar
    20 posts
    Member since:
    Oct 2009

    Posted 21 Dec 2011 Link to this post


    It is possible to change Time Zone Label? By default it appears "Local" but i want to change to another string. In Scheduler picture attached, it is possible to see where is that "Local" label.
  2. Answer
    Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 23 Dec 2011 Link to this post

    Hello Frederico,

    Thank you for your question.

    You can set this string for the current view the following way:
    this.radScheduler1.ActiveView.DefaultTimeZone.Label = "Text";

    Alternatively, you can localize the string for all views by using a LocalizationProvider. The approach is demonstrated below:
    public Form10()
        RadSchedulerLocalizationProvider.CurrentProvider = new MySchedulerLocalization();
    public class MySchedulerLocalization : RadSchedulerLocalizationProvider
        public override string GetLocalizedString(string id)
            if (id == RadSchedulerStringId.TimeZoneLocal)
                return "SomeText";
            return base.GetLocalizedString(id);

    I hope this will help you. Feel free to ask if you have any additional questions.

    Ivan Todorov
    the Telerik team

    of RadControls for WinForms is available for download (see what's new). Get it today.
  3. DevCraft R3 2016 release webinar banner
Back to Top