Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...TreeMenu Child Node IndentationTreeMenu Child Node Indentation
Previous
 
Next
New Post
2/7/2007 9:27 AM
 
When the child node wraps, because of length, I need it to indent to line up with the beginning of the node on the previous line.  It currently lines up as far left as possible, where the images, to the left of the parent nodes, begin.  Does anybody have any insight on this?
 
New Post
2/7/2007 1:37 PM
 

I am not sure if there is a method of doing what you are after. But how about giving a linebreak < br> to force it yourself.

Salar

 
New Post
2/7/2007 3:36 PM
 

Below is an example of my problem.  The Child Node wraps because of it length, and I need it to line up with itself (indent) rather than as far left as possible.

> Parent Node
     > Child Node
          > Child Node That
Wraps Because of Length

Does anybody have any ideas?

 
New Post
2/7/2007 4:38 PM
 

 

A few months back I did have a project on this, It does take a lot of time playing with the controls available. I did not have to fix your issue though. But I got close to what my client needed.

[TREEVIEWMENU]
BodyCssClass
 
Css class for the body of the treeview menu
 
CssClass
 
Css class for the treeview control
 
HeaderCssClass
 
Css class for the header
 
HeaderTextCssClass
Head
Css class for the header text
 
HeaderText
 
Text for the header of the tree menu
 
IncludeHeader
True
 
 
Level
 
Indicates the root level of the tree menu (blank = root) [parent|child|same]
 
NodeChildCssClass
Normal
Css class for a child node
 
NodeClosedImage
folderclosed.gif
Image for a closed (not in current breadcrumbs but has children) node
 
NodeCollapseImage
min.gif
Image to shown that will activate a collapse of the menu node
 
NodeCssClass
Normal
Css class for the nodes
 
NodeExpandImage
max.gif
Image to shown that will activate an expansion of the menu node
 
NodeLeafImage
file.gif
Image used for a “leaf” node (no children)
 
NodeOpenImage
folderopen.gif
Image for a opened (in current breadcrumbs and has children) node
 
NodeOverCssClass
Normal
Css class for a node on mouseover
 
NodeSelectedCssClass
Normal
Css class for the selected node
 
NoWrap
false
Replaces spaces in the text of the node with non breaking spaces
 
ResourceKey
 
Resource Key to localize the Title text. If blank Text property will be used
 
RootOnly
false
Show only the root menu (no children)
 
TreeCssClass
 
Css class for the tree
 
TreeGoUpImage
folderup.gif
Image to go up a level on the tree
 
TreeIndentWidth
10
Addition width to indent each tree level
 
Width
100%
With of tree control
 
 
New Post
2/7/2007 4:54 PM
 
Yes, I am familiar with the table provided, laying out the CSS available for the TreeMenu control.  I have come across it several times in both the DNN documentation, and the book published by Wrox.  It, however, does not answer my question, which is what brought me to this forum.  Does anybody know how to get the child node to line up with itself when it wraps because of length?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...TreeMenu Child Node IndentationTreeMenu Child Node Indentation


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out