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

NullReferenceException error RadSegmentedControl and UWP

1 Answer 62 Views
SegmentedControl
This is a migrated thread and some comments may be shown as answers.
Mano Sadeh
Top achievements
Rank 1
Mano Sadeh asked on 04 Nov 2018, 10:52 PM

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

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 06 Nov 2018, 12:55 PM
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
Tags
SegmentedControl
Asked by
Mano Sadeh
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or