This is a migrated thread and some comments may be shown as answers.

Desired Calendar Functionality

3 Answers 50 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jeff Wickersham
Top achievements
Rank 1
Jeff Wickersham asked on 08 Oct 2011, 06:03 PM
Need code or suggestion on how to do the following.
Create a calendar that will only activate all dates in a particular dataset and highlight only those dates on the calendar
all other dates are disabled

thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Stuart Hemming
Top achievements
Rank 2
answered on 09 Oct 2011, 06:32 PM
Jeff,

I think that the DayRender Event is your friend here.

You can check the rendered date (e.Day.Date) is is your DataSource and style it as you wish. Similarly, if the date isn't in your DataSource you can disable it (e.Day.IsDisabled = true)

You should look at the RadCalendarDay docs for details of other properties you can play with.

Have fun.

-- 
Stuart
0
Jeff Wickersham
Top achievements
Rank 1
answered on 10 Oct 2011, 01:40 AM
Excellent, Thanks Stuart!
0
Stuart Hemming
Top achievements
Rank 2
answered on 11 Oct 2011, 08:03 AM
Jeff,

Don't forget to mark my response as the Answer if it helped.

-- 
Stuart
Tags
Calendar
Asked by
Jeff Wickersham
Top achievements
Rank 1
Answers by
Stuart Hemming
Top achievements
Rank 2
Jeff Wickersham
Top achievements
Rank 1
Share this question
or