RadTreeView

5 posts, 1 answers
  1. Natasha
    Natasha avatar
    21 posts
    Member since:
    Jun 2011

    Posted 12 Dec 2011 Link to this post

    Hi.
    My control, radtreeview, doesn’t provide the method FindNode.
    Any idea???
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 12 Dec 2011 Link to this post

    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
  3. Natasha
    Natasha avatar
    21 posts
    Member since:
    Jun 2011

    Posted 12 Dec 2011 Link to this post

    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);
  4. Answer
    Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 14 Dec 2011 Link to this post

    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
  5. Natasha
    Natasha avatar
    21 posts
    Member since:
    Jun 2011

    Posted 14 Dec 2011 Link to this post

    Thank you
Back to Top