System.Windows.Data Error: ConvertBack cannot convert value '1' (type 'System.Int32'). BindingExpression: Path='ActiveViewDefinitionIndex' DataItem='Telerik.Windows.Controls.RadScheduleView' (HashCode=2629102); target element is 'System.Windows.Controls.ListBox' (Name='ViewModeSelection'); target property is 'SelectedIndex' (type 'System.Int32').. System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: value
at System.DateTime.Subtract(TimeSpan value)
at Telerik.Windows.Controls.ScheduleView.CalendarHelper.GetFirstDayOfWeek(DateTime dateTime, DayOfWeek weekStart)
at Telerik.Windows.Controls.MonthViewDefinition.GetVisibleRangeStart(DateTime dateTime, CultureInfo culture, Nullable`1 firstDayOfWeek)
at Telerik.Windows.Controls.ViewDefinitionBase.GetVisibleRange(DateTime currentDate, CultureInfo culture, Nullable`1 firstDayOfWeek)
at Telerik.Windows.Controls.ScheduleViewBase.GetVisibleRange()
at Telerik.Windows.Controls.ScheduleViewBase.UpdateVisibleRange()
at Telerik.Windows.Controls.RadScheduleView.UpdateVisibleRange()
at Telerik.Windows.Controls.ScheduleViewBase.UpdatePropertiesDependantOnViewDefinition()
at Telerik.Windows.Controls.ScheduleViewBase.OnActiveViewDefinitionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Telerik.Windows.Controls.ScheduleViewBase.set_ActiveViewDefinition(ViewDefinitionBase value)
at Telerik.Windows.Controls.RadScheduleView.UpdateActiveViewDefinition()
at Telerik.Windows.Controls.RadScheduleView.OnActiveViewDefinitionIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
at System.Windows.DependencyPropertyListener.set_Value(Object value)
at System.Windows.PropertyAccessPathStep.set_Value(Object value)
at System.Windows.Data.BindingExpression.UpdateValue().