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

I want Root node , child node only selected value's individual [ with out array format & check box] of Rad drop down tree server said code

2 Answers 81 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
NA
Top achievements
Rank 1
NA asked on 25 Jan 2014, 08:11 AM
I want Root node , child node only  selected value's individual [ with out array format & check box] of Rad drop down tree  server said code

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Jan 2014, 10:18 AM
Hi,

I guess you want to access the root node of selected child node. Please have a look into the following code snippet.

C#:
protected void RadDropDownTree1_EntryAdded(object sender, Telerik.Web.UI.DropDownTreeEntryEventArgs e)
{
    string path = e.Entry.FullPath;
    string[] words = path.Split('/');
    string root;
    if(words.Length>1)
        root=words[0]; // root node
}

Please elaborate your requirement if it doesn't help.
Thanks,
Princy.
0
Kate
Telerik team
answered on 27 Jan 2014, 11:10 AM
Hi Shruthi,

I would also suggest that you refer to our on-line documentation where you can find more examples of how to manipulate the control to get the needed functionality - http://www.telerik.com/help/aspnet-ajax/dropdowntree-accessing-embedded-tree.html

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
DropDownTree
Asked by
NA
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Kate
Telerik team
Share this question
or