Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
RadButton1_Click(
object
sender, EventArgs e)
{
string
[] child =
new
[50];
[] parent =
int
i = 0, j = 0;
foreach
(RadTreeNode node
in
RadDropDownTree1.EmbeddedTree.Nodes)
parent[j] = node.Text;
j++;
if
(node.GetAllNodes().Count != 0)
(RadTreeNode subnode
node.GetAllNodes())
child[i] = subnode.Text;
i++;
}
Selectedtext = RadDropDownTree1.SelectedText;
Selectedvalue = RadDropDownTree1.SelectedValue;