We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectionChange evetnt is called more than it is necessary in DatePicker

Thread ID:





141072 Nov 21,2018 03:34 PM UTC Nov 22,2018 08:34 AM UTC Xamarin.Forms 2
Tags: SfPicker
Asked On November 21, 2018 03:34 PM UTC


after i setting the variable in the viewmodel i the event selectionchanged is called another time and this is stack trace:

  iMioOrderEntryCore.dll!iMioOrderEntryCore.Controls.iMioDatePickerModal.iMioDatePicker_SelectionChanged(object sender, Syncfusion.SfPicker.XForms.SelectionChangedEventArgs e) Riga 127 C#
> Syncfusion.SfPicker.XForms.dll!Syncfusion.SfPicker.XForms.SfPicker.OnSelectionChanged(Syncfusion.SfPicker.XForms.SelectionChangedEventArgs args) Sconosciuto
  [Transizione da nativo a gestito]
  [Transizione da gestito a nativo]
  Syncfusion.SfPicker.XForms.UWP.dll!Syncfusion.SfPicker.XForms.UWP.SfPickerRenderer.NativePicker_SelectionChanged(object sender, Windows.UI.Xaml.Controls.SelectionChangedEventArgs e) Sconosciuto
  Syncfusion.SfInput.UWP.dll!Syncfusion.UI.Xaml.Controls.Input.SfPicker.UpdateSelection(object newvalue, object oldvalue) Sconosciuto
  Syncfusion.SfInput.UWP.dll!Syncfusion.UI.Xaml.Controls.Input.SfPicker.OnSelectedItemChanged(Windows.UI.Xaml.DependencyPropertyChangedEventArgs e) Sconosciuto
  Syncfusion.SfInput.UWP.dll!Syncfusion.UI.Xaml.Controls.Input.SfPicker.OnSelectedItemChanged(Windows.UI.Xaml.DependencyObject d, Windows.UI.Xaml.DependencyPropertyChangedEventArgs e) Sconosciuto
  [Transizione da nativo a gestito]
  [Transizione da gestito a nativo]
  Syncfusion.SfInput.UWP.dll!Syncfusion.UI.Xaml.Controls.Input.SfPicker.OnSelectedIndexChanged(Windows.UI.Xaml.DependencyPropertyChangedEventArgs e) Sconosciuto
  Syncfusion.SfInput.UWP.dll!Syncfusion.UI.Xaml.Controls.Input.SfPicker.OnSelectedIndexChanged(Windows.UI.Xaml.DependencyObject d, Windows.UI.Xaml.DependencyPropertyChangedEventArgs e) Sconosciuto
  [Transizione da nativo a gestito]
  [Transizione da gestito a nativo]

The variable is this 

        private ObservableCollection<object> _Inizio_Dt;

        public ObservableCollection<object> Inizio_Dt
            get { return _Inizio_Dt; }
                SetProperty(ref _Inizio_Dt, value);

in the setproperty is called the property change 

I Have also used the timepicker but i don't have same problem.

Alberto C.

Replied On November 22, 2018 07:42 AM UTC

My fault, you can close the ticket.

Alberto C.

Paul Anderson S [Syncfusion]
Replied On November 22, 2018 08:34 AM UTC

Hi Alberto, 
Thanks for the update. We are glad that your reported issue has been resolved. Please get in touch if you required further assistance. 
Paul Anderson 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon