TileView State Changing

3 posts, 0 answers
  1. Adam
    Adam avatar
    40 posts
    Member since:
    Dec 2011

    Posted 14 Dec 2011 Link to this post

    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. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 19 Dec 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Adam
    Adam avatar
    40 posts
    Member since:
    Dec 2011

    Posted 19 Dec 2011 Link to this post

    Hi Zarko,
    Thanks but we got what we needed figured out.

    Regards,
    Adam
Back to Top