Maximized tilestate with listbox selectionchanged

2 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 26 Oct 2010 Link to this post

    I have a tileview populated dynamically with a listbox in each tileitem. When a user makes a selection which ever listbox in that tile maximized. I tried to use the same logic as your demo, but it can't see the listbox.

  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 29 Oct 2010 Link to this post

    Hi Rick Mueller,

    Can you please elaborate on your scenario. What do you mean by "When a user makes a selection which ever listbox in that tile maximized."? And how is the TileView defined? Is it databinded? Do you need to display the ListBox items only when an item is Maximized?

    If you need to change the content of the items depaning on their state, you can use the FluidContentControl. Here you can find more info on how to implement such scenarios.

    If, however, you need to change the TileState on ListBox SelectionChanged(), then for example you can handle the event and find the sender ListBox ParentOfType TileViewItem and change its state:
    (sender as ListBox).ParentOfType<RadTileViewItem>().TileState = TileViewItemState.Maximized

    I hope this info will help you. Still, if you can send us a sample code or a code snippet illustrating your scenario in a better detail, we will be able to provide you with e better suited solution.

    Tina Stancheva
    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 R3 2016 release webinar banner
Back to Top