6 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 01 Sep 2010, 06:16 AM
Hello,
The following code library demonstrates how you can disable calendar days (e.g. weekend days) in the calendar component of RadDatePicker.
Disabling calendar days
Hope this helps,
Regards,
Shinu.
The following code library demonstrates how you can disable calendar days (e.g. weekend days) in the calendar component of RadDatePicker.
Disabling calendar days
Hope this helps,
Regards,
Shinu.
0
Lok
Top achievements
Rank 1
answered on 01 Sep 2010, 04:12 PM
Thanks Shinu,
I actually figured that out yesterday after exploring a few things :)
It wasn't that tough. I really appreciate your quick response and thanks once again!!!
Regards,
Lok.
I actually figured that out yesterday after exploring a few things :)
It wasn't that tough. I really appreciate your quick response and thanks once again!!!
Regards,
Lok.
0
Katte
Top achievements
Rank 1
answered on 09 Sep 2010, 09:25 AM
I have tried the code samples. It disable the week ends only for the current month. When we goto next month or pervious month, this disable functionality doesn't work. Kindly give me a solution.
Thanks
Katte
Thanks
Katte
0
Shinu
Top achievements
Rank 2
answered on 13 Sep 2010, 11:42 AM
Hello Katte,
You need to handle client-side OnDayRender events of the calendar control for disabling the days on client-side navigation to a different month view.
Have you added the client side code for disabling the days, as shown in the code library?
-Shinu.
You need to handle client-side OnDayRender events of the calendar control for disabling the days on client-side navigation to a different month view.
Have you added the client side code for disabling the days, as shown in the code library?
-Shinu.
0
illumination
Top achievements
Rank 2
answered on 11 May 2011, 08:19 PM
Hi Shinu.
I have done as you instructed for the weekend but now I have to also disable the holidays that resides in the Holiday Table. I need to be able to read dates on the table and apply it in the calendar. I also need to incorporate this process with http://www.telerik.com/community/forums/aspnet-ajax/calendar/two-raddatepickers.aspx
Thank you.
I have done as you instructed for the weekend but now I have to also disable the holidays that resides in the Holiday Table. I need to be able to read dates on the table and apply it in the calendar. I also need to incorporate this process with http://www.telerik.com/community/forums/aspnet-ajax/calendar/two-raddatepickers.aspx
Thank you.
0
Hi,
This can be easily achieved by using special days collection or the DayRender event handler. If the user is the one deciding which day would that be, you can make a case check for the e.Day.Day and set the choice as special day.
Hope this helps.
Kind regards,
Pavlina
the Telerik team
This can be easily achieved by using special days collection or the DayRender event handler. If the user is the one deciding which day would that be, you can make a case check for the e.Day.Day and set the choice as special day.
Hope this helps.
Kind regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.