{"Value cannot be null.\r\nParameter name: handler"}
at System.Windows.UIElement.RemoveHandler(RoutedEvent routedEvent, Delegate handler)
at Telerik.Windows.Controls.DoubleRangeBase.remove_SelectionChanged(RadRoutedEventHandler value) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Slider\DoubleRangeBase.cs:line 104
{"Exception has been thrown by the target of an invocation."}
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Telerik.Windows.Data.WeakEvent.WeakListener`1.Unsubscribe() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 67
at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 39
Click the Change button, the error occurs several times.
[MainWindowsViewModel.cs]
private bool flag;
void ChangeDateCommandEx(object o)
{
ItemsSource = GetTimelineDatas();
EndDate = DateTime.Today;
StartDate = flag ? EndDate.AddDays(-5) : EndDate.AddDays(-295); // -295 => -294 (No Exception)
flag = !flag;
}
[Attach sample file]
http://l.bitcasa.com/VMi0hv5l
at System.Windows.UIElement.
at Telerik.Windows.Controls.
{"Exception has been thrown by the target of an invocation."}
at System.RuntimeMethodHandle.
at System.Reflection.
at System.Reflection.
at System.Reflection.MethodBase.
at Telerik.Windows.Data.
at Telerik.Windows.Data.
Click the Change button, the error occurs several times.
[MainWindowsViewModel.cs]
private bool flag;
void ChangeDateCommandEx(object o)
{
ItemsSource = GetTimelineDatas();
EndDate = DateTime.Today;
StartDate = flag ? EndDate.AddDays(-5) : EndDate.AddDays(-295); // -295 => -294 (No Exception)
flag = !flag;
}
[Attach sample file]
http://l.bitcasa.com/VMi0hv5l