Controls the text and design of each item used in the Context Menu. This is literally what is displayed and is not dynamic. The text used will be shown to the user when the user right mouse clicks on an item.
The text to display in the context menu.
The value used for the context menu item.
The width of each context menu, measured in points.
The HEX background color of each context menu item.
The HEX font color of each context menu item.
The HEX border color of each context menu item.
The border style used for each context menu item.
The border width of each context menu item, measured in points.
The HEX font color of each context menu item.
The CSS class style used when a context menu item is clicked on.
The Image URL used to indicate that an item has been clicked.
The CSS class style used when an item is disabled.
The Image URL used when an item is disabled.
ExpandedCssClass
The CSS
class style to used when an item is expanded.
The URL to the image used when an item is expanded.
The CSS class style to use when the item is clicked on.
The height of the context menu item, measured in points.
The URL of the image to use when an context menu item is hovered over.
The URL of the image to use in the context menu.
The URL to navigate to when an item is clicked.
The target window, frame, or browser that will be used when an item is clicked.
The text to display when the user hovers over an item.
Example:
<c>
<cs>
<Text>I am Context Menu Item</Text>
</cs>
</c>
Controls the design of the context menu.
Gets or sets the access key that allows the user to quickly navigate to the menu.
The time it will take for a menu to collapse during mouse out, measured in milliseconds.
The minimum height to enable AutoScroll, measured in points.
The minimum width to enable AutoScroll, measured in points.
The HEX background color of each node.
The HEX border color of each node.
The border style used for each node.
The border width of each node, measured in points.
A true/false indication that the text should be bolded.
A true/false indication that the text should be italicized.
The name of the server font to be used for each node.
A true/false indication that a line should be displayed over the text.
The size of the displayed text, measured in points.
A true/false indication that the text should be struck.
A true/false indication that the text should be underlined.
A true/false indication if a context menu should open via click or hover.
The time an item will collapse when the mouse is removed from the item, measured in milliseconds.
A true/false indication if the context menu should enable Auto Scroll if the menu exceeds the browser boundaries.
A true/false indication if the context menu should over other objects on the page, such as flash.
The delay the item should be expanded after hover, measured in milliseconds.
The vertical or horizontal direction the context menu should flow.
The HEX font color of each node.
The height of each context menu item, measured in points.
• Black
• Default
• Forest
• Hay
• Office2007
• Outlook
• Simple
• Sunset
• Telerik
• Vista
• Web20
• WebBlue
The text displayed when the item is hovered over.
A true/false indication that the item should be visible
The HEX font color of each node.
A true/false indication that the item is pre-selected.
The CSS class style name to use when an item is selected.
The URL of the image to use when an item shown as selected.
The tab index order of the context menu item.
The target window, frame, or browser that will be used when an item is clicked.
A true/false indication if the item should be displayed.
The width of each context menu item, measured in points.
Example:
<c>
<cs>
<Text>I am Context Menu Item</Text>
</cs>
</c>
This contains any context menu JavaScript related to the following events:
• OnClientContextMenuItemClicked – Occurs when the user clicks a context menu item for a node.
• OnClientContextMenuItemClicking – Occurs when the user clicks a context menu item for a node before the OnClientContextMenuItemClicked event.
• OnClientContextMenuShowing – Occurs just before the context menu is displayed.
• OnClientContextMenuShown – Occurs when the context menu is displayed.
Example:
function clientContextMenuItemClicking(sender, eventArgs) {
var node = eventArgs.get_node();
var item = eventArgs.get_menuItem();
alert(item.get_text());
}