SnapToInterval?

5 posts, 0 answers
  1. S
    S avatar
    4 posts
    Member since:
    Mar 2011

    Posted 18 May 2011 Link to this post

    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)



  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 18 May 2011 Link to this post

    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
  3. DevCraft banner
  4. S
    S avatar
    4 posts
    Member since:
    Mar 2011

    Posted 18 May 2011 Link to this post

    Thanks I'll get the update.  Based on my error description...is this the culprit?
  5. S
    S avatar
    4 posts
    Member since:
    Mar 2011

    Posted 18 May 2011 Link to this post

    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.
  6. S
    S avatar
    4 posts
    Member since:
    Mar 2011

    Posted 19 May 2011 Link to this post

    The upgrade to SP1 corrected the issue.

    Thanks
Back to Top
DevCraft banner