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

TileView State Changing

2 Answers 64 Views
TileView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 2
Adam asked on 14 Dec 2011, 08:48 PM
Kinda new to Silverlight and Telerik controls but currenlty working with the TileView control. We've got several tiles on our main page and we're handling the loading of each tile by utilizing the StateChanged event. I've noticed that this only gets raised the FIRST time the tile is loaded. For example, if I load Tile A after the main page loads and then decide to load Tile B but then decide I'd like to go back to Tile A, the StateChanged event is not raised, thus not triggering a refresh of my data in Tile A.

My question, why doesn't the tile change after loading a tile not trigger the state changed event? Is there a way that I can always call the state changed event when switching from tile to tile?

Ideally I want to open Tile A, which should trigger my state changed event for Tile A. Then I'd like to open Tile B, which also triggers my state changed event for Tile B. Then I'd like to go back to Tile A and have the state changed event trigger for Tile A.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 19 Dec 2011, 10:45 AM
Hi Adam,
The TileStateChanged event is raised when an RadTileViewItem changes its TileState and this is not bound to its loading. As for the loading, could you please give us some code snippets or a project to show us how exactly you're loading your items and how you're switching between Tile A and Tile B?
I've attached a sample project in which I show some of the ways to handle the loading of an items so you can examine it and see if it helps you.

Greetings,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Adam
Top achievements
Rank 2
answered on 19 Dec 2011, 03:32 PM
Hi Zarko,
Thanks but we got what we needed figured out.

Regards,
Adam
Tags
TileView
Asked by
Adam
Top achievements
Rank 2
Answers by
Zarko
Telerik team
Adam
Top achievements
Rank 2
Share this question
or