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

TreeViewAdv using ExpandAll and Collapse All throwing null reference exception

Thread ID:

Created:

Updated:

Platform:

Replies:

64988 Jul 24,2007 07:53 PM UTC Jul 31,2007 11:30 PM UTC Windows Forms 4
loading
Tags: Tools
John
Asked On July 24, 2007 07:53 PM UTC

I am using a TreeViewAdv control with a context menu to Expand all the parent nodes and collapse all the nodes. When I select either one the vertical scroll bar moves down on the tree. It seems that once the bar hit the bottom it throws a null reference exception. An unhandled exception of type 'System.NullReferenceException' occurred in syncfusion.tools.windows.dll. How can this be prevented?

thanks

Jeba S [Syncfusion]
Replied On July 26, 2007 03:45 AM UTC

Hi John,

Thank you for your details.

I am afraid that I was not able to reproduce the "NullReference Exception". I have created a sample to test the issue and it is available in the following link:
http://websamples.syncfusion.com/samples/Tools.Windows/F64988/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps and screen shot so that we could sort out the cause of the issue and provide you a solution?

Please provide us your Syncfusion version and .Net version details.

Thank you for using Syncfusion Products.

Best Regards,
Jeba.

John
Replied On July 26, 2007 01:31 PM UTC

Yes here is a example I threw together. I have a large tree with a lot of nodes and child nodes. I am using Syncfusion Version 3.2.1.0 with .NET 2003 1.1.

There is a context menu so to duplicate the error:
1. right click and choose collapse all
2. right click choose expand all
3. Do not move the vertical bar back up to the top just right click and choose collapse all and you will get a execption thrown.

Thanks again John

>Hi John,

Thank you for your details.

I am afraid that I was not able to reproduce the "NullReference Exception". I have created a sample to test the issue and it is available in the following link:
http://websamples.syncfusion.com/samples/Tools.Windows/F64988/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps and screen shot so that we could sort out the cause of the issue and provide you a solution?

Please provide us your Syncfusion version and .Net version details.

Thank you for using Syncfusion Products.

Best Regards,
Jeba.

TreeViewAdv0.zip

John
Replied On July 31, 2007 01:30 PM UTC

Anything on this?

J.Nagarajan [Syncfusion]
Replied On July 31, 2007 11:30 PM UTC

Hi John,

Thanks for using Syncfusion product. I have tested this issue in v.3.2.1.0 and I was able to reproduce this issue. THis issue has been fixed in v.5.1.0.51 and the later releases. You can download the latest release of v.5.1 from the followin page

http://www.syncfusion.com/downloads/latestversion/default.aspx.

Unlock key :
Please contact our sales team (salessupport@syncfusion.com) to get an unlock key for this version.

Please let me know if you ahve any questions.

Thanks,
Nagaraj

CONFIRMATION

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.

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

;