How to use event class

3 posts, 0 answers
  1. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 13 Sep 2010 Link to this post

    Hi,

    As in the calendar First Look page, i had to manage events in order to change the color of the day.

    In example.xaml.cs, the EventsList_Filter function use the Event class :

            private void EventsList_Filter(object sender, System.Windows.Data.FilterEventArgs e)
            {
                Event item = e.Item as Event;
                e.Accepted = this.calendar != null && this.calendar.SelectedDates.Contains(item.Date);
            }

    My problem is that i haven't access to the Event class.

    In which reference can i found this class please ?

    Thank You

    Mathieu
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 17 Sep 2010 Link to this post

    Hi Forest,

    The class is part of the QSF (examples site) demo project. It is not natively distributed with the RadCalendar control. I am attaching the calendar example project. It may not work outside the QSF or at least I have not tested it but more important you can find the classes you refer there in the Common folder. I hope this will help you. We will also add the files in the 'view source' mode of the example in the online examples.

    Regards,
    Panayot
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 17 Sep 2010 Link to this post

    Thank you very much.
Back to Top