Solved

How To Turn Off TreeNode Hyperlink...?

Posted on 2009-04-15
2
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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