Turn off Link on Parent Node in asp:TreeView control

Hi All,

I've built a treeview control, programmatically adding the nodes in the code behind, all is fantastic, however my Parent Nodes are showing as hyperlinks (blue with the pointer cursor) this is fine for the children as they are links, but the parents aren't, I've set no NavigateUrl or Value, they are just category headings if you will.

Is there a way I can stop them being hyperlinks? If you click them they just do a postback, that's not what I want at all!!

Thanks and Regards
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wooderzAuthor Commented:
No need to worry, I changed the SelectAction to Expand and now this behaviour will do nicely. Thanks

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.