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)
Version: 3.5.2.0
Syntax
Visual Basic (Declaration) |
---|
Public Event EventMenuClick As EventMenuClickEventHandler |
C# |
---|
public event EventMenuClickEventHandler EventMenuClick |
Visual C++ |
---|
public: event EventMenuClickEventHandler^ EventMenuClick { void add (EventMenuClickEventHandler^ value); void remove (EventMenuClickEventHandler^ value); } |
Remarks
It is an AJAX callback method.
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.
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.