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

RadTreeView

4 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Natasha
Top achievements
Rank 1
Natasha asked on 12 Dec 2011, 12:56 PM
Hi.
My control, radtreeview, doesn’t provide the method FindNode.
Any idea???

4 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 12 Dec 2011, 06:25 PM
Hello Natasha,

I'm sorry you are running into this problem. You are not able to use the FindNode method, as well as the other build-in RadTreeView methods, because you need to get a reference to the RadTreeView object first. Please use the following code:    
RadTreeView rtv = Pages.CM.SilverlightApp.LookupTreeRadtreeview;
rtv.FindNode(this.val);

If you need further assistance on this, please let me know! 

Best wishes,
Plamen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Natasha
Top achievements
Rank 1
answered on 12 Dec 2011, 07:47 PM
Hi,
Thank you.
I have similar problem with a Textblock.
The command "Find.ByTextContent" is not able to find the object.

TextBlock rtv = new TextBlock();
rtv.Find.ByTextContent("Back-End");
rtv.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 0, 0, ArtOfTest.Common.OffsetReference.AbsoluteCenter, ArtOfTest.Common.ActionPointUnitType.Percentage);
0
Accepted
Plamen
Telerik team
answered on 14 Dec 2011, 12:50 PM
Hello Natasha,

Please try the following code and it should work as expected.
RadTreeView rtv = Pages.CM.SilverlightApp.LookupTreeRadtreeview;
TextBlock tb = rtv.Find.ByTextContent("Back-End").As<TextBlock>();
tb.User.Click();


Best wishes,
Plamen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Natasha
Top achievements
Rank 1
answered on 14 Dec 2011, 01:27 PM
Thank you
Tags
General Discussions
Asked by
Natasha
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Natasha
Top achievements
Rank 1
Share this question
or