AspMenu.UseSimpleRendering Property
SharePoint 2010
Controls whether to use simple unordered list-based rendering or the default Microsoft ASP.NET table-based rendering.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Property Value
Type: System.Booleantrue if the menu uses simple rendering; otherwise, false. The default is false.
Breaks "DisappearAfter" attribute
Using simple rendering will break the ability to use various properties still available to SharePoint:AspMenu. Specifically:
- "DisappearAfter" attribute is not recognized -- menu will always disapear after the default time.
- "StaticDisplayLevels" and "MaximumDynamicDisplayLevels"are not recognized -- all menu items are output all the time.
- Styling attributes (i.e. StaticHoverStyle-BackColor, BackColor, etc.)
- Templating elements (i.e. StaticItemTemplate, DynamicItemTemplate, etc. )