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, ...DNN Nav Menu - Once and for all...DNN Nav Menu - Once and for all...
Previous
 
Next
New Post
9/19/2009 6:33 PM
 

I've read this aleady (several times) but it's still a beta document for a control that has been released and seems to be incomplete.  For example the property ExpandDepth is available in the control, and setting it to 0 will surpress the drop down menu for the non active tabs (root tabs in this case) but the active tab still shows the drop down children.  Is this just a bug?

This is simple stuff but I've spend days on it just trying out different combinations and Googling property names.  There should be documentation and examples available. 



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
9/19/2009 6:35 PM
 

GR wrote

How were you able to achieve hiding submenus?

 

GR, the ExpandDepth property set to 0 will surpress the submenus on everything EXCEPT the active tab.  It doesn't seeem to work across the entire menu at all:

 

        <dnn:NAV runat="server" id="dnnNAV"
                ProviderName="DNNMenuNavigationProvider"
                IndicateChildren="false"
                ControlOrientation="Horizontal"
                CSSNodeRoot="main_dnnmenu_rootitem"
                CSSNodeHoverRoot="main_dnnmenu_rootitem_hover"
                CSSNodeSelectedRoot="main_dnnmenu_rootitem_selected"
                CSSBreadCrumbRoot="main_dnnmenu_rootitem_selected"
                CSSContainerSub="main_dnnmenu_submenu"
                CSSNodeHoverSub="main_dnnmenu_itemhover"
                CSSNodeSelectedSub="main_dnnmenu_itemselected"
                CSSContainerRoot="main_dnnmenu_container"
                CSSControl="main_dnnmenu_bar"
                CSSBreak="main_dnnmenu_break"
                Level="Root"
                ExpandDepth="0">

           <CustomAttributes>
                <dnn:CustomAttribute Name="RenderMode" Value="UnorderedList" />
           </CustomAttributes>   
           </dnn:NAV>



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
9/19/2009 6:37 PM
 

what is pretty frusting is that we're left guessing as to what "might" work, if it's even supported or if there is a bug in the control.  This is a pretty active thread and a VERY basic function for DNN.  Can we get a little advice from the control provider author here? 



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
9/19/2009 7:00 PM
 

Just to see if I could find a bug I started looking at the nav.ascx.vb code.  I can't find any property settings for ExpandLevel but I did find this:

                'Dim blnRootOnly As Boolean = Boolean.Parse(GetValue(RootOnly, "False"))                'This setting determines if the submenu will be shown

Trouble is that it's comment out.  What is going on here?  Is this new menu ready for production?

 



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
9/20/2009 11:14 AM
 

Received a working resolution here:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/109/postid/331112/scope/posts/Default.aspx



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Nav Menu - Once and for all...DNN Nav Menu - Once and for all...


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