Hello,
Can someone please tell me how can we change the color of certain dates in the Raddatepicker control...so say I have a date 2 days after from today that i want to mark red whenever the calendar is opened..how can i do that.
Any help is much appreciated.Let me know if i need to explain more.
Thanks
Can someone please tell me how can we change the color of certain dates in the Raddatepicker control...so say I have a date 2 days after from today that i want to mark red whenever the calendar is opened..how can i do that.
Any help is much appreciated.Let me know if i need to explain more.
Thanks
4 Answers, 1 is accepted
0

JD
Top achievements
Rank 1
answered on 28 Sep 2011, 01:11 AM
I am following http://www.telerik.com/community/forums/aspnet-ajax/calendar/datepicker-can-i-call-dayrender-event-on-onpopup.aspx this post as this is kind of what i am trying to do ..ie highlight some dates for different months but the problem with the code in that page is that it works fine but as soon as we select the calendar control the page refreshes ....any suggestions.
0

Shinu
Top achievements
Rank 2
answered on 28 Sep 2011, 04:58 AM
Hello Siddharth,
Try the following code library approach to achieve your scenario.
Disabling calendar days.
Thanks,
Shinu.
Try the following code library approach to achieve your scenario.
Disabling calendar days.
Thanks,
Shinu.
0

JD
Top achievements
Rank 1
answered on 28 Sep 2011, 04:31 PM
Thanks for the reply but i got that thing working by addind my dates as special days and then changed the back color....I was wondering whether there is some property for disabling just weekend dates..i looked around but could'nt find one... I can see weekenddaystyle setting but it is just a style thing..can i disable the dates by some css change..
Thanks
Thanks
0

Princy
Top achievements
Rank 2
answered on 29 Sep 2011, 05:23 AM
Hello Siddharth,
Check the following Code-Library to disable weekend days in RadCalender
RadCalendar with No Weekend Days
Thanks,
Princy.
Check the following Code-Library to disable weekend days in RadCalender
RadCalendar with No Weekend Days
Thanks,
Princy.