11 Answers, 1 is accepted
0
Accepted
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
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
0
Roberto Ascione
Top achievements
Rank 1
answered on 19 Aug 2008, 10:36 AM
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
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
0
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.
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.
0
Omarr
Top achievements
Rank 1
answered on 15 Sep 2008, 07:41 PM
its not working..:(
0
Clayton Garrett
Top achievements
Rank 1
answered on 16 Sep 2008, 02:56 PM
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
We're you ever able to figure this out? I'm trying to automatically select and expand a node on page load.
Thanks,
Jason
0
Omarr
Top achievements
Rank 1
answered on 19 Sep 2008, 06:56 PM
it is working..but the problem is that the search is case sensitive..any idea how to resolve it?
0
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.
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.
0
Omarr
Top achievements
Rank 1
answered on 23 Sep 2008, 02:49 PM
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?
0
Sam Kaplan
Top achievements
Rank 1
answered on 16 Nov 2009, 09:17 PM
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?
0
Accepted
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.
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.
0
Sam Kaplan
Top achievements
Rank 1
answered on 19 Nov 2009, 02:33 PM
That was my mistake. Thank you!