NullReferenceException error RadSegmentedControl and UWP

2 posts, 0 answers
  1. Mano Sadeh
    Mano Sadeh avatar
    12 posts
    Member since:
    May 2010

    Posted 04 Nov 2018 Link to this post

    Hey,

    I'm getting this error when using RadSegmentedControl in UWP. the RadSegmentedControl is placing inside a TabView control. There is RadListView control within the same TabViewItem. The user navigate from a cell to new page and after returning back to the TabView and selecting a new TabItem, I'm getting the error.

     

    {Telerik.XamarinForms.InputRenderer.UWP.ExtendedSegmentedItemsControl}

    "   at Telerik.UI.Xaml.Controls.Input.SegmentedItemsControl.OnItemsChanged(Object e)"

    "Object reference not set to an instance of an object."

     

    Thanks,

    Mano

  2. Yana
    Admin
    Yana avatar
    4896 posts

    Posted 06 Nov 2018 Link to this post

    Hello Mano,

    I will need more details on the scenario you have in order to reproduce it and research it.  We haven't received such a report regarding SegmentedControl on UWP so far and only following the description I didn't manage to reproduce the erroneous behavior in a simple setup with RadTabView and navigating to a new page and returning back.  So, I'd ask you to send  us some code snippets demonstrating the exact case where the exception could be replicated.  Also any additional information you feel is relevant will be of help.

    Thanks in advance

    Regards,
    Yana
    Progress Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top