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, ...Customizing a treeviewmenuCustomizing a treeviewmenu
Previous
 
Next
New Post
1/15/2008 11:09 AM
 

Hi all,

i'm having lot of trobule with a treeivewemenu belonging to the DNN WebControls.

I'm trying to modify its settings because i'd like the menu to be unrolled (crawled?)  when the page is loaded.

In normal condition, root elements are collapsed and its child are hidden, instead i would like they are directly shown at the page loading.

Thanks for your replies....

 

 
New Post
1/15/2008 12:28 PM
 

The treeview control automatically detects when a crawler is looking at the site and renders with all elements expanded.

When detected the IsCrawler property is set to true.  To see the difference have a look at this sample and click the iscrawler checkbox.

Of course if you think that the automatic check is not adaquate you can always set the property yourself.

 


 
New Post
1/16/2008 4:12 AM
 

Thanks for the reply...

I'm new to dnn and i can't get the IsCrawled property...i'm using the version 04.05.03  of dnn:

in my ascx file i can't set the property

<%@ Register TagPrefix="dnn" TagName="TREEVIEW" Src="~/Admin/Skins/treeviewmenu.ascx" %>

...later in the code:

<dnn:TREEVIEW
                        runat="server" ID="LateralTreeMenu" Level="same"
                        NodeChildCssClass = "nodeChild"   CSSNodeHoverSub = "nodeChildHover"   CSSNodeRoot = "nodeRoot" CSSNodeHoverRoot = "nodeRootHover"
                        IsCrawler = "true" ForceCrawlerDisplay="true" >
</dnn:TREEVIEW>

As you can see, the only property i can can set is " ForceCrawlerDisplay="true" ", instead if i write " IsCrawler = "true" ", the IDE underlines it as an error and i see no effects when i run my portal in localhost...

I'm trying to set the property by myself inside the " treeviewmenu.ascx.vb " file, but i can't (I'm not a vb developer).

Any idea?

Thanks a lot for any reply.

 

 

 
New Post
1/17/2008 10:43 AM
 

No ideas?

My goal is to customize a treeviewmenu in order to obtain a lateral menu this way:

- the child elements are shown (not the default for a treeiewmenu, where they are hidden and i must press trhe '+' to show them) at the page_load

- (possibly) the child should be aligned with the the root (and not shifted to right respect it)

thanks

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Customizing a treeviewmenuCustomizing a treeviewmenu


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