do we have maximize or minimize event for tileview items ?
our senario:
if we maximize any tileview, other tileviews (the minimized tileviews wich are placed at right side) has to be colapsed,
can we do this in a maximized event of the selected tileview ?
1 Answer, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 06 Mar 2012, 09:52 AM
Hello,
You can use the RadTileView. TilesStateChanged/TileStateChanged or the RadTileViewItem.TileStateChanged events. You can find the RadTileView list of events in our online documentation.
Basically when you change the state of a tile - in your case maximize one tile, the RadTileView.TileStateChanged event will be fired for all items that have changed their state. This means that if you have 5 tiles in restored state and you maximize the first one, the TileStateChanged event will fire 5 times - for the first item to indicate that its state has changed to maximized and for the other items to indicate that their state has changed to minimized. This is why this event is probably the one that you should use to implement your scenario. Also there is a PreviewTileStateChanged event which you can use if you want to implement your logic before the state of the tiles has changed.
Greetings,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>