I'm trying to change the visible day or week of a Schedule View through code. When it loads up it uses today's date or the current week. I would like to set it with another control. I would also like to control the visible date range. How would I access and change these properties?
2 Answers, 1 is accepted
0
Yana
Telerik team
answered on 28 Sep 2011, 01:56 PM
Hello Eric,
You just need to set CurrentDate property of the RadScheduleView:
As to the other question - you can use VisibleRangeChanged event and set the CurrentDate in its handler when the user switches to dates outside the needed range.
The other option is to set read-only slots as explained here.
Hope this helps.
Best wishes,
Yana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>