You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > FlexMenu Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
FlexMenu Class

The FlexMenu server control displays a menu on a Web form. Although it looks and acts like a Smart Menu, its architecture is substantially different. Specifically, a FlexMenu creates XML. So, you can modify its behavior using an XSLT file, and change its appearance using a cascading style sheet (.css) file.

C#
public class FlexMenu : Ektron.Cms.Controls.Menu;
Visual Basic
Public Class FlexMenu
Inherits Ektron.Cms.Controls.Menu

FlexMenu.cs

Name 
Description 
The methods of the FlexMenu class are listed here. 
The properties of the FlexMenu class are listed here. 
 
Name 
Description 
 
Fill 
Calls up the database and updates the contents of the Menu if the data is out of sync with the specified parameters.  
 
Marks the Control to call the database since output-dependent parameters have been changed.  
 
Name 
Description 
 
Set to True to automatically close other menu branches when a new one is opened.  
 
Sets the amount of time in seconds that the FlexMenus' data is cached. The default is 600 (10 minutes). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).  
 
Sets the amount of time in seconds that the FlexMenus' data is cached for an authenticated user. The default is 600 (10 minutes). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheIntervalAuthenticated property to 300 (three hundred).  
 
The Xslt used to render the Menu.  
 
Set to true to enable Ajax, which only downloads sub-menus as needed.  
 
Set to True and the submenus appear as soon as the cursor moves over them.  
 
When true, menu will auto-open to show matching IDs or folder associations.  
 
Set to enable auto-submenu opening based on link match (if all else fails).  
 
Set to enable auto-submenu opening based on a template filename match (if all else fails).  
 
Set to true to enable logging verbose info to the event log (such as information on reasons for menu selection), must set web.config LogLevel to verbose.  
 
If this control is a slave Flex menu, enter the ID of the master Flex menu control. Otherwise, leave blank.  
 
To let site visitors browse through all menu levels, enter zero (0). To restrict site visitors to a menu level, enter the number of the lowest level.  
 
Set to True to initially render menu with submenus closed.  
 
Enter a number to indicate the level at which you want this menu to display when it first appears. To begin the menu display at the root level, enter zero (0).  
 
The Style-Sheet to use for rendering the Menu (optional).  
 
If system id using manual aliasing, and the aliased menu item does not get selected due to external link that generates a URL which contains the real path and ID, setting this true will force first matching menu item ID to be selected.  
 
XmlDocument used in this control.  
 
Xslt used in this control.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!