Traditional context menu allowing user to select items associated with another element or when right clicking on a page. It has a
WebService enabled sibling (WSContextMenu) that can bind directly to a server to load data dynamically.
Also see how the context menu can be used with TreeView and WSTreeView
here.
Fit.Events.AddHandler(document, "contextmenu", function(e)
{
var ctx = new Fit.Controls.ContextMenu();
ctx.AddChild(new Fit.Controls.ContextMenu.Item("Create user", "USER"));
ctx.AddChild(new Fit.Controls.ContextMenu.Item("Create page", "PAGE"));
ctx.AddChild(new Fit.Controls.ContextMenu.Item("Create form", "FORM"));
ctx.OnSelect(function(sender, item)
{
alert("Title: " + item.Title() + "Value:" + item.Value());
ctx.Hide();
});
ctx.Show();
Fit.Events.PreventDefault(e);
});