This event is fired when a user selects context menu item where the MenuItem.Action is set to PostBack or CallBack.
Namespace: DayPilot.Web.UiAssembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.0)
Syntax
C# |
---|
public event EventMenuClickEventHandler EventMenuClick |
Visual Basic |
---|
Public Event EventMenuClick As EventMenuClickEventHandler |
Visual C++ |
---|
public: event EventMenuClickEventHandler^ EventMenuClick { void add (EventMenuClickEventHandler^ value); void remove (EventMenuClickEventHandler^ 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.