This is a migrated thread and some comments may be shown as answers.

Timeline Slider Bug

3 Answers 123 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
종호
Top achievements
Rank 1
종호 asked on 28 Aug 2013, 01:21 AM
 {"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

3 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 17 Jul 2014, 04:11 PM
Did you ever figure out the issue with this?  I am getting the same exception and was looking for a clue where to start looking.

Thanks for any hints you might provide about your case.
Paul
0
Martin Ivanov
Telerik team
answered on 22 Jul 2014, 12:50 PM
Hi Paul,

The reported exception is not reproducible with the latest assemblies of our controls. You can give them a try and if the reported behavior still occurs I will ask you to open new Support Ticket and send us an isolated project where the issue appears, if is possible for you. This will allow us to test it locally and investigate what is causing the issue.

Thank you for any help you can provide.

Regards,
Martin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Paul
Top achievements
Rank 1
answered on 22 Jul 2014, 12:55 PM
.net 4.0 versions or 4.5 versions?  Or both?

I am still using the 4.0 version for this app.  (vs2010, etc. )
Tags
TimeLine
Asked by
종호
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or