RadSlider has some paddings, is it possible to remove it?
I would like to have it from edge to edge
<telerik:RadSlider
Padding="0"
BackgroundColor="Blue"
TicksPlacement="None"
TickStep="10"
SnapMode="SnapToTicks"
LabelsPlacement="End"
LabelStep="10"
StringConverter="{x:Static converters:PetDistanceStringConverter.I}"
Minimum="0"
Maximum="100"
Value="{Binding Distance, Mode=TwoWay, Converter={x:Static converters:IntToDoubleConverter.I}}"
Margin="0,14,0,0" />
Hi,
Just updated to .NET 9 and Telerik MAUI 8.0.0.
Getting a crash when using a RadDataGrid on android 5.1.1 (this version is supported by .NET 9). The crash was not happening on .NET 8 and Telerik MAUI 7.0.0.
<telerik:RadDataGrid x:Name="dataGrid" ItemsSource="{Binding Items}" AutoGenerateColumns="False">
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="Name" SizeMode="Auto"/>
<telerik:DataGridTextColumn PropertyName="Value" SizeMode="Stretch"/>
</telerik:RadDataGrid.Columns>
<telerik:RadDataGrid.GroupDescriptors>
<telerik:PropertyGroupDescriptor PropertyName="Section"/>
</telerik:RadDataGrid.GroupDescriptors>
</telerik:RadDataGrid>
It looks like Telerik.Maui.Handlers.RadTextInputHandler.MapCustomCursorColor is trying to call to a function that does not exist in android 5.1.1.
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] Java.Lang.NoSuchMethodError: no non-static method "Landroidx/appcompat/widget/AppCompatEditText;.getTextCursorDrawable()Landroid/graphics/drawable/Drawable;"
[MonoDroid] at Java.Interop.JniEnvironment.InstanceMethods.GetMethodID(JniObjectReference type, String name, String signature)
[MonoDroid] at Java.Interop.JniType.GetInstanceMethod(String name, String signature)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String method, String signature)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String encodedMember)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualObjectMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)
[MonoDroid] at Android.Widget.TextView.get_TextCursorDrawable()
[MonoDroid] at Telerik.Maui.Handlers.RadTextInputHandler.MapCustomCursorColor(RadTextInputHandler handler, IRadTextInput virtualElement)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Telerik.Maui.IRadTextInput, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Handlers.RadTextInputHandler, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IEntry, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[AndroidX.AppCompat.Widget.AppCompatEditText, Xamarin.AndroidX.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.EntryHandler.SetVirtualView(IView view)
[MonoDroid] at Telerik.Maui.Handlers.RadTextInputHandler.SetVirtualView(IView virtualView)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IEntry, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[AndroidX.AppCompat.Widget.AppCompatEditText, Xamarin.AndroidX.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperty(IElementHandler viewHandler, IElement virtualView, String property)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.UpdateValue(String property)
[MonoDroid] at Microsoft.Maui.Controls.TemplatedView.OnApplyTemplateImpl()
[MonoDroid] at Microsoft.Maui.Controls.TemplatedView.OnApplyTemplate()
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.OnApplyTemplate()
[MonoDroid] at Telerik.Maui.Controls.RadEntry.OnApplyTemplate()
[MonoDroid] at Microsoft.Maui.Controls.TemplatedView.Microsoft.Maui.Controls.IControlTemplated.OnApplyTemplate()
[MonoDroid] at Microsoft.Maui.Controls.TemplateUtilities.OnControlTemplateChanged(BindableObject bindable, Object oldValue, Object newValue)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean didChange, Boolean willFirePropertyChanged)
[MonoDroid] at Microsoft.Maui.Controls.Element.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean changed, Boolean willFirePropertyChanged)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity, Boolean silent)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes, SetterSpecificity specificity)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value)
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.set_ActualControlTemplate(ControlTemplate value)
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.UpdateActualControlTemplate(ControlTemplate customTemplate)
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.UpdateActualControlTemplate()
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.InitializeComponent()
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.OnHandlerChanged()
[MonoDroid] at Microsoft.Maui.Controls.Element.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.View.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Telerik.Maui.RadBorderExtensions.UpdateBorderContent(BorderViewGroup view, IRadBorder border)
[MonoDroid] at Telerik.Maui.Handlers.RadBorderHandler.MapContent(RadBorderHandler handler, IRadBorder border)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Telerik.Maui.IRadBorder, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Handlers.RadBorderHandler, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Telerik.Maui.IRadBorder, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Border.BorderViewGroup, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Telerik.Maui.IRadBorder, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Border.BorderViewGroup, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperty(IElementHandler viewHandler, IElement virtualView, String property)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.UpdateValue(String property)
[MonoDroid] at Microsoft.Maui.Controls.TemplatedView.OnApplyTemplateImpl()
[MonoDroid] at Microsoft.Maui.Controls.TemplatedView.OnApplyTemplate()
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.OnApplyTemplate()
[MonoDroid] at Telerik.Maui.Controls.EntryToolbarItemView.OnApplyTemplate()
[MonoDroid] at Microsoft.Maui.Controls.TemplatedView.Microsoft.Maui.Controls.IControlTemplated.OnApplyTemplate()
[MonoDroid] at Microsoft.Maui.Controls.TemplateUtilities.OnControlTemplateChanged(BindableObject bindable, Object oldValue, Object newValue)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean didChange, Boolean willFirePropertyChanged)
[MonoDroid] at Microsoft.Maui.Controls.Element.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean changed, Boolean willFirePropertyChanged)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity, Boolean silent)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes, SetterSpecificity specificity)
[MonoDroid] at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value)
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.set_ActualControlTemplate(ControlTemplate value)
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.UpdateActualControlTemplate(ControlTemplate customTemplate)
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.UpdateActualControlTemplate()
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.InitializeComponent()
[MonoDroid] at Telerik.Maui.Controls.RadCompositeContentView.OnHandlerChanged()
[MonoDroid] at Microsoft.Maui.Controls.Element.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.View.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.LayoutHandler.Insert(Int32 index, IView child)
[MonoDroid] at Microsoft.Maui.Handlers.LayoutHandler.MapInsert(ILayoutHandler handler, ILayout layout, Object arg)
[MonoDroid] at Microsoft.Maui.CommandMapper`2.<>c__DisplayClass6_0[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.ILayoutHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v, Object o)
[MonoDroid] at Microsoft.Maui.CommandMapper.InvokeCore(String key, IElementHandler viewHandler, IElement virtualView, Object args)
[MonoDroid] at Microsoft.Maui.CommandMapper.Invoke(IElementHandler viewHandler, IElement virtualView, String property, Object args)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.Invoke(String command, Object args)
[MonoDroid] at Microsoft.Maui.Controls.Layout.NotifyHandler(String action, Int32 index, IView view)
[MonoDroid] at Microsoft.Maui.Controls.Layout.OnInsert(Int32 index, IView view)
[MonoDroid] at Microsoft.Maui.Controls.Layout.Insert(Int32 index, IView child)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.OnStripItemAdded(Int32 itemIndex, ToolbarItem toolbarItem)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.OnStripItemAdded(Object sender, ObservableItemCollectionChangedEventArgs`1 eventArgs)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].RaiseEvent(EventHandler`1 handler, ToolbarItem item, Int32 index)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnItemAdded(ToolbarItem item, Int32 index)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].HandleItemsAdded(IList items, Int32 startingIndex)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].ObservedCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
[MonoDroid] at System.Collections.ObjectModel.ObservableCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnCollectionChanged(NotifyCollectionChangedEventArgs e)
[MonoDroid] at System.Collections.ObjectModel.ObservableCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnCollectionChanged(NotifyCollectionChangedAction action, Object item, Int32 index)
[MonoDroid] at System.Collections.ObjectModel.ObservableCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].InsertItem(Int32 index, ToolbarItem item)
[MonoDroid] at System.Collections.ObjectModel.Collection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].Insert(Int32 index, ToolbarItem item)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.AddStripItem(Int32 itemIndex, ToolbarItem toolbarItem)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.AddToolbarItem(Int32 itemIndex, ToolbarItem toolbarItem)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.OnHierarchyItemAdded(Int32 itemIndex, ToolbarItem toolbarItem)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.OnHierarchyItemAdded(Object sender, ObservableItemCollectionChangedEventArgs`1 eventArgs)
[MonoDroid] at Telerik.Maui.Controls.ToolbarHierarchyManager.RaiseItemAdded(ObservableItemCollectionChangedEventArgs`1 eventArgs)
[MonoDroid] at Telerik.Maui.Controls.ToolbarHierarchyManager.OnItemAdded(Object sender, ObservableItemCollectionChangedEventArgs`1 eventArgs)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].RaiseEvent(EventHandler`1 handler, ToolbarItem item, Int32 index)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnItemAdded(ToolbarItem item, Int32 index)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].HandleItemsAdded(IList items, Int32 startingIndex)
[MonoDroid] at Telerik.Maui.ObservableItemCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].ObservedCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
[MonoDroid] at System.Collections.ObjectModel.ObservableCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnCollectionChanged(NotifyCollectionChangedEventArgs e)
[MonoDroid] at System.Collections.ObjectModel.ObservableCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnCollectionChanged(NotifyCollectionChangedAction action, Object item, Int32 index)
[MonoDroid] at System.Collections.ObjectModel.ObservableCollection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].InsertItem(Int32 index, ToolbarItem item)
[MonoDroid] at System.Collections.ObjectModel.Collection`1[[Telerik.Maui.Controls.ToolbarItem, Telerik.Maui.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].Add(ToolbarItem item)
[MonoDroid] at Telerik.Maui.Controls.ToolbarHierarchyManager.OnItemsChanged()
[MonoDroid] at Telerik.Maui.Controls.ToolbarHierarchyManager.OnHierarchyChanged()
[MonoDroid] at Telerik.Maui.Controls.ToolbarHierarchyManager.Push(IEnumerable`1 toolbarItems)
[MonoDroid] at Telerik.Maui.Controls.RadToolbar.OnHandlerChanged()
[MonoDroid] at Microsoft.Maui.Controls.Element.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.View.OnHandlerChangedCore()
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Telerik.Maui.RadBorderExtensions.UpdateBorderContent(BorderViewGroup view, IRadBorder border)
[MonoDroid] at Telerik.Maui.Handlers.RadBorderHandler.MapContent(RadBorderHandler handler, IRadBorder border)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Telerik.Maui.IRadBorder, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Handlers.RadBorderHandler, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Telerik.Maui.IRadBorder, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Border.BorderViewGroup, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Telerik.Maui.IRadBorder, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Border.BorderViewGroup, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view)
[MonoDroid] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
[MonoDroid] at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
[MonoDroid] at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
[MonoDroid] at Microsoft.Maui.Platform.MauiContextExtensions.ToPlatform(IView view, IMauiContext fragmentMauiContext, Context context, LayoutInflater layoutInflater, FragmentManager childFragmentManager)
[MonoDroid] at Microsoft.Maui.Platform.NavigationViewFragment.OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
[MonoDroid] at AndroidX.Fragment.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_inflater, IntPtr native_container, IntPtr native_savedInstanceState)
[MonoDroid] at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPLLL_L(_JniMarshal_PPLLL_L callback, IntPtr jnienv, IntPtr klazz, IntPtr p0, IntPtr p1, IntPtr p2)
[MonoDroid] --- End of managed Java.Lang.NoSuchMethodError stack trace ---
Hi Team,
We are using RadListPicker which looks different in different platforms as mentioned below:
Windows & IOS:
Android:
How to make the android look as IOS & Windows, I mean showing as a box and also the down arrow.
Thanks & Best Regards,
Mohammed Rameez Raza (Rameez).
InvalidCastException: Unable to cast object of type 'Telerik.Maui.Controls.RadTemplatedButton' to type 'Microsoft.Maui.Controls.ITextElement'.
App is crashing on open
Hi,
how can I change the style of the navigation header? the days an all that month dropdown, I don't see any documentation for this.
Hi,
I was wondering if it was possible to display an image as a response in the Chat control? For example, respond with a png to a users question as oppose to a textual respone
Thanks,
Euan
I currently have a RadComboBox. I mainly want to use the default stylings (apart for some colors as you can see in the code), but I want to disable FontAutoScalingEnabled on every text/label items.
<telerik:RadComboBox Grid.Column="0" Grid.Row="0"
ItemsSource="{Binding MyItems}"
SelectionMode="Single"
Placeholder="{x:Static resx:Labels.ItemCategory}"
SelectedIndex="{Binding SelectedItemIndex, Mode=TwoWay}">
<telerik:RadComboBox.Style>
<Style TargetType="telerik:RadComboBox">
<Setter Property="BackgroundColor" Value="{StaticResource White}"/>
<Setter Property="TextColor" Value="{StaticResource Black}"/>
<Style.Triggers>
<DataTrigger Binding="{Binding SelectedItem}" Value="True" TargetType="telerik:RadComboBox">
<Setter Property="BackgroundColor" Value="{StaticResource Primary}"/>
<Setter Property="TextColor" Value="{StaticResource White}"/>
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:RadComboBox.Style>
</telerik:RadComboBox>
How can I set FontAutoScalingEnabled for all labels in the ComboBox (selectable Items and selectedItem).
Thanks in advance!
I setup a CollectionView with grouping based on an attribute of the item. Everything seems to be working, except in the groups with more than one item there are a couple extra items in the list. One is the name of the group, and the other is 'Grand Total'
If I click on them the Item tapped handler receives a string. I do not see anything to turn this behavior on/off. My setup for the RadCollectionView is pretty basic
<telerik:RadCollectionView x:Name="RadCollectionView"
BackgroundColor="Transparent" VerticalOptions="Fill"
ItemsSource="{Binding SymbolItems}"
ItemViewStyle="{StaticResource SymbolItemStyle}"
SelectionMode="Single"
SelectedItem="{Binding SelectedSymbolItem}"
ItemTapCommand="{Binding SymbolClickedCommand}">
<telerik:RadCollectionView.GroupDescriptors>
<telerik:PropertyGroupDescriptor PropertyName="Parent" />
</telerik:RadCollectionView.GroupDescriptors>
<telerik:RadCollectionView.ItemTemplate>
<DataTemplate x:DataType="edit:SymbolItem">
<Grid ColumnDefinitions="40, *" Margin="40,0,0,0">
<ffImage:CachedImage Grid.Column="0" Grid.Row="0" HeightRequest="60"
Source="{Binding ImageSource}"/>
<Label Grid.Row="0" Grid.Column="1"
VerticalOptions="Center"
FontAttributes="Bold"
FontSize="17"
VerticalTextAlignment="Center"
Margin="10,0,0,0"
Text="{Binding Name}"/>
</Grid>
</DataTemplate>
</telerik:RadCollectionView.ItemTemplate>
</telerik:RadCollectionView>
<Style x:Key="SymbolItemStyle" TargetType="telerik:RadCollectionViewItemView">
<Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList>
<VisualStateGroup Name="CommonStates">
<VisualState Name="Normal">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="Transparent" />
</VisualState.Setters>
</VisualState>
<VisualState Name="Selected">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="LightGrey" />
<Setter Property="BorderColor" Value="#0A3A82"></Setter>
<Setter Property="BorderThickness" Value="2"></Setter>
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateGroupList>
</Setter>
</Style>
What is required to remove these items from the view?
Thanks -Joe
Hi folks,
Is there any way to print a document directly from the RadPdfViewer or even share the document (e.g., iOS Share Menu) to select the system print functionality or move the document to a different place/app?
I have a RadListView I am setting up to replace the standard Maui ListView.
One thing I need to do is set the Selected item in the ViewModel as part of a filter so filtered item is already selected. This seems to be an issue with doing this in the RadListView.
<telerik:RadListView x:Name="RadListView"
BackgroundColor="Transparent" VerticalOptions="Fill"
ItemsSource="{Binding SymbolItems}"
SelectionMode="Single" SelectionGesture="Tap" IsGroupHeaderSticky="True"
SelectedItem="{Binding SelectedSymbolItem, Mode=TwoWay}" >
I setup the SelectedItem to fire off the Notify (this uses Prism base class)
public SymbolItem SelectedSymbolItem
{
get => _selectedSymbolItem;
set => SetProperty(ref _selectedSymbolItem, value);
}
But when I set the SelectedItem I get an exception
Value cannot be null. (Parameter 'indexPath')
at ObjCRuntime.ThrowHelper.ThrowArgumentNullException(String argumentName) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/ThrowHelper.cs:line 28
at ObjCRuntime.NativeObjectExtensions.GetNonNullHandle(INativeObject self, String argumentName) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/INativeObject.cs:line 42
at TelerikUI.TKListView.SelectItem(NSIndexPath indexPath, Boolean animated, UICollectionViewScrollPosition scrollPosition)
at Telerik.Maui.Controls.Compatibility.DataControlsRenderer.iOS.ListViewRenderer.SelectItem(Object item)
at Telerik.Maui.Controls.Compatibility.DataControls.RadListView.OnSelectedItemAdded(Object item)
at Telerik.Maui.Controls.Compatibility.DataControls.RadListView.OnSelectedItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at Telerik.Maui.Controls.Compatibility.DataControls.ListView.SelectedItemsCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].OnCollectionChanged(NotifyCollectionChangedAction action, Object item, Int32 index)
at System.Collections.ObjectModel.ObservableCollection`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InsertItem(Int32 index, Object item)
at Telerik.Maui.Controls.Compatibility.DataControls.ListView.SelectedItemsCollection.InsertItem(Int32 index, Object item)
at System.Collections.ObjectModel.Collection`1[[System.Object, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Add(Object item)
at Telerik.Maui.Controls.Compatibility.DataControls.RadListView.UpdateSelectedItem()
at Telerik.Maui.Controls.Compatibility.DataControls.RadListView.OnPropertyChanged(String propertyName)
The value being set is definitely not null.
Also I notice that the Setter seems to be getting invoked twice, so if I put a breakpoint my code goes in and executes the setter, and then seems like the framework does something and invokes it again which throws the exception.
Can SelectedItem in a RadListView be set be using the bound property? (like with any general TwoWay binding). If not how could this be achieved?