This is a migrated thread and some comments may be shown as answers.

Adding new node to TreeView with filter applied ealier make the node appears twice

3 Answers 72 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Przemysław Dzierżak
Top achievements
Rank 1
Przemysław Dzierżak asked on 13 Apr 2012, 10:01 AM
The problem may be reproduced in example application in TreeView/First Look in v 2012.1.321.20.
The scenario is as follows:
-enter some text as a filter
-delete text - filter should be off
-add new node by context menu -> "New Node" appears twice in the tree view

I spent a moment with debugger and i found that in TreeNodeView.UpdateView()
when the filter is off the state[StateFiltered] is not set to false, that make the
following TreeNodeView.Insert() add new node to the "view" and "nodes" collection
which refers to the same list.

Is this a known bug? Is there any workaround for this problem?

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 17 Apr 2012, 03:39 PM
Hi Przemysław,

Thank you for writing.

I successfully reproduced the issue using the provided information. The issue is now logged in our Public Issue Tracking System and it will be addressed in one of the next major releases. Here you can subscribe to its status updates: http://www.telerik.com/support/pits.aspx#/public/winforms/10749

Thank you for the report. I have updated your Telerik points accordingly. 

All the best,
Julian Benkov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Dipak
Top achievements
Rank 1
answered on 30 Apr 2012, 03:39 PM
I have this issue in Prioduction. Could you please suggest some work arround  asap ?
Thanks
Dipak
0
Julian Benkov
Telerik team
answered on 03 May 2012, 01:50 PM
Hi Przemysław,

Thank you for writing to us.

Indeed, there is an issue with the filtering functionality in TreeView and I have already logged it to our Public Issue Tracking System. Please follow this link to add your vote and also subscribe to its status updates. We will do our best to address the issue in one of our next releases. I am not able to provide you with a workaround for the time being, due to the nature of the issue.

Kind regards,
Julian
the Telerik team

RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Treeview
Asked by
Przemysław Dzierżak
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Dipak
Top achievements
Rank 1
Share this question
or