Thank you for contacting us.
does not support modifying the default work week. However, you can use the CellFormatting
event to modify the appearance of the cells so that they are displayed as work time. The following code snippet demonstrates this:
Form1 : Form
.radScheduler1.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Week;
sender, Telerik.WinControls.UI.SchedulerCellEventArgs e)
e.CellElement.IsWorkTime = (e.CellElement.Date.DayOfWeek != DayOfWeek.Saturday && e.CellElement.Date.DayOfWeek != DayOfWeek.Friday && e.CellElement.Date.Hour > 7 && e.CellElement.Date.Hour < 19);
Please note that this will only work in DayView
I hope you find this useful. Feel free to ask if you have any additional questions.
the Telerik team
Sharpen your .NET Ninja skills
! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>