[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

How do I set an ASP.NET TreeView node to be selected?

I hope I'm not just having a brain skip, but I can't for the life of me figure out how to set a node on a treeview to be selected by default when the page loads. Anyone have a quick answer out there?
1 Solution
whichever node you want selected put this
node.Selected = true
svcoderAuthor Commented:
Not exactly what I was looking for, but it was part of the solution.  Thanks.

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now