Event on selecting a slot

2 posts, 1 answers
  1. Vikas
    Vikas avatar
    64 posts
    Member since:
    May 2014

    Posted 02 Apr 2015 Link to this post

    I am looking for an event that will fire when user clicks on a slot.

    I have tried AppointmentSelectionChanged event but that works only the first time, I have also tried mouse down and left mouse down but they are not even fired.

  2. Answer
    Nasko avatar
    716 posts

    Posted 03 Apr 2015 Link to this post

    Hello Vikas,

    RadScheduleView does not provide such an event. However, what we could suggest is to bind the SelectedSlot property to a property inside the ViewModel - thus you will be able to get all needed information for the currently selected Slot right after its selection:
    public class MyViewModel : ViewModelBase
        private Slot selectedSlot;
        public Slot SelectedSlot
                return selectedSlot;
                if (selectedSlot != value)
                    selectedSlot = value;

    And in Xaml:
    <telerik:RadScheduleView SelectedSlot="{Binding SelectedSlot, Mode=TwoWay}">

    However, if that is not what you're looking for. Please provide us some more details about your scenario and the functionality you need to achieve using the currently selected Slot in order to provide you with a prompt solution if possible?

    We're looking forward to hearing from you.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top