Hello Telerik Team !
I would like, throught RadCalendar, to give the ability to use the Column and Row headers as multi-selectors, but not give the ability to multi-select single days. As it, the user can select all the Mondays for example, or the whole 15th week of the year, but not the 5 march and 15 june and 6 april 2010, etc. (the user can select the 5 march individually, but not cumulated with another single day) Also, I would like that the pseudo-multi-selection that happens when a row or column header is clicked, could'nt be cumulated with a previous selection, creating a postBack.
Any ideas ?
Here is my code :
Sébastien
I would like, throught RadCalendar, to give the ability to use the Column and Row headers as multi-selectors, but not give the ability to multi-select single days. As it, the user can select all the Mondays for example, or the whole 15th week of the year, but not the 5 march and 15 june and 6 april 2010, etc. (the user can select the 5 march individually, but not cumulated with another single day) Also, I would like that the pseudo-multi-selection that happens when a row or column header is clicked, could'nt be cumulated with a previous selection, creating a postBack.
Any ideas ?
Here is my code :
<telerik:radcalendar id="radCalSearch" runat="server" | |
enablemultiselect="false" | |
showrowheaders="true" | |
UseColumnHeadersAsSelectors="true" | |
UseRowHeadersAsSelectors="true" | |
enablenavigationanimation="false" | |
fastnavigationnextimage="~/images/btn_RadCal_FN.jpg" | |
fastnavigationprevimage="~/images/btn_RadCal_FP.jpg" | |
navigationnextimage="~/images/btn_RadCal_N.jpg" | |
navigationprevimage="~/images/btn_RadCal_P.jpg" | |
daynameformat="FirstTwoLetters" | |
onselectionchanged="radCalSearch_SelectionChanged" AutoPostBack="true"> | |
<SpecialDays> | |
<telerik:RadCalendarDay Date="" Repeatable="Today"> | |
<ItemStyle CssClass="radCalToday_Default" /> | |
</telerik:RadCalendarDay> | |
</SpecialDays> | |
</telerik:radcalendar> |
Protected Sub radCalSearch_SelectionChanged(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.SelectedDatesEventArgs) Handles radCalSearch.SelectionChanged | |
Try | |
SetSession(True, False) | |
If intSearchTabID <> -1 Then | |
Response.Redirect(NavigateURL(intSearchTabID, False)) | |
End If | |
Catch exc As Exception 'Module failed to load | |
ProcessModuleLoadException(Me, exc) | |
End Try | |
End Sub |
Sébastien