none
Issues with Pivot Viewer when applying more filters on loading for first time

    Question

  • Hello All,

     

    I am storing the user selected filters in isolated storage setting and applying them back whenever user browse the application.

    The code is working fine but what i see  is that when the number of filters applied which are increased then i am seeing a weird error

    "Layout Cycle detected. Layout could not complete ".

     

    Collection consist of 1600 items and  i am seeing this issue when i am appending the default filters when page is loading .

    What is the cause of this  because ideallyy when filters are applied means serachshould be more faster and with no issues.

    Can someone provide the pointers to resolve the issue ?

     

    Regards,
    Phani

     

    Monday, April 23, 2012 7:00 AM

All replies

  • Any help here ?

    Monday, April 23, 2012 9:59 PM
  • Hi,

    This error means that you have an infinite loop in your layout.

    You are changing the layout again when the layout are changing.

    I suggest you to post the code which changes your layout in

                
    Dispatcher.BeginInvoke(() => {
                    //Code
                });

     

    Tuesday, April 24, 2012 3:45 AM
  • I have doen this  but still seeing the same issue

    Wednesday, May 02, 2012 9:30 AM
  • Wanted to  know the maxmimu number of filters that we can apply on the pivot viewer at the time of intial load . 

    Can some help me here  it's pending from longtime 

    Wednesday, May 23, 2012 7:39 AM
  • I have discovered the same issue.

    I have found if i try to set the default view (onload) with more categories than 3, I will get a SL error message.  I am hoping there is an answer here

    Message: Unhandled Error in Silverlight Application [LayoutCycleDetected]
    Arguments:
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10329.0&File=System.Windows.dll&Key=LayoutCycleDetected
    Line: 1
    Char: 1
    Code: 0
    URI: https://wwwtest.int.ch2m.com/bdpdportal/PortalViewer.aspx?id=162

    Friday, June 01, 2012 3:50 PM