Solved

How To Turn Off TreeNode Hyperlink...?

Posted on 2009-04-15
2
366 Views
Last Modified: 2013-11-07
I just got my TreeNode working with my data properly.  Now I just noticed that all my nodes are Hyperlinks be default, allowing the user to click them.  How can I turn the Hyperlink on all the nodes off?

I check the NavigateURL property on each node, they are set to a null string by default.  I never change the value.  Although for testing I did try setting to Nothing, that didn't work either.

Help!
0
Comment
Question by:Ben Santiardo
2 Comments
 
LVL 10

Accepted Solution

by:
JPJ78 earned 500 total points
ID: 24147480
Try....

<Nodes>
    <asp:TreeNode SelectAction="None" />
</Nodes>

0
 

Author Closing Comment

by:Ben Santiardo
ID: 31570397
Thank you!  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now