In treeview1, I have Specialty as grandparent, Agriculture as parent, Food as child. I want when I click on grandparent, it will display grandparent as grandparent in a text
In a textbox.
Hi dnnyobi,
Use TreeView AfterSelect event and get the value using e.Node.Text.
Refer below link for example.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.