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

TreeViewAdv using ExpandAll and Collapse All throwing null reference exception

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

4 Replies

JS Jeba S Syncfusion Team 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.


JO John 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


JO John July 31, 2007 01:30 PM UTC

Anything on this?


J. J.Nagarajan Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon