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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Null Reference Exception when both SFDatagrid and TreeViewAdv are used

Thread ID:





148697 Oct 30,2019 03:16 PM UTC Oct 31,2019 09:21 AM UTC WPF 1
Tags: TreeViewAdv
anandjit banerjee
Asked On October 30, 2019 03:16 PM UTC


I have been using SFDataGrid in my project and it was working perfectly fine.Then I added Syncfusion.Tools.WPF in order to use TreeViewAdv.The XAML which has treeview works fine but the SFDatagrid keeps throwing unhandled null reference exception now.Has anyone faced this issue?

Attachment: Exception_959d579d.zip

Vijayalakshmi Roopkumar [Syncfusion]
Replied On October 31, 2019 09:21 AM UTC

Hi Anandjit 
Thank you for using Syncfusion controls. 
We have analyzed your provided stacktrace and we have tried to replicate the issue with the sample using SfDataGrid and TreeViewAdv,  but the issue is not reproduced on our end. So could you please share the below details, which will help us find a better solution for this? 
  1. Did you load the GridTemplateColumn in SfDataGrid?
  2. Did you use the CardView control in your application?
  3. Could you please share the SfDataGrid and TreeViewAdv settings?
Please find the below sample location which we are used for test in our end. 
Vijayalakshmi V.R. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon