PushCode
PushCode

Reputation: 1439

How to disable/remove click event on asp.net tree view parent nodes?

I have a tree view in my aspx page with one level of child nodes. I want to disable the click on just the parent node of the tree view and its child nodes still be clickable. How can I disable click event just on the parent node. Is there a way to do this in c# or in java script?

Upvotes: 1

Views: 3182

Answers (1)

Rajeev Mehta
Rajeev Mehta

Reputation: 820

check out the below link

remove Hyperlink from ASP.NET TreeView Nodes Control Nodes

hope this helps you.

Upvotes: 2

Related Questions