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

minimize tileviewitem thru code

3 Answers 45 Views
TileView
This is a migrated thread and some comments may be shown as answers.
iramz
Top achievements
Rank 1
iramz asked on 04 May 2010, 05:03 AM
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?


3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 06 May 2010, 03:49 PM
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.
0
iramz
Top achievements
Rank 1
answered on 07 May 2010, 03:59 AM
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!
0
Tina Stancheva
Telerik team
answered on 07 May 2010, 09:25 AM
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.
Tags
TileView
Asked by
iramz
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
iramz
Top achievements
Rank 1
Share this question
or