Pending Review
Last Updated: 18 Sep 2019 11:14 by ADMIN
Created by: Rajendra
Comments: 1
Category: UI for Xamarin
Type: Bug Report
0
Hi Team,

I implemented radcheckbox in my xamarin telerik application. In which i select checkbox and afterword i post some data through webAPI. After completion of posting data i got response from server and my app got crashed and show me following stack trace data,

  at Telerik.XamarinForms.PrimitivesRenderer.iOS.CheckBoxRenderer.OnElementDetached (Telerik.XamarinForms.Primitives.RadCheckBox oldElement) [0x00025] in <f3723b4c1d3f406496717d69142c8f84>:0 

  at Telerik.XamarinForms.Common.iOS.IosRendererBase`2[S,T].Dispose (System.Boolean disposing) [0x0001f] in <81c15264f2164ef79a02e84ed79e8bfd>:0 

  at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/Foundation/NSObject2.cs:147 

  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0003f] in <612eab01c6f546df983c0637f996b4cd>:0 

  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in <612eab01c6f546df983c0637f996b4cd>:0 

  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x00058] in <612eab01c6f546df983c0637f996b4cd>:0 

  at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/Foundation/NSObject2.cs:147 

  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x0003e] in <612eab01c6f546df983c0637f996b4cd>:0 

  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (System.Object sender, Xamarin.Forms.ElementEventArgs e) [0x0000f] in <612eab01c6f546df983c0637f996b4cd>:0 

  at Xamarin.Forms.Element.OnChildRemoved (Xamarin.Forms.Element child) [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:343 

  at Xamarin.Forms.VisualElement.OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:750 

  at Xamarin.Forms.Layout`1[T].OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in <4542de7f0f544d51b46d63bd15d5f6b5>:0 

  at Xamarin.Forms.Layout.OnInternalRemoved (Xamarin.Forms.View view) [0x00012] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:464 

  at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x0002b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:427 

  at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)

  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

  at System.Collections.ObjectModel.ObservableCollection`1[T].RemoveItem (System.Int32 index) [0x00021] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

  at System.Collections.ObjectModel.Collection`1[T].Remove (T item) [0x00027] in <939d99b14d934342858948926287beba>:0 

  at Xamarin.Forms.Layout.OnInternalAdded (Xamarin.Forms.View view) [0x0000b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:451 

  at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00078] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:443 

  at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)

  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <a1ab7fc4639d4d84af41d68234158b1c>:0 

 

My xaml code,

<telerikControls:RadCheckBox IsChecked="{Binding IsSelected, Mode=TwoWay}" HorizontalOptions="Center" VerticalOptions="Center" />

 

My model class code,

private bool _isSelected;
        public bool IsSelected
        {
            get { return _isSelected; }
            set
            {
                _isSelected = value;
            }
        } 

Version information,

Xmarin form version : 4.1.0

Telerik UI version : 2019.2.802.1

iOS version 12.2

Pending Review
Last Updated: 18 Sep 2019 23:41 by ADMIN
Created by: Travis
Comments: 1
Category: UI for Xamarin
Type: Bug Report
0

I have a Xamarin.Forms app, but I only am using it for UWP at the moment. The plan is to have Android and iOS later, but I am having issues with the RadNumericInput (Xamarin.Forms) and how the decimal key is handled.

Here is my XAML


<tkInput:RadNumericInput Grid.Row="4" Grid.Column="1" Value="{Binding Price, Mode=TwoWay}" StringFormat="{}{0:C2}" />


Right now, "Price" will default to 0. The UI will initially show $0.00 because of the StringFormat. That is working fine. When I put focus into the control, I only see 0, that is also fine. The issue is when I try to type a decimal. The value disappears and I see an issue in my Output that says -- Binding: can not be converted to type 'System.Int32'

 

Example steps:

  • With the value set to 0.00
  • Focus the control -- you will now see just 0
  • Press the decimal key (aka the period key)
  • Notice the error in the Output window in VS and also the control shows nothing at all
  • If you press the decimal key again, you will see two decimals in the control

**** Also, the Version of the Telerik controls I am using is -- 2019.2.603.360. The drop down below doesn't let me choose that version.