Scheduler Timeline Localization

4 posts, 0 answers
  1. Gilberto Beltrao
    Gilberto Beltrao avatar
    7 posts
    Member since:
    Feb 2010

    Posted 18 Oct 2010 Link to this post

    Hello,

    I have my scheduler and everything is automatically localized except for the Timeline (date). Is this an issue or should it be manually applied? If so, how do I do this?

    I am using a Base page for setting the Localization and inheriting all my pages from this.

    Thanks in advance!

    Gil
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Oct 2010 Link to this post

    Hello Gilberto,

    Can you please send us a screenshot of what you perceive as a problem and a mockup of the desired outcome? Also, send us your RadScheduler definition.


    Kind regards,
    Peter
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gilberto Beltrao
    Gilberto Beltrao avatar
    7 posts
    Member since:
    Feb 2010

    Posted 22 Oct 2010 Link to this post

    Hello Peter,

    Maybe I wasn't clear enough on my posting. My question was about the way the timeline's header date is displayed when you have localization in place. For example, if my user's localization setting is from UK (en-GB) everything in my scheduler was automatically formatted to display accordingly (dd/mm/yyyy) accept for the Headline items (mm/dd/yyyy). I was surprised and curious to know why this isn't automatic as the rest? I found a workaround at the code behind as follow:

    At the Page_PreRender:
    if (CultureInfo.CurrentCulture.Name == "en-GB" || CultureInfo.CurrentCulture.Name == "pt-BR")
    {
        RadScheduler1.TimelineView.HeaderDateFormat = "d, MMM";
        RadScheduler1.TimelineView.ColumnHeaderDateFormat = "d/M/yyyy";
        RadScheduler1.WeekView.HeaderDateFormat = "d, MMM";
    }
    RadScheduler1.DayView.HeaderDateFormat = "d, dddd";

    Thanks!
    Gil
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 26 Oct 2010 Link to this post

    Hi Gilberto,

    Thanks for elaborating and posting a workaround. I will forward this case to our development team to review it.


    Kind regards,
    Peter
    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