Thursday, April 26, 2007

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

Share:

0 comments:

Post a Comment

Your feedback is very important to me. Please provide your feedback via putting comments.

About Me
My Photo

Full Stack Developer,Blogger,Microsoft Mvp, Mentor, Life long learner, 10+ Years of Experience for JavaScript, web and Microsoft technologies. ASP.NET MVC,Web Forms,C#,AngularJs,Golang
Mvp profile
Subscribe to my blog

Enter your email address:

Follow us on facebook
Blog Archive
Total Pageviews