minimize tileviewitem thru code

4 posts, 0 answers
  1. iramz
    iramz avatar
    23 posts
    Member since:
    Jan 2010

    Posted 04 May 2010 Link to this post

    i am trying to minimize the tileviewitem thru code by doing this:

    tile.TileState = TileViewItemState.Minimized;

    how ever the tile doesn't minimize. only the icon on the upper left changes (changes to restore coz supposedly its minimized).

    i want to return all the tiles to tiled state, nothing maximized or in full view. how to do this?


  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 06 May 2010 Link to this post

    Hi iramz,

    Thank you for reporting this issue. I've added it as a bug and you will be able to track it in our PITS under the name TileView: Items cannot be minimized in code behind tomorrow the latest. I updated your Telerik points accordingly.

    Also, by design the TileViewItems cannot be set all to MinimizedState. However, I've added your request in our PITS under the name TileView: Allow setting all items in Minimized State. The item will be available for tracking tomorrow the latest. You can vote for it and if it gathers enough popularity we will definitely implement it.

    In the meantime, if you can elaborate on your scenario we will try to find a workaround that can be used to implement it.

    We are sorry for the caused inconvenience.

    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.
  3. DevCraft banner
  4. iramz
    iramz avatar
    23 posts
    Member since:
    Jan 2010

    Posted 06 May 2010 Link to this post

    ok here's what im trying to do.

    one of my tile view item, when in full view, has a cancel button. i just want that if you press the cancel button all my tiles will return to just tiled (nothing in full view). i was hoping to achieve this by simply minimizing the current tileview item but as said above, only the icon in upper right changes, the tile remains in full view.

    any work around is appreciated for the time being.

    thank you!
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 07 May 2010 Link to this post

    Hello iramz,

    I am not sure that I understand correctly your scenario. What do you mean by "full view" - Restored or Maximized tile state?

    However, I prepared a sample project. I used RadFluidContenControl to define different contents for the items depending on their state. Also I added a cancel button in the Large content of the items (it is displayed when the TileViewItem is Maximized). When the button is clicked, the item state is changed to Restored.

    Can you please take a look at the project and let me know if this scenario will work for you?

    Best wishes,
    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.
Back to Top