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

"Layout cycle detected" error on resize of tileview

5 Answers 89 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Nabil Shuhaiber
Top achievements
Rank 1
Nabil Shuhaiber asked on 20 Aug 2010, 05:15 PM
I keep getting "Layout cycle detected.  Layout could not complete." on resize of my window which contains a tileview and 12 tiles containing a mixture of radcharts, images and tables. I am using the latest build 2010.2 812 (Aug 12, 2010). This seems to only happen when I have radcharts in the tileviewitems.

Thanks
Regards,
Nabil

5 Answers, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 25 Aug 2010, 03:55 PM
Hi Nabil Shuhaiber,

Please accept my apologize for the late reply.
Could you send me your sample project, so I will be able to better investigate the problem?

Greetings,
Viktor Tsvetkov
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
0
Chris
Top achievements
Rank 1
answered on 17 Sep 2012, 11:46 PM
Was this issue resolved for the poster?  We experience the same issue with a tile manager control (from another 3rd party) which only surfaces with a RadChart within it (this rad chart in question has many data points along the x axis)

0
Tina Stancheva
Telerik team
answered on 20 Sep 2012, 01:08 PM
Hi Chris,

We have introduced a fix in the RadTileView for a few reported scenarios in which this exception used to come up. However, I am not sure if this fix will work for you as I am not sure if you're using the RadTileView control.

This is why, if you believe that the issue is related to the RadChart control, you can start a new thread targeting the RadChart control and elaborating on the issue you have with it. A sample solution will also greatly help us to better understand the case and the cause for the exception.

Kind regards,
Tina Stancheva
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Chris
Top achievements
Rank 1
answered on 20 Sep 2012, 01:20 PM
Yeah, I'm using the XamTileManager from a competitor (not the rad tile control)

I noticed in the update notes at one point it mentioned fixing this problem for a set of scenarios, like use in a rad tile control.

I'm trying to slowly narrow down a simple reproducible.  It's definitely coming from RadChart though, and it deals with when the chart is resized. 

One hack I think seems to work is - 1) detect tile state is changing, 2) remove rad chart, 3 ) after tile state changed, recreate the whole chart.

Obviously, that's not ideal, and it doesn't fix the problem when, for example, a user resizes the browser - which can cause a horiz & vertical stretched RadChart to resize with it.

0
Nikolay
Telerik team
answered on 25 Sep 2012, 07:00 AM
Hello Chris,

Could you, please, open a support ticket and send us a sample application, which reproduces this issue, as we've been unable to recreate it in our local tests. This way our developers would be able to debug it locally and identify the cause for the issue.

Kind regards,
Nikolay
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
TileView
Asked by
Nabil Shuhaiber
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Chris
Top achievements
Rank 1
Tina Stancheva
Telerik team
Nikolay
Telerik team
Share this question
or