SelectionChanged event not firing

2 posts, 0 answers
  1. Dan
    Dan avatar
    2 posts
    Member since:
    Aug 2015

    Posted 05 Oct 2015 Link to this post

    Since installing the Q3 trial, the code which I've been executing has stopped working once I've changed the selected date. 

    public MyCalendar()
         radCalendar.SelectionChanged += RadCalendar_SelectionChanged;


    private void RadCalendar_SelectionChanged(object sender, ValueChangedEventArgs<object> e)
         DateTimeSelected = radCalendar.SelectedDate;
         List<IAppointment> calendar = (List<IAppointment>)radCalendar.AppointmentsSource;
         var selectedAbsences = calendar.Where(a => DateTimeSelected.Value.Date >= a.StartDate.Date && DateTimeSelected.Value.Date <= a.EndDate.Date).Select(a => a);

    Can anyone give any advice as to why this is not firing?




  2. Vladislav
    Vladislav avatar
    277 posts

    Posted 07 Oct 2015 Link to this post

    Hi Dan,

    The reason for the observed problem is that we made a change in the way of initializing our controls for XamarinForms. Since our 2015 Q3 release we added an explicit initialization of our controls in every native project. You just need to add invocation to the "TelerikForms.Init()" method (and reference to the corresponding binary) in every native main project file. This new requirement is described in more details in the documentation.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top