RadLoopingList - small list

2 posts, 1 answers
  1. AS
    AS avatar
    14 posts
    Member since:
    Jan 2015

    Posted 03 Jun 2015 Link to this post

    Hi

    If we have a small list in RadLoopingList, and the list is looped in the visible area, the selected item is selected where-ever its visible. Can the selection be set for only one item, the "centered" item?

    i.e. ...

    List consists of the numbers 1,2 and 3 ...using ... loopingList.ItemsSource = Enumerable.Range(1,3).ToList();

    Visible on the screen, 2,3,1,2,3,1,2

    In this scenario, all the 2's are selected. (see attached) How can only one of the 2's be selected?

    Thanks!

  2. Answer
    Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 08 Jun 2015 Link to this post

    Hi Sudhir,

    Thank you for contacting us.

    You are right that the RadLoopingList control does not behave adequately in this scenario. I can give you two workarounds that you can use until we fix this issue:
    • Restrict the height of the control to the height of its items.
    • Disable the looping if the total items height is less than the available height.
    I have attached a sample.

    I hope this helps. I have also updated your Telerik points as a token of gratitude for bringing this issue to our attention. 

    Regards,
    Rosy Topchiyska
    Telerik
    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