InlineModeThreshold bug

2 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    15 posts
    Member since:
    Dec 2012

    Posted 24 Aug 2013 Link to this post

    Hi,

    I am using the RadControls for Windows Phone 7 2013.2 718.
    I've faced an issue.

    If I declare the following xaml:
    <telerikInput:RadListPicker x:Name="myPicker"                                                                                                           
                                Margin="0"
                                VerticalAlignment="Stretch"                                                                      
                                InlineModeThreshold="1"
                                Grid.Row="1" >
        <telerikInput:RadListPickerItem Content="123"/>           
    </telerikInput:RadListPicker>
    everything works.

    But If I declare:
    <telerikInput:RadListPicker x:Name="myPicker"                                                                                                           
                                Margin="0"
                                VerticalAlignment="Stretch"                                                                      
                                InlineModeThreshold="0"
                                Grid.Row="1" >
        <telerikInput:RadListPickerItem Content="123"/>           
    </telerikInput:RadListPicker>
    I get an exception "Element is already the child of another element."
    CallStack info(if it's matters)
    at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
    at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, DependencyObject doh)
    at MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)
    at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
    at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
    at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)

    What I would like to do:
    I want to declare the items in xaml and force RadListPicker to work always in "full screen" mode.

    regards,
    Vladimir.
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 27 Aug 2013 Link to this post

    Hello Vladimir,

    Thank you for contacting us. This is a known limitation of RadListPicker. Please take a look at this forum thread and let me know whether the suggested workaround works for you. 

    Regards,
    Kiril Stanoev
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top