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

do we have maximize or minimize event for tileview items ?

1 Answer 94 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Gaurav
Top achievements
Rank 1
Gaurav asked on 05 Mar 2012, 08:43 AM
hi,

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

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