Need More Info
Last Updated: 22 Nov 2023 12:10 by ADMIN

When programatically trying to add an item to RadComboBox.SelectedItems (in multiple selection mode) similar to this answer, we get an ArgumentOutOfRangeException on iOS.  It works fine on Android.

https://www.telerik.com/forums/radcombobox-binding-selecteditem-not-work-when-selectionmode-is-multiple

The stack trace is strange:

[0:] {"@t":"2023-11-15T20:53:41.1123080Z","@mt":"Unhandled Exception","@l":"Fatal","@x":"System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1[[System.Double, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].get_Item(Int32 index)
   at Telerik.Maui.RadWrapLayoutManager.ArrangeChildren(Rect bounds)
   at Microsoft.Maui.Controls.Layout.CrossPlatformArrange(Rect bounds)
   at Microsoft.Maui.Platform.MauiView.CrossPlatformArrange(Rect bounds)
   at Microsoft.Maui.Platform.MauiView.LayoutSubviews()
   at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 58
   at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 94
   at TeamDynamix.Mobile.WorkManagement.Program.Main(String[] args) in C:\\git\\enterprise\\mobile-app\\TeamDynamix.Mobile.WorkManagement\\Platforms\\iOS\\Program.cs:lin
Need More Info
Last Updated: 19 Jun 2023 13:03 by ADMIN
Created by: Vishal
Comments: 2
Category: UI for .NET MAUI
Type: Feature Request
3
Take picture via camera and quickly upload pic.