do we have maximize or minimize event for tileview items ?

2 posts, 0 answers
  1. Gaurav
    Gaurav avatar
    10 posts
    Member since:
    Feb 2012

    Posted 05 Mar 2012 Link to this post


    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 ?
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 06 Mar 2012 Link to this post


    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.

    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 >>
Back to Top