Hello,
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 :
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.
- create a new Date javascript object based on the triplet returned by args.get_renderDay().get_date() 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,
Christophe.
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 :
UseColumnHeadersAsSelectors
="false" EnableViewSelector="false" UseRowHeadersAsSelectors="true"
For the unselection, it's not a problem, I use the methods unselectedDates and get_selectedDates (for the events OnDateClickand OnRowHeaderClick).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.
- create a new Date javascript object based on the triplet returned by args.get_renderDay().get_date() 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,
Christophe.