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

Scheduler Timeline Localization

3 Answers 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gilberto Beltrao
Top achievements
Rank 1
Gilberto Beltrao asked on 18 Oct 2010, 09:36 PM
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

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Oct 2010, 02:31 PM
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
0
Gilberto Beltrao
Top achievements
Rank 1
answered on 22 Oct 2010, 03:02 PM
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
0
Peter
Telerik team
answered on 26 Oct 2010, 04:02 PM
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
Tags
Scheduler
Asked by
Gilberto Beltrao
Top achievements
Rank 1
Answers by
Peter
Telerik team
Gilberto Beltrao
Top achievements
Rank 1
Share this question
or