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