TileView Behaviour

2 posts, 0 answers
  1. sachin jagtap
    sachin jagtap avatar
    15 posts
    Member since:
    Jul 2009

    Posted 22 Jun 2010 Link to this post

    Hi,

    Please can you tell me if any thing is wrong in code below, i am trying to hide and show 2 tiles based on selection, but the tile view is not behaving as expected...

    code....

    switch

     

    (((System.Windows.Controls.ContentControl)(e.AddedItems[0])).Content.ToString())

     

    {

     

    case "IB Finance View":

     

     

     

    App.currentViewID = (int)App.groupView.IBFINANCE;

     

     

     

    RadTileViewItem rt1 = objTileView.Items[0] as RadTileViewItem;

     

    rt1.Visibility =

    Visibility.Collapsed;

     

     

     

    RadTileViewItem rt2 = objTileView.Items[2] as RadTileViewItem;

     

    rt2.TileState =

    TileViewItemState.Maximized;

     

    rt2.Visibility =

    Visibility.Visible;

     

     

     

    break;

     

     

    case "Front Office View":

     

     

    App.currentViewID = (int)App.groupView.FRONT_OFFICE;

     

     

    RadTileViewItem rt3 = objTileView.Items[2] as RadTileViewItem;

     

    rt3.Visibility =

    Visibility.Collapsed;

     

     

    RadTileViewItem rt4 = objTileView.Items[0] as RadTileViewItem;

     

    rt4.TileState =

    TileViewItemState.Maximized;

     

    rt4.Visibility =

    Visibility.Visible;

     

     

     

    break;

     

     

    case "Trader View":

     

     

    RadTileViewItem rt5 = objTileView.Items[2] as RadTileViewItem;

     

    rt5.Visibility =

    Visibility.Collapsed;

     

     

    RadTileViewItem rt6 = objTileView.Items[0] as RadTileViewItem;

     

    rt6.TileState =

    TileViewItemState.Maximized;

     

    rt6.Visibility =

    Visibility.Visible;

     

     

     

    App.currentViewID = (int)App.groupView.TRADERS;

     

     

    break;

     

    }


    Regards,
    Sachin

  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 24 Jun 2010 Link to this post

    Hello Sachin,

    Thank you for reporting this issue. Indeed when toggling the visibility of TileViewItems an error occurs. We will try to fix this issue for our official Q2 release which is scheduled for the middle of July this year, but I cannot bind to that with 100% certainty. Our suggestion is to try to avoid scenarios that involve changing the visibility of TileViewItems. I've also updated your Telerik account accordingly. Let me know if you have additional questions or comments regarding this issue.

    Sincerely yours,
    Kiril Stanoev
    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
Back to Top