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

How to use event class

2 Answers 35 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Forest
Top achievements
Rank 1
Forest asked on 13 Sep 2010, 04:56 PM
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 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 17 Sep 2010, 06:22 AM
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
0
Forest
Top achievements
Rank 1
answered on 17 Sep 2010, 08:42 AM
Thank you very much.
Tags
Calendar
Asked by
Forest
Top achievements
Rank 1
Answers by
Pana
Telerik team
Forest
Top achievements
Rank 1
Share this question
or