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

The Menu server control calls a menu to be displayed on a page. Using the Menu server control, you can manipulate a menu by using the DisplayXslt property.

C#
[DefaultProperty("DefaultMenuID"), ToolboxData("<{0}:Menu runat=server></{0}:Menu>"), PersistChildren(true)]
public class Menu : EkXsltBase;
Visual Basic
<DefaultProperty("DefaultMenuID"), ToolboxData("<{0}:Menu runat=server></{0}:Menu>"), PersistChildren(true)>
Public Class Menu
Inherits EkXsltBase

Menu.cs

Name 
Description 
The methods of the Menu class are listed here. 
The properties of the Menu 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.  
 
Wrap 
Method that can overridden and be used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
Sets the amount of time the server control’s data is cached. The default is 0 (zero). 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).  
 
Gets or Sets the Default MenuID for this Control.  
 
The Xslt to use to render the Menu (optional)  
 
The parameter to query for a Dynamic Menu.  
 
Specify the style sheet relative to site root. Leave blank for default.  
 
Setting this property to True caused the menu to hide the Add and Edit buttons for the menu. It is defaulted to false.  
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!