Get selected node from IE web controlTreeview WebControl-ASP.NET

I have search lots of pages for this but i have not found then i have tried lots of way then after that i found this amazing code.

It is very easy and simple....

tv.GetNodeFromIndex(tv.SelectedNodeIndex).Text.ToString()

here tv is name of the tree view

Comments

Popular posts from this blog

How to create Rest API(Web API) with ASP.NET Core 1.0

Creating PDF with ASP.Net MVC and RazorPDF

Solution: gulp is not recognized as internal or external command- Visual Studio