This is a migrated thread and some comments may be shown as answers.
TileView Behaviour
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
sachin jagtap
Top achievements
Rank 1
sachin jagtap asked on 22 Jun 2010, 04:56 PM
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

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 24 Jun 2010, 10:05 AM
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
Asked by
sachin jagtap
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or