?
Solved

How To Turn Off TreeNode Hyperlink...?

Posted on 2009-04-15
2
Medium Priority
?
378 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 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