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

[Solved] culture

1 Answer 26 Views
Scheduler for HTML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Heinrich
Top achievements
Rank 1
Heinrich asked on 29 Jan 2014, 04:11 AM
I need to show the weekview Monday to Sunday, instead of Sunday to Saturday.
How do I make this happen?

Thank you in advance

1 Answer, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 29 Jan 2014, 09:08 AM
Hello Heinrich,

The Scheduler control renders the time and weekdays using the current application culture format. The default culture is "en-US". To change the weekview to show the days starting from Monday, you can set the global app culture to "en-GB". Note that you have to set it before the WinJS.UI.processAll() function is executed if your Scheduler control is defined in the mark-up.

Telerik.Culture.setCurrent("en-GB");
 
args.setPromise(WinJS.UI.processAll());

Let me know if this works for you.

Regards,
Martin Yankov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Scheduler for HTML
Asked by
Heinrich
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Share this question
or