FindNodeByValue() bug - when will it be fixed?

12 posts, 2 answers
  1. Daron
    Daron avatar
    80 posts
    Member since:
    Dec 2007

    Posted 28 Feb 2008 Link to this post

    Any estimates on when this bug will be fixed (ie, not searching child nodes)?
  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 29 Feb 2008 Link to this post

    Hello Daron,

    The FindNodeByValue method is working correctly during our testing.

    Can you please describe in more detail how can we reproduce the problem?

    I have attached my testing files. Please download them and give them a go.
    I have used the server side method FindNodeByValue and the client side method findNodeByValue.


    All the best,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roberto Ascione
    Roberto Ascione avatar
    1 posts
    Member since:
    Jul 2008

    Posted 19 Aug 2008 Link to this post

    Hy, I have the same problem.

    I'm also using your example but does work only for first level.

    Can you help me?

    this is my code

    Dim

    myNode As RadTreeNode = RadTreeView1.FindNodeByValue(Request("parameter"))

    If Not myNode Is Nothing Then

    myNode.Selected = True

    While Not myNode.ParentNode Is Nothing

    myNode.ParentNode.Expanded =

    True

    myNode = myNode.ParentNode

    End While

    End If

  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 22 Aug 2008 Link to this post

    Hi Roberto,

    Please try with the latest version and if you still experience the problems - open a new support ticket and attach a sample project there.

    Maybe Request("parameter") does not return a value which is equal to a value of any node?

    Kind regards,
    Veskoni
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Omarr
    Omarr avatar
    1 posts
    Member since:
    Sep 2008

    Posted 15 Sep 2008 Link to this post

    its not working..:(
  7. Clayton Garrett
    Clayton Garrett avatar
    5 posts
    Member since:
    Sep 2005

    Posted 16 Sep 2008 Link to this post

    Hey man,

    We're you ever able to figure this out?  I'm trying to automatically select and expand a node on page load.

    Thanks,
    Jason
  8. Omarr
    Omarr avatar
    24 posts
    Member since:
    Sep 2008

    Posted 19 Sep 2008 Link to this post

    it is working..but the problem is that the search is case sensitive..any idea how to resolve it?
  9. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 22 Sep 2008 Link to this post

    Hi Omarr,

    FindNodeByValue is case sensitive by design. You can write your own method which would traverse all nodes and perform case search match for the specified value.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Omarr
    Omarr avatar
    24 posts
    Member since:
    Sep 2008

    Posted 23 Sep 2008 Link to this post

    Well, I have written the code now and its working great. But don't you think FindNodeByText() is useless if it is a case sensitive function?
  11. Sam Kaplan
    Sam Kaplan avatar
    6 posts
    Member since:
    Mar 2006

    Posted 16 Nov 2009 Link to this post

    FindNodeByValue only works for the first level of nodes for me.  I load my whole tree and then use FindNodeByValue and it can only find nodes on the first level.  Case sensitivity shouldn't be an issue for me as my values are all unquie integers???  Is this still a bug?
  12. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 19 Nov 2009 Link to this post

    Hi Sam Kaplan,

    I suppose you are searching among the Nodes collection of the tree (which are the root nodes only), e.g.

    RadTreeView1.Nodes.FindItemByValue("test") will search only in the root nodes.

    To search among all items use this:

    RadTreeView1.FindItemByValue("test") - this will search all nodes

    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  13. Sam Kaplan
    Sam Kaplan avatar
    6 posts
    Member since:
    Mar 2006

    Posted 19 Nov 2009 Link to this post

    That was my mistake.  Thank you!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017