Click or drag to resize

ContextMenu Class

Represents a context menu.
Inheritance Hierarchy
System.Web.UIControl
  Dynamicweb.ControlsContextMenu

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
[DefaultPropertyAttribute("Text")]
public class ContextMenu : Control, 
	IResourceLoader

The ContextMenu type exposes the following members.

Constructors
  NameDescription
Public methodContextMenu
Initializes a new instance of the ContextMenu class
Top
Properties
  NameDescription
Public propertyMaxHeight
Gets or sets the maximum height of the context-menu.
Public propertyOnClientSelectView
Gets or sets the client-side script that is executed when view selection is performed.
Public propertyOnHide
Gets or sets the client-side script that will be executed after context-menu becomes invisible.
Public propertyOnShow
Gets or sets the client-side script that will be executed after context-menu is shown.
Public propertyTranslate
Specifies wether the button texts of this contextmenu should be translated.
Public propertyWidth
Sets a fixed width of the contextmenu.
Top
Methods
  NameDescription
Protected methodControl_OnLoad
Handles context menu "OnLoad" event.
Public methodStatic memberGetContextMenuAction(String, String)
Retrieves a Javascript handler which displays the Contextmenu.
Public methodStatic memberGetContextMenuAction(String, String, String)
Retrieves a Javascript handler which displays the Contextmenu.
Public methodStatic memberGetContextMenuAction(String, String, String, ContextMenuPosition)
Retrieves a Javascript handler which displays the Contextmenu.
Public methodLoadResources
Protected methodRender
Renders context menu.
Top
Remarks