This is a migrated thread and some comments may be shown as answers.

Maximized tilestate with listbox selectionchanged

1 Answer 71 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 26 Oct 2010, 07:24 PM
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.

Regards,
Rick

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 29 Oct 2010, 04:31 PM
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.

Greetings,
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
Tags
TileView
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or