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

LayoutCycleDetected

9 Answers 96 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Morgan
Top achievements
Rank 1
Iron
Morgan asked on 03 Sep 2011, 12:05 AM
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.

9 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 06 Sep 2011, 11:49 AM
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 >>

0
Morgan
Top achievements
Rank 1
Iron
answered on 06 Sep 2011, 05:09 PM
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.
0
Morgan
Top achievements
Rank 1
Iron
answered on 06 Sep 2011, 05:57 PM
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
0
Morgan
Top achievements
Rank 1
Iron
answered on 08 Sep 2011, 06:15 AM
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
0
Morgan
Top achievements
Rank 1
Iron
answered on 09 Sep 2011, 04:57 AM
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.
0
Georgi
Telerik team
answered on 12 Sep 2011, 01:14 PM
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
0
Morgan
Top achievements
Rank 1
Iron
answered on 12 Sep 2011, 05:03 PM
yep should work out just fine for me..
0
Georgi
Telerik team
answered on 14 Sep 2011, 01:12 PM
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 >>

0
Georgi
Telerik team
answered on 22 Sep 2011, 01:41 PM
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 >>

Tags
ListPicker
Asked by
Morgan
Top achievements
Rank 1
Iron
Answers by
Georgi
Telerik team
Morgan
Top achievements
Rank 1
Iron
Share this question
or