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

[Solved] Missing Days

2 Answers 103 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 17 Apr 2009, 12:25 PM
I noticed that my WeekView was missing a day; there was no Sunday!

I discovered that this was because I'd set the FirstDayOfWeek property to 'Monday'. What I expected was that I'd get 7 days, Monday - Sunday, not that it would just lose any days before my FirstDayOfWeek setting.

I think that this must be a bug.

--
Stuart

2 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 20 Apr 2009, 11:13 AM
Hello Stuart Hemming,

Consider using FirstDayOfWeek in conjunction with the LastDayOfWeek propery. Example: If you set FirstDayOfWeek="Monday", then you need to set LastDayOFWeek="Sunday". Otherwise the default value for LastDayOfWeek is preserved and the week is sliced.

Sincerely yours,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stuart Hemming
Top achievements
Rank 2
answered on 07 May 2009, 09:15 AM
Genady,

Okaaay. Odd design choice, but OK.

--
Stuart
Tags
Scheduler
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Genady Sergeev
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or