We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DataFormDropDownItem crashes , DataFormPickerItem with the same setup works

 Hello,

I follow your instruction at your online help, section Loading complex type property values in the drop-down editor.

DataFormDropDownItem crashes my app. I switched to DataFormPickerItem with the same setup, it works


here is the exception 

at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00081] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:401 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/external/corefx/src/Common/src/CoreLib/System/Reflection/MethodBase.cs:53 
  at Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer.TriggerInternalMethod (System.Type type, System.Object obj, System.String methodName, System.Object[] args) [0x00015] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer.NativeComboBox_SelectionChanged (System.Object sender, Syncfusion.iOS.ComboBox.SelectionChangedEventArgs e) [0x0042d] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.iOS.ComboBox.SfComboBox.OnSelectionChanged (Syncfusion.iOS.ComboBox.SelectionChangedEventArgs args) [0x00008] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.iOS.ComboBox.SfComboBox.SetSelectedItem (System.Object value) [0x001d2] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.iOS.ComboBox.SfComboBox.set_SelectedItem (System.Object value) [0x00062] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.iOS.ComboBox.SfComboBox.SelectedItemCalculation (Syncfusion.XForms.ComboBox.SfComboBox temp) [0x000d2] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.iOS.ComboBox.SfComboBox.SetNativeSelectedItem () [0x00015] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.iOS.ComboBox.SfComboBox.OnComboBoxPropertiesChanged (System.String propertyName, Syncfusion.XForms.ComboBox.SfComboBox formsComboBox, Syncfusion.iOS.ComboBox.SfComboBox nativeComboBox) [0x0027e] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer.OnElementChanged (Xamarin.Forms.Platform.iOS.ElementChangedEventArgs`1[TElement] e) [0x00163] in <5e1ceba9348646a087db472c4980bf5b>:0 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00122] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:277 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:146 
  at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00014] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Platform.cs:188 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) [0x0003d] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:97 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () [0x0001e] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:46 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000de] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:264 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:146 
  at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00014] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Platform.cs:188 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) [0x0003d] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:97 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () [0x0001e] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:46 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000de] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:264 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:146 
  at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00014] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Platform.cs:188 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildAdded (Xamarin.Forms.VisualElement view) [0x0003d] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:97 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Load () [0x0001e] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:46 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000de] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:264 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.iOS.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:146 
  at Xamarin.Forms.Platform.iOS.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00014] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Platform.cs:188 
at Syncfusion.iOS.DataForm.DataFormLayoutManager.CreateDataFormItemTextInputLayout (System.Int32 rowIndex, System.Int32 columnIndex) [0x000f5] in <52c84fe9325a4f308b11ab9cd3b47aec>:0 
  at Syncfusion.iOS.DataForm.DataFormLayoutManager.CreateItemView (System.Int32 rowIndex, System.Int32 columnIndex) [0x00049] in <52c84fe9325a4f308b11ab9cd3b47aec>:0 
  at Syncfusion.iOS.DataForm.ScrollPanel.GenerateItems (System.Int32 columnCount, System.Int32& actualStartIndex, System.Int32 actualEndIndex) [0x00069] in <52c84fe9325a4f308b11ab9cd3b47aec>:0 
  at Syncfusion.iOS.DataForm.ScrollPanel.OnLayoutViews () [0x00215] in <52c84fe9325a4f308b11ab9cd3b47aec>:0 
  at Syncfusion.iOS.DataForm.ScrollPanel.LayoutSubviews () [0x00000] in <52c84fe9325a4f308b11ab9cd3b47aec>:0 
  at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/UIKit/UIApplication.cs:86 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/UIKit/UIApplication.cs:65 




Attachment: FormLayout_bfd388.rar

4 Replies

KA Karthikraja Arumugam Syncfusion Team September 16, 2019 03:07 AM

Hi Tung, 
 
Thank you for contacting Syncfusion support. 
 
We have checked the reported issue “Exception with DataFormDropDownItem inside DataForm floating label layout. You are using DataFormDropDownItem inside FloatingLabel layout but currently, DataForm FloadtingLabel layout doesn’t have support for DataFormDropDownItem we have mentioned the same in our UG document. Kindly refer the same, 
 
 
We have already planned to include DropDownItem inside floating label layout and we are currently implementing the same, we will include this new feature in our upcoming Volume 3 release. Which is expected to roll out at the end of September 2019. 
 
As of now you can use DropDownItem inside default layout. DataForm supports to change layout option for each item. Kindly refer our UG documentation for the same, 
 
 
We hope this helps. Kindly revert us if you have any concern. 
 
Regards, 
Karthik Raja A


AK Ajith Kumar Senthil Kumar Syncfusion Team October 3, 2019 10:43 PM

  
Hi Tung 
  
We are glad to announce that our Essential Studio 2019 Volume 3 Release version 17.3.0.14 is rolled out with the requested feature “DropDown editor support in dataform inside TextInputLayout” and is available for download under the following link.  
   
  
Nuget link:  
  
Release notes link:  
 
We have prepared a sample with requested feature in Syncfusion release version 17.3.0.14. Please find the sample in the following link  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
  
Regards,      
Ajith 



TU Tung October 4, 2019 10:37 AM

It works fine now at my end. 

Thank you.


AK Ajith Kumar Senthil Kumar Syncfusion Team October 7, 2019 04:47 AM

 Hi Tung, 
 
We are glad to know the issue resolved at your end. Please get in touch with us. 
 
Regards, 
Ajith 


Loader.
Live Chat Icon For mobile
Up arrow icon