This event is fired when a user selects context menu item where the MenuItem.Action is set to PostBack or CallBack.

Namespace: DayPilot.Web.Ui
Assembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.0)

Syntax

C#
public event TaskMenuClickEventHandler TaskMenuClick
Visual Basic
Public Event TaskMenuClick As TaskMenuClickEventHandler
Visual C++
public:
 event TaskMenuClickEventHandler^ TaskMenuClick {
	void add (TaskMenuClickEventHandler^ value);
	void remove (TaskMenuClickEventHandler^ value);
}

Remarks

It is called when a user selects context menu item where the MenuItem.Action is set to PostBack or CallBack. In the custom event handler you should decide whether the action is allowed. If so, update the persistent data storage (such as a database), call DataBind() and Update(). After calling Update() the events will be updated on the client-side.

See Also