Click or drag to resize
KaxSchedulerContextMenu Class
A context menu control used with the KaxScheduler control.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      System.Web.UI.WebControlsBaseDataBoundControl
        System.Web.UI.WebControlsDataBoundControl
          KaxDataBoundControl
            Kettic.AspNet.ControlsControlItemContainer
              Kettic.AspNet.ControlsHierarchicalControlItemContainer
                Kettic.AspNet.ControlsKaxMenu
                  Kettic.AspNet.ControlsKaxContextMenu
                    Kettic.AspNet.ControlsKaxSchedulerContextMenu

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class KaxSchedulerContextMenu : KaxContextMenu, 
	IMarkableStateManager, IStateManager

The KaxSchedulerContextMenu type exposes the following members.

Constructors
  NameDescription
Public methodKaxSchedulerContextMenu
Top
Properties
  NameDescription
Public propertyOnClientItemClicked
OnClientItemClicked is not available for KaxSchedulerContextMenu. Use the OnClientContextMenuItemClicked property of KaxScheduler instead.
(Overrides KaxMenuOnClientItemClicked.)
Public propertyOnClientItemClicking
OnClientItemClicking is not available for KaxSchedulerContextMenu. Use the OnClientContextMenuItemClicking property of KaxScheduler instead.
(Overrides KaxMenuOnClientItemClicking.)
Public propertyOnClientShowing
OnClientShowing is not available for KaxSchedulerContextMenu. Use the OnClientContextMenuShowing property of KaxScheduler instead.
(Overrides KaxContextMenuOnClientShowing.)
Public propertyOnClientShown
OnClientShown is not available for KaxSchedulerContextMenu. Use the OnClientContextMenuShown property of KaxScheduler instead.
(Overrides KaxContextMenuOnClientShown.)
Top
Remarks

The KaxSchedulerContextMenu object is used to assign context menus to KaxScheduler appointments. Use the AppointmentContextMenus property to add context menus for a KaxScheduler object.

Use the ContextMenuID property to assign specific context menu to a given KaxTreeNode.

Examples
The following example demonstrates how to add context menus declaratively
<kettic:KaxTreeView ID="KaxTreeView1" runat="server">
  <ContextMenus>
    <kettic:KaxTreeViewContextMenu ID="ContextMenu1">
      <Items>
        <kettic:KaxMenuItem Text="Menu1Item1"></kettic:KaxMenuItem>
        <kettic:KaxMenuItem Text="Menu1Item2"></kettic:KaxMenuItem>
      </Items>
    </kettic:KaxTreeViewContextMenu>
    <kettic:KaxTreeViewContextMenu Skin="Outlook" ID="ContextMenu2">
      <Items>
        <kettic:KaxMenuItem Text="Menu2Item1"></kettic:KaxMenuItem>
        <kettic:KaxMenuItem Text="Menu2Item2"></kettic:KaxMenuItem>
      </Items>
    </kettic:KaxTreeViewContextMenu>
  </ContextMenus>
  <Nodes>
    <kettic:KaxTreeNode Text="Node1" ContextMenuID="ContextMenu2">
      <Nodes>
        <kettic:KaxTreeNode Text="Node11" ContextMenuID="ContextMenu2"></kettic:KaxTreeNode>
        <kettic:KaxTreeNode Text="Node12" ContextMenuID="ContextMenu2"></kettic:KaxTreeNode>
      </Nodes>
    </kettic:KaxTreeNode>
    <kettic:KaxTreeNode Text="Node2" ContextMenuID="ContextMenu2">
      <Nodes>
        <kettic:KaxTreeNode Text="Node21" ContextMenuID="ContextMenu2"></kettic:KaxTreeNode>
        <kettic:KaxTreeNode Text="Node22" ContextMenuID="ContextMenu2"></kettic:KaxTreeNode>
      </Nodes>
    </kettic:KaxTreeNode>
  </Nodes>
</kettic:KaxTreeView>
See Also