Defines the fluent API for configuring the Kendo UI Scheduler for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SchedulerEventBuilder : EventBuilder
Inheritance: objectEventBuilderSchedulerEventBuilder
Inherited Members
Constructors
Initializes a new instance of the SchedulerEventBuilder class.
public SchedulerEventBuilder(IDictionary<string, object> events)
The Scheduler event handlers.
Methods
Defines the handler of the Add client-side event. Fired when a new event is about to be added.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Add(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Add client-side event. Fired when a new event is about to be added.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Add(string handler)
The name of the JavaScript function that will handle the Add event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Cancel client-side event. Fired when the user cancels editing by clicking the "cancel" button.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Cancel(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Cancel client-side event. Fired when the user cancels editing by clicking the "cancel" button.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the Cancel event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Change client-side event. Fired when the user selects a cell or event in the scheduler.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Change client-side event. Fired when the user selects a cell or event in the scheduler.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder DataBinding(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the DataBinding event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Edit client-side event. Fired when the user opens a scheduler event in edit mode by or creates a new event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Edit(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Edit client-side event. Fired when the user opens a scheduler event in edit mode by or creates a new event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the Edit event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Scheduler is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Scheduler is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Move client-side event. Fired when the user is moving an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Move(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Move client-side event. Fired when the user is moving an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Move(string handler)
The name of the JavaScript function that will handle the Move event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the MoveEnd client-side event. Fired when the user stops moving an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder MoveEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the MoveEnd client-side event. Fired when the user stops moving an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder MoveEnd(string handler)
The name of the JavaScript function that will handle the MoveEnd event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the MoveStart client-side event. Fired when the user starts to drag an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder MoveStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the MoveStart client-side event. Fired when the user starts to drag an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder MoveStart(string handler)
The name of the JavaScript function that will handle the MoveStart event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Navigate client-side event. Fired when the user changes the selected date, selected Scheduler view or switches between show full day and show business hours.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Navigate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Navigate client-side event. Fired when the user changes the selected date, selected Scheduler view or switches between show full day and show business hours.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Navigate(string handler)
The name of the JavaScript function that will handle the Navigate event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public SchedulerEventBuilder PdfExport(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public SchedulerEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Remove client-side event. Fired when the user performs "destroy" action.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Remove(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Remove client-side event. Fired when the user performs "destroy" action.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Resize client-side event. Fired when the user is resizing an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Resize(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Resize client-side event. Fired when the user is resizing an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Resize(string handler)
The name of the JavaScript function that will handle the Resize event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the ResizeEnd client-side event. Fired when the user releases the mouse after resizing an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder ResizeEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the ResizeEnd client-side event. Fired when the user releases the mouse after resizing an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder ResizeEnd(string handler)
The name of the JavaScript function that will handle the ResizeEnd event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the ResizeStart client-side event. Fired when the user starts to resize an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder ResizeStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the ResizeStart client-side event. Fired when the user starts to resize an event.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder ResizeStart(string handler)
The name of the JavaScript function that will handle the ResizeStart event.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Save client-side event. Fired when the user saves a scheduler event by clicking the "save" button.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Save(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SchedulerEventBuilder .
Defines the handler of the Save client-side event. Fired when the user saves a scheduler event by clicking the "save" button.The event handler function context (available via the this keyword) will be set to the widget instance.
public SchedulerEventBuilder Save(string handler)
The name of the JavaScript function that will handle the Save event.
Returns:Returns the current instance of SchedulerEventBuilder .