This question is locked. New answers and comments are not allowed.
I receive the following error when selecting tiles at run time:
Error: Unhandled Error in Silverlight Application
Code: 4008
Category: RuntimeError
Message: Layout cycle detected. Layout could not complete.
I am creating the TileView programmatically with the following:
If I remove the Fluid Content Control, everyhting works, but I am am forced to have the same content on each display. If I include the Fluid Content Control, I get the error when selecting the first small tile to enlarge.
Thanks.
Disregard the Menu Code.
Error: Unhandled Error in Silverlight Application
Code: 4008
Category: RuntimeError
Message: Layout cycle detected. Layout could not complete.
I am creating the TileView programmatically with the following:
| RadTileViewItem dashboardItem = new RadTileViewItem(); |
| dashboardItem.Name = "Tile"; |
| dashboardItem.Header = "Tile"; |
| //dashboardItem.Content = "Tile Content"; |
| dashboardItem.Height = 100; |
| dashboardItem.Width = 100; |
| RadFluidContentControl fluidContentControl = new RadFluidContentControl(); |
| fluidContentControl.LargeContent = "This is the larger contant. We can display charts and a whole lot more."; |
| fluidContentControl.SmallContent = "Small Content"; |
| fluidContentControl.SmallToNormalThreshold = new Size(100, 75); |
| fluidContentControl.NormalToSmallThreshold = new Size(101, 76); |
| fluidContentControl.NormalToLargeThreshold = new Size(400, 200); |
| fluidContentControl.LargeToNormalThreshold = new Size(401, 201); |
| dashboardItem.Content = fluidContentControl; |
| RadTileView dashboard = _container.Resolve<RadTileView>("MainDashboard"); |
| dashboard.Items.Add(dashboardItem); |
| dashboard.ReorderingEasing = new System.Windows.Media.Animation.ElasticEase(); |
| dashboard.ResizingEasing = new System.Windows.Media.Animation.ExponentialEase(); |
Thanks.
| RadMenuItem studentMenuItem = new RadMenuItem(); |
| studentMenuItem.Name = "Student"; |
| studentMenuItem.Header = "Student"; |
| RadMenuItem studentAdd = new RadMenuItem(); |
| studentAdd.Name = "Add Student"; |
| studentAdd.Header = "Add Student"; |
| studentMenuItem.Items.Add(studentAdd); |
| RadMenuItem studentUpdate = new RadMenuItem(); |
| studentUpdate.Name = "Update Student"; |
| studentUpdate.Header = "Update Student"; |
| studentMenuItem.Items.Add(studentUpdate); |
| RadMenu menu = _container.Resolve<RadMenu>("MainMenu"); |
| menu.Items.Add(studentMenuItem); |