CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
Explore    Item Entry    Members   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/7/2007 9:36:24 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 6 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
voywoda
Asp.Net User
remove links from treeview8/7/2007 9:36:24 AM

0/0

Hi,

I have a problem with a treeview. I want to have a tree which contains only nodes with plain text, not with links. But asp.net automatically creates nodes with links.

How can I solve this?

thanks

johram
Asp.Net User
Re: remove links from treeview8/7/2007 10:38:03 AM

0/0

This cannot easily be achieved server-side. IMHO, the built-in TreeView component is very limited unless you want a "school book" example with very little data in it. But you can go through the tree client-side (by traversing the DOM) and remove the links. But that's over course.


If this post was useful to you, please mark it as answer. Thank you!
Amanda Wang - M
Asp.Net User
Re: remove links from treeview8/9/2007 10:41:20 AM

0/0

Hi,

If you bound NavigateUrl property to it's nodes, the Node would always clickable.

But if you don't not bind its data from datasource, and do not indicate the NavigateUrl properties, just set the node's SelectAction property will be ok.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
tbilisi
Asp.Net User
Re: remove links from treeview8/17/2007 4:01:10 PM

0/0

Hi,

Did anyone find a better way than setting NavigationUrl to "#" ??

I am faced with this issue and would like to have a better solution than "#" option.

 

Thanks, germane.

4 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Tree View, Saving State & Using node links as expand and collapse ... Tree View, Saving State &amp; Using node links as expand and collapse, > ROOT > ... In addition, I would like to remove the expand/collapse buttons on the side of ...
TreeView Collapse and Expand Dynamically - newsgroup.asp-net-forum ... remove these lines. If (e.Node.Depth = 1) Then. End If. mpaterson. Asp.Net User ... It should be like this for Contacts, Links, Files...
obout inc - Free ASPTreeView - Remove all Children Free ASP Treeview - Incredibly fast. Unlimited nodes. Very easy to use. Lots of features and ... Quick links. TreeView. Examples. Documentation ...
obout inc - Free ASPTreeView - Add/remove nodes example Free ASP Treeview - Incredibly fast. Unlimited nodes. Very easy to use. Lots of features and examples. ... Quick links. TreeView. Examples. Documentation ...
FUDforum: How To => How do I remove user profile links? Home " FUDforum " How To " How do I remove user profile links? ... Threadt I assume is for threaded tree view which is the view we are using by ...
DiscusWare Support Forum: Removing/replacing links Tree View. Moderators. Search. Help. Register. Edit Profile. Member List. New Posts: 1 | 3 | 7 days ... But, I need to know how to remove it from the other site. Loki ...
TreeView Control (Windows Forms) Gives instructions for adding and remove nodes from a tree view. ... TreeView class. Describes this class and has links to all its members. Related Sections ...


 
All Times Are GMT