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.

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews