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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SupportNodeImages in GridTreeControl

Thread ID:





94057 Apr 20,2010 11:30 AM UTC Apr 26,2010 11:18 AM UTC WPF 2
Tags: GridControl
Asked On April 20, 2010 11:30 AM UTC

I have a problem about GridTreeControl.
I set the GridTreeControl support node images like that:
treeGrid.SupportNodeImages = true;
treeGrid.RequestNodeImage += new GridTreeRequestNodeImageHandler(treeGrid_RequestNodeImage);

I add a node like that:
GridTreeNode node = new GridTreeNode(0, null, true, null);

Then a exception occurs:
System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."

I hope the GridTreeControl support node images and I don't want to change the way that I add node. Is there any way to solve it?

Best regards

Replied On April 21, 2010 03:22 PM UTC

Our project is a little special, so it is not comfortable to add data by using the "RequestTreeItems" event. Then I try to add data by add node in "grid.InternalGrid.Nodes", but there are some problem occurs, please see the Attachment

Best regards

Problem aobut add node_108b58b.rar

Karthik Vishnu R [Syncfusion]
Replied On April 26, 2010 11:18 AM UTC

Hi J.T,

Rendering plus minus nodes seems to bae a small bugin our implementation. Please create Direct Trac Incident with the forum title as header. We will update you with a patch that will resolve these issues.



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