Desired Calendar Functionality

4 posts, 1 answers
  1. Jeff Wickersham
    Jeff Wickersham avatar
    24 posts
    Member since:
    Mar 2009

    Posted 08 Oct 2011 Link to this post

    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
  2. Answer
    Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 09 Oct 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jeff Wickersham
    Jeff Wickersham avatar
    24 posts
    Member since:
    Mar 2009

    Posted 09 Oct 2011 Link to this post

    Excellent, Thanks Stuart!
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 11 Oct 2011 Link to this post

    Jeff,

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

    -- 
    Stuart
Back to Top