Crashes app if UI attempts to set date < MinDate value

4 posts, 1 answers
  1. bc3tech
    bc3tech avatar
    14 posts
    Member since:
    Oct 2011

    Posted 31 Aug Link to this post

    1. Set the Minimum date to be tomorrow
    2. Set the initial date (when displayed) to be 1 week from now
    3. Try to pick tomorrow's date

    On days like today (8/30) the displayed date will be 9/6. If I want to choose 8/31, the natural flow would be to pick the 8, then pick the 31. If I pick the 8, however, the date is now 8/6 and will crash the app with an ArgumentOutOfRange exception. In order to get to 8/31 I must first go to 10/31 and then change the '10' to an '8'

    Exception detail:

    System.ArgumentOutOfRangeException: logicalIndex
    Parameter name: Not valid index.
       at Telerik.UI.Xaml.Controls.Primitives.LoopingList.RadLoopingList.GetVisualIndex(Int32 logicalIndex)
       at Telerik.UI.Xaml.Controls.Input.DateTimePickers.DateTimeList.UpdateSelectedIndex(LoopingListSelectionChangeReason reason)
       at Telerik.UI.Xaml.Controls.Input.DateTimePickers.DateTimeList.SetNewValue(DateTime newUtcValue, Boolean selectionChanged)
       at Telerik.UI.Xaml.Controls.Input.DateTimePicker.UpdateDateTimeLi

  2. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 01 Sep Link to this post

    Hello Brandon,

    Thank you for reporting this issue. I can confirm that we are able to reproduce it from our side. We are already working on a fix and it will be included in our next official release scheduled for the mid September.

    P.S. I have updated your telerik point accordingly.

    Regards,
    Tsvyatko
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. bc3tech
    bc3tech avatar
    14 posts
    Member since:
    Oct 2011

    Posted 27 Sep in reply to Tsvyatko Link to this post

    Tsvyatko said:Hello Brandon,

    Thank you for reporting this issue. I can confirm that we are able to reproduce it from our side. We are already working on a fix and it will be included in our next official release scheduled for the mid September.

    P.S. I have updated your telerik point accordingly.

    Regards,
    Tsvyatko
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items

    Was a release put out with this fix in it? If so, can you post the version number here and I'll mark this bug as 'Answered'

  5. Answer
    Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 28 Sep Link to this post

    Hi Brandon,

    The has been addressed in version 2016.3.0914. Please give it a try and let us know if you encounter any further issues.

    Regards,
    Tsvyatko
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner