[ASAP] NullReferenceException on Navigating from page with DataForm

Hello. I am developing application using DataForm. For navigation I'm using Prism library. When I click the button which has command to navigate from the page with DataForm, I face NullReferenceException:

What am I doing wrong? Please help asap!

Attachment: TrainicityXamarin_7a15b1e7.rar

7 Replies

SS SaiGanesh Sakthivel Syncfusion Team May 20, 2020 01:46 PM UTC

Hi Elijah, 
  
Thank you for contacting Syncfusion support. 
  
We have checked the reported query “Null Reference Exception” from our end. We would like to inform you that reported issue reproduced when not use the SfDataForm control also. We would request you to check the Prism navigation guidelines. 
  
  
We hope this helps. Please let us know if you need any assistance. 
  
Regards, 
SaiGanesh Sakthivel 



EA Elijah And May 20, 2020 02:10 PM UTC

Thank you very much for quick response! I was following this guideline when I set up Prism in my app. And I still can't understand what the problem is, would you mind to help me? :(


MS Muniappan Subramanian Syncfusion Team May 21, 2020 12:56 PM UTC

Hi Elijah, 
 
We checked your "Null Reference Exception" query and found that NavigationService is getting null when navigating to a different page using Prism and fixed the reported issue at the sample level. We have modified the sample for the same, please find the sample from below link, 
 
 
We hope that this helps you, kindly revert us if you have any concern.   
 
Regards, 
Muniappan S. 



EA Elijah And May 21, 2020 04:29 PM UTC

Sorry, I face "Access Denied". Could you please update the link?


SS SaiGanesh Sakthivel Syncfusion Team May 22, 2020 01:38 PM UTC

Hi Elijah, 
 
We checked your "Null Reference Exception" query from our end and We have modified the sample for the same, please find the sample from below link. 
 
 
We hope that this helps you, kindly revert us if you have any concern.    
  
Regards,  
SaiGanesh Sakthivel.


EA Elijah And May 24, 2020 06:46 PM UTC

Thank you very much for the working solution guys! You are awesome!


MS Muniappan Subramanian Syncfusion Team May 25, 2020 10:55 AM UTC

Hi Elijah,

Thank you for the update.

We are glad that our solution meets your requirement. Please let us know if you need any further update. As always, we are happy to help you out.

Regards,
Muniappan S.

Loader.
Up arrow icon