NullReferenceException

I have a DataGrid loaded on a page, and it works fine.  However, when I hit the "Back" button on my page, I immediately get the following error.  I am using the latest version of Xamarin Forms and the DataGrid control, and using Prism as my MVVM framework.



3 Replies

AN Ashok N Syncfusion Team June 5, 2018 12:30 PM UTC

Hi Danny,  
 
Thanks for contacting Syncfusion support.   
 
We have checked the reported issue with Xamarin.Forms v3.0 and SfDataGrid v16.1.0.37, also used Prism but while navigating back we did not face any issues. For your reference we have attached working copy of the sample in the below location, please refer it. Our latest SfDataGrid version will support Xamarin.Forms v2.4.0.280. We are going to provide Xamarin.Forms v3.0 in our upcoming 2018 Vol 2 main release, which is scheduled to be rolled out by the Mid of June, 2018. We will update you once release gets rolled out. We request you to use supported Xamarin.Forms version instead of using latest Xamarin.Forms version. If the issue persists, please modify our attached sample based on your requirement and revert along with replication procedure, that would be more helpful to analyse further.   
 
 
Regards,  
Ashok 


DA Danny Ackerman June 5, 2018 07:16 PM UTC

Using the latest stable version of Xamarin.Forms solved the problem.  Thanks!


DS Divakar Subramaniam Syncfusion Team June 6, 2018 12:01 PM UTC

Hi Danny, 
  
Thanks for the update. We are happy that your issue has been resolved. Please let us know if you need any other assistance from us. 
  
Regards, 
Divakar. 


Loader.
Up arrow icon