How to get non selected appointment List

2 posts, 0 answers
  1. Tahir
    Tahir avatar
    8 posts
    Member since:
    Aug 2012

    Posted 19 Mar 2013 Link to this post

    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?
  2. Tahir
    Tahir avatar
    8 posts
    Member since:
    Aug 2012

    Posted 20 Mar 2013 Link to this post

    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);
                    }
                }
  3. DevCraft banner
Back to Top