How to access an item from collections in ListBox?

Thread is closed for posting
2 posts, 0 answers
  1. venu238
    venu238 avatar
    1 posts
    Member since:
    May 2014

    Posted 13 Dec 2014 Link to this post

    I'm using "Expanding List 02" design template. In that I want to access the item "Title 1" from "Collection 1".
    I've tried both Selected Item and Item tap but none worked for me.
  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    586 posts

    Posted 17 Dec 2014 Link to this post

    Hello Venu,

    Thank you for contacting us.

    The item you wish to access is in a RadDataBoundListBox, that is in a RadExpander control, that is in another RadDataBoundListBox. The inner list box has its IsHitTestVisible property set to false., which blocks all user interactions with the control. This is intentionally, because the scrolling does not work properly for the inner DataBoundListBox, but you can workaround this problem if you set MaxHeight of the inner list box control. Here is how your control could look like:
    <telerikPrimitives:RadDataBoundListBox ItemTap="RadDataBoundListBox_ItemTap" ItemsSource="{Binding Items}" MaxHeight="300" IsHitTestVisible="True">

    I hope this helps. Please, let us know if you have further questions.

    Rosy Topchiyska

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top