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

4 posts, 0 answers
  1. Przemysław Dzierżak
    Przemysław Dzierżak avatar
    5 posts
    Member since:
    Mar 2010

    Posted 13 Apr 2012 Link to this post

    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?
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 17 Apr 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dipak
    Dipak avatar
    19 posts
    Member since:
    Oct 2008

    Posted 30 Apr 2012 Link to this post

    I have this issue in Prioduction. Could you please suggest some work arround  asap ?
    Thanks
    Dipak
  5. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 03 May 2012 Link to this post

    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 >>
Back to Top