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

How to get non selected appointment List

1 Answer 48 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Tahir
Top achievements
Rank 1
Tahir asked on 19 Mar 2013, 04:37 PM
Hi,

I am using AppointmentSelectionBehavior property of the RadScheduleView to change the category color of selected appointment. I want to change the category color back if appointment is unselected by User. How can I implement this?

1 Answer, 1 is accepted

Sort by
0
Tahir
Top achievements
Rank 1
answered on 20 Mar 2013, 11:37 AM
Hi,
I got it. I used AppointmentSelectionChanged event of the RadScheduleview.
here is my code ..............

if (e.RemovedItems != null && e.RemovedItems.Count > 0)
            {
                foreach (CustomAppointment _app in e.RemovedItems)
                {
                    MyViewModel objViewModel = new MyViewModel();

                    _app.Category = objViewModel.SetCategoryColour( _app.PriorityColor);
                }
            }
Tags
ScheduleView
Asked by
Tahir
Top achievements
Rank 1
Answers by
Tahir
Top achievements
Rank 1
Share this question
or