locked
Layout cycle detected. Layout could not complete RRS feed

  • Question

  • Hi

    I am using nested GridView (ListView as a DataTemplate of GridView) and binding some some 1000 item into that. while we binding collection getting following error:

    "Layout cycle detected. Layout could not complete"


    Thanks & Regards Ravi Shankar

    Saturday, November 30, 2013 8:23 AM

Answers

  • Hi,

    Layout cycle errors occur generally when Layout of a control is updated in an infinite loop. You should share your project into skydrive so we can make sure why the problem occured.

    You gridview control contains so many items in it. I recommend you can use virtualization in your control. And implement incremental loading in gridview.

    Also, you can refer to the similar thread to get more information:

    http://social.msdn.microsoft.com/Forums/en-US/75ad0911-9b75-4486-928f-53f90c268782/layout-cycle-detected-layout-could-not-complete?forum=w81prevwCsharp

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Marked as answer by Anne Jing Monday, December 9, 2013 1:35 AM
    Monday, December 2, 2013 3:10 AM