LayoutCycleDetected

10 posts, 0 answers
  1. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 02 Sep 2011 Link to this post

    Had the Listpicker inside of a StackPanel, bound to a ObservableCollection, this is all at DesignTime, worked for awhile then I moved it to a PivotItem, within the stackpanel still..  Minimum height for the control was also not being maintained on the page.

    I had 2 of them on the page, removed both and the problem goes away.

    <controls:PivotItem Header="Settings">
                <Grid x:Name="ContentPanel">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                     
                    <StackPanel>
                        <tk:ToggleSwitch IsChecked="{Binding LocalTime, Mode=TwoWay}"                                 
                                     Header="Use local time for storage?" />
                        <teli:RadListPicker ItemsSource="{Binding TimeZones}"
                                        Header="Time Zone"
                                   SelectedItem="{Binding SelectedTimeZone, Mode=TwoWay}"
                                   Visibility="{Binding TZonePickerVis, Mode=TwoWay, Converter={StaticResource BoolVisibility}}"
                                   />
                        <tk:RadListPicker Header="Select your current seat."
                                   ItemsSource="{Binding Seats}"
                                   SelectedItem="{Binding CurrentSeat, Mode=TwoWay}" />
                         
                        <TextBlock Text="Employee #" Style="{StaticResource PhoneTextSubtleStyle}" />
                        <TextBox  
                             Text="{Binding EmployeeNo, Mode=TwoWay}"
                                        HorizontalAlignment="Stretch"
                                        VerticalAlignment="Top"
                             />
                        <tk:ToggleSwitch Header="Run in background?"
                                         IsChecked="{Binding RunBackGround, Mode=TwoWay}" />
     
                    </StackPanel>
                </Grid>
            </controls:PivotItem>
    THis has been crashing VS.NET like crazy... I am discontinuing use of this control, this is the lastest drop for Mango btw.
  2. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 06 Sep 2011 Link to this post

    Hi Morgan,

    Thank you for contacting us and for your feedback.

    I am sorry to hear that our control is causing troubles and you will stop using it. I performed thorough tests on my side, trying to reproduce the problem but to no avail. Therefore I would kindly ask you to prepare a simple project that demonstrates the problem and send it in a new support ticket to me so that I can debug it locally.

    I also tried to reproduce the problem with our official Q2 2011 release which targets NoDo but still without success. I suppose that something in the layout internals of the core Mango SL framework may have changed and we need to find our what exactly is that change.

    I am looking forward to your reply and to helping you workaround this issue.

    Kind regards,
    Georgi
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 06 Sep 2011 Link to this post

    Georgi,

    I will try to bang out and example here shortly.  Heading out for a small vacation today and won't be back till Friday and probably won't have the sample posted till sometime on saturday.

    Thanks for the reply

    Morgan.
  5. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 06 Sep 2011 Link to this post

    Georgi,

    For the design side of things how does telerik provide the design time support?  Is it thru a separate dll?  And does the dll get installed into the gac at install via the automatic/manual installer?

    Only reason I ask is because when did the mango change over I didn't put the files into the "default install folder" for initial install..  Therefore i only reference the files associated with the mango dll's from the location i put them for manipulating my projects in the exactly the same way between my desktop and my laptop while on the road.  Could this be the cause, since the the design-time experience is being slightly altered?
    TelerikExampleListPicker.zip
  6. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 08 Sep 2011 Link to this post

    Georgi,

    Had a chance to get a copy and run the install for the WP7 tools for mango on the laptop.  It does exactly the same thing as I was seeing on the desktop.  If I add the control and run it, it will work as expected.  if I add the control and then close the file then re-open parser finds the error and fails out on the build.  Seems to be a designtime error related to control height and something, cause the as soon as you add a header the content part shinks.

    Image without Header
    Image with Header
  7. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 08 Sep 2011 Link to this post

    Tested this on laptop earlier and it does it only in VS.NET 2010, seems to work ok in Blend but then again the 2 screen shots I have posted are still represented in Blend as well.
  8. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 12 Sep 2011 Link to this post

    Hi Morgan,

    Please accept my apologies for the delayed response.

    Thank you very much for the provided project and the additional hints about the header causing the trouble. I was able to isolate the problem - it was due to improper height calculations when a header is specified. We will fix the issue in a Service Pack release we are planning somewhere in the middle of the next week.

    I would like to thank for bringing our attention to this issue - I have updated your Telerik points as a token of our gratitude for your time and precious feedback.

    Let me know whether the planned service pack will be OK with your schedule.

    Best wishes,
    Georgi
    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
  9. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 12 Sep 2011 Link to this post

    yep should work out just fine for me..
  10. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 14 Sep 2011 Link to this post

    Hi Morgan,

    Excellent, I will inform you when the release is publicly available.

    Kind regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 22 Sep 2011 Link to this post

    Hi Morgan,

    I am happy to inform you that our Service Pack 1 i publicly available. More information may be found here.

    Do not hesitate to write us back should you have any other questions/problems with our tools.

    Best wishes,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner