New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the Kendo TaskBoard for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the TaskBoard class.

C#
public TaskBoardEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

Defines the handler of the Change client-side event. Fired when the user changed the card order or status by dragging.

C#
public TaskBoardEventBuilder Change(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Change event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.Change("onChange"))
)

Defines the handler of the ColumnsDataBinding client-side event. Fired before the TaskBoard binds the columns' data source.

C#
public TaskBoardEventBuilder ColumnsDataBinding(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the ColumnsDataBinding event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.ColumnsDataBinding("onColumnsDataBinding"))
)

Defines the handler of the ColumnsDataBound client-side event. Fired when the TaskBoard's columns are bound to their data source.

C#
public TaskBoardEventBuilder ColumnsDataBound(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the ColumnsDataBound event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.ColumnsDataBound("onColumnsDataBound"))
)

Defines the handler of the DataBinding client-side event. Fired before the TaskBoard binds to its data source.

C#
public TaskBoardEventBuilder DataBinding(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DataBinding event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.DataBinding("onDataBinding"))
)

Defines the handler of the DataBound client-side event. Fired when the TaskBoard is bound to data from its data source.

C#
public TaskBoardEventBuilder DataBound(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DataBound event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.DataBound("onDataBound"))
)

Defines the handler of the DeleteCard client-side event. Fired when the user deletes a card.

C#
public TaskBoardEventBuilder DeleteCard(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DeleteCard event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.DeleteCard("onDeleteCard"))
)

Defines the handler of the DeleteColumn client-side event. Fired when the user deletes a column.

C#
public TaskBoardEventBuilder DeleteColumn(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DeleteColumn event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.DeleteColumn("onDeleteColumn"))
)

Defines the handler of the EditCard client-side event. Fired when the user edits or creates a card.

C#
public TaskBoardEventBuilder EditCard(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the EditCard event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.EditCard("onEditCard"))
)

Defines the handler of the EditColumn client-side event. Fired when the user edits or creates a column.

C#
public TaskBoardEventBuilder EditColumn(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the EditColumn event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.EditColumn("onEditColumn"))
)

Defines the handler of the Execute client-side event. Fires when a command is executed.

C#
public TaskBoardEventBuilder Execute(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Execute event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.Execute("onExecute"))
)

Defines the handler of the Move client-side event. Fired when the user moves a card.

C#
public TaskBoardEventBuilder Move(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Move event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.Move("onMove"))
)

Defines the handler of the MoveEnd client-side event. Fired when the user dropped a card in a column.

C#
public TaskBoardEventBuilder MoveEnd(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the MoveEnd event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.MoveEnd("onMoveEnd"))
)

Defines the handler of the MoveStart client-side event. Fired when the user started moving a card.

C#
public TaskBoardEventBuilder MoveStart(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the MoveStart event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.MoveStart("onMoveStart"))
)

Defines the handler of the SaveCard client-side event. Fired when the user saves a card.

C#
public TaskBoardEventBuilder SaveCard(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the SaveCard event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.SaveCard("onSaveCard"))
)

Defines the handler of the SaveColumn client-side event. Fired when the user saves a column.

C#
public TaskBoardEventBuilder SaveColumn(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the SaveColumn event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.SaveColumn("onSaveColumn"))
)

Defines the handler of the Select client-side event. Fired when the user selects a card in the TaskBoard.

C#
public TaskBoardEventBuilder Select(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Select event.

Returns:

TaskBoardEventBuilder

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(e =&gt; e.Select("onSelect"))
)