RadComboBox does not work in ListView Xamarin forms

1 Answer 78 Views
ComboBox ListView
Tasnim
Top achievements
Rank 1
Tasnim asked on 07 Oct 2022, 11:10 AM

When I tap on the RadComboBox arrow in listview it gives the below exception. Kindly help

event registration is overwriting existing delegate. either just use events or your own delegate: xamarin.forms.platform.ios.listviewrenderer+listviewdatasource uikit.uiscrollview+_uiscrollviewdelegate

1 Answer, 1 is accepted

Sort by
1
Accepted
Didi
Telerik team
answered on 10 Oct 2022, 08:49 AM

Hi Tasnim,

I have researched the case and it seems the exception occurs in a combination of ScrollViews which are used inside the ListView and Combo. You can prevent the exception using the following solution: 

Set the following code inside the AppDelegate.cs file inside the iOS project and test whether this will solve the issue on your side. 

After the Xamarn.Forms.Forms.Init(); paste the following code:

 

 UIApplication.CheckForEventAndDelegateMismatches = false;

 

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Manish
Top achievements
Rank 1
commented on 26 Jan 2023, 07:40 PM | edited

I have a Rad popup inside the List view and when trying to open the popup iOS app crashes with the same error. 

I updated the solution mention and crash issue on the button that used for opening the popup is fixed

But after opening and closing the popup if I scroll down for a while then iOS app crashes

Didi
Telerik team
commented on 27 Jan 2023, 06:01 AM

Send us the exact stack-trace you receive when scrolling down. 
Tags
ComboBox ListView
Asked by
Tasnim
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or