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

SnapToInterval?

4 Answers 45 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 18 May 2011, 02:35 PM
I'm getting an error when clicking on intervals on my TimeBar.  Looking at the online example is see a property named  IsSnapToIntervalEnabled....I'm thinking this may be my issue and I need to turn it to true but I don't even see it as a property option in my timebar.  Advice?  I'm using 2011 Q1 build.


Error:

Sequence contains no elements

   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at Telerik.Windows.Controls.TimeBar.IntervalContainerBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)



4 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 18 May 2011, 03:54 PM
Hi Stephen,

This property was introduced with SP1 release.

Regards,
Vladimir Milev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
S
Top achievements
Rank 1
answered on 18 May 2011, 03:55 PM
Thanks I'll get the update.  Based on my error description...is this the culprit?
0
S
Top achievements
Rank 1
answered on 18 May 2011, 04:11 PM
I guess my question is:  What do I have to do to allow the intervals be selected without raising an error?  Is this a bug that is fixed with SP1?  I'm not doing anything out of the ordinary....just a timebar with intervals.  Not clear as to why i'm getting the error.
0
S
Top achievements
Rank 1
answered on 19 May 2011, 01:44 PM
The upgrade to SP1 corrected the issue.

Thanks
Tags
TimeBar
Asked by
S
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
S
Top achievements
Rank 1
Share this question
or