Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level.
Previous Previous
 
Next Next
New Post 9/19/2008 11:36 AM
Unresolved
Online now... Innochannel
37 posts
10th Ranked


DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level. 

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
 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  DNN4.9 DNN Menu Controls. Show only Root and Show Root and Sub in One Level.
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP