I use a RadCalendar. My problem is the following : when the user select a day, I want to deselect all the selected days and select all the week.
So, I use the following parameters :
="false" EnableViewSelector="false" UseRowHeadersAsSelectors="true"
For the unselection, it's not a problem, I use the methods unselectedDates and get_selectedDates (for the events OnDateClick
But I don't think a easy to select all the week :
I have 2 ideas to do that :
- Obtains the row (args.get_renderDay().DayRow
) and call the method used for a row header click, but I don't see how to call it.
and, using the getDay method, manually compute the day for the monday, the tuesday... But I think this way is not the best to do that.
What's the good solution ?
Thank you in advance,