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

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

Definition

Constructors

Initializes a new instance of the TaskBoardEventBuilder class.

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

The TaskBoard event handlers.

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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.Change(@&lt;text&gt;
function(e) {
// Handle the Change event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.ColumnsDataBinding(@&lt;text&gt;
function(e) {
// Handle the ColumnsDataBinding event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.ColumnsDataBound(@&lt;text&gt;
function(e) {
// Handle the ColumnsDataBound event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.DataBinding(@&lt;text&gt;
function(e) {
// Handle the DataBinding event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.DataBound(@&lt;text&gt;
function(e) {
// Handle the DataBound event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.DeleteCard(@&lt;text&gt;
function(e) {
// Handle the DeleteCard event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.DeleteColumn(@&lt;text&gt;
function(e) {
// Handle the DeleteColumn event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.EditCard(@&lt;text&gt;
function(e) {
// Handle the EditCard event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.EditColumn(@&lt;text&gt;
function(e) {
// Handle the EditColumn event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.Execute(@&lt;text&gt;
function(e) {
// Handle the Execute event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.Move(@&lt;text&gt;
function(e) {
// Handle the Move event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.MoveEnd(@&lt;text&gt;
function(e) {
// Handle the MoveEnd event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.MoveStart(@&lt;text&gt;
function(e) {
// Handle the MoveStart event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.SaveCard(@&lt;text&gt;
function(e) {
// Handle the SaveCard event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.SaveColumn(@&lt;text&gt;
function(e) {
// Handle the SaveColumn event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of 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(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TaskBoardEventBuilder

Returns the current instance of TaskBoardEventBuilder .

Example:
C#
@(Html.Kendo().TaskBoard()
.Name("taskBoard")
.Events(events =&gt; events.Select(@&lt;text&gt;
function(e) {
// Handle the Select event inline.
}
&lt;/text&gt;)
)
)

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

Returns the current instance of TaskBoardEventBuilder .

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