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...Administration ...Administration ...DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level.DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level.
Previous
 
Next
New Post
9/19/2008 1:36 PM
 

Hi,

I noticed that the DNN:NAV no longer accept RootOnly="True/Fasle" and being replaced by these:

StartTabId = -1
ExpandDepth = 1
PopulateNodesFromClient = False

Question 1 solved. But How do we show Root+Sub Menu together? Can anyone help?

So far, I've tried this combinations but not sure where goes wrong:

PopulateNodesFromClient="False"
StartTabId ="-1"
intDepth="2"

...Can anyone explain a bit on these also? :

Populate On Demand Filtering

For Populate On Demand (POD) we primarily care about a single parameter: intDepth.
This parameter determines how many levels at a time each POD request will fetch. If
a -1 is passed (as is the case of you have your usercontrol’s PopulateNodesFromClient set
to False)
the entire node collection will be sent down. Inside the GetNavigationNodes
method prior to adding a child node the following function is invoked.


This function is responsible for determining if the node should be added to the
collection of if its parent should be marked as having a pending node (HasNodes = True).
The equation for determining this is pretty straightforward.
1. If CurrentNodeLevel – RootNodeLevel <= intDepth Then the node should be
added.
2. If Node is already part of the breadcrumbs then the node should be added.
3. Finally if The Parent node is part of the breadcrumb and it is not the last
breadcrumb then add the node.
4. Otherwise, mark the node as pending.

Your help on this is very much appreciated. Thank You.

George
 


Thanks,
George

Where to eat? Visit GoEatOut for Food Promotion in Kuala Lumpur.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level.DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level.


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