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

TaskBoardBuilder

Properties

WriteAction - Func

Methods

BindTo(System.Collections.Generic.IEnumerable)

Binds the TaskBoard Cards to a list of objects

Parameters

dataSource - System.Collections.Generic.IEnumerable<TCard>

The data source.

Example


            @model IEnumerable<Card>
            @(Html.Kendo().TaskBoard<Card>()
                .Name("taskBoard")
                .BindTo(Model)
            )

BindTo(System.Collections.IEnumerable)

Binds the TaskBoard Cards to a list of objects

Parameters

dataSource - System.Collections.IEnumerable

The data source.

Example


            @model IEnumerable<Card>
            @(Html.Kendo().TaskBoard()
                .Name("taskBoard")
                .BindTo(Model)
            )

DataSource(System.Action)

Sets the data source configuration of the TaskBoard.

Parameters

configurator - System.Action<DataSourceBuilder>

The lambda which configures the data source

Example


            @(Html.Kendo().TaskBoard<Product>()
                .Name("TaskBoard")
                .DataSource(dataSource =>
                    // configure the data source
                    dataSource
                        .Ajax()
                        .Read(read => read.Action("Products_Read", "Home"))
                )
            )

DataSource(System.String)

Sets the ID of the DataSource widget used by the TaskBoard.

Parameters

dataSourceId - System.String

The name of the DataSource

Example


            @(Html.Kendo().TaskBoard<Product>()
                .Name("TaskBoard")
                .DataSource("dataSource1")
            )
            @(Html.Kendo().DataSource<Product>()
                .Name("dataSource1")
                .Ajax(ds=>ds
                    .Read(read => read.Action("Products_Read", "Home"))
                    .PageSize(20)
                )
            )

Columns(System.Collections.Generic.IEnumerable)

Binds the TaskBoard Columns to a list of objects

Parameters

dataSource - System.Collections.Generic.IEnumerable<TColumn>

The data source.

Example


            @(Html.Kendo().TaskBoard<Card, Column>()
                .Name("taskBoard")
                .Columns(new List<Column>
                {
                    new Column { Status = "Status", Text = "Text"}
                })
            )

Columns(System.Collections.IEnumerable)

Binds the TaskBoard Columns to a list of objects

Parameters

dataSource - System.Collections.IEnumerable

The data source.

Example


            @(Html.Kendo().TaskBoard()
                .Name("taskBoard")
                .Columns(new List<object>
                {
                    new { Status = "Status", Text = "Text"}
                })
            )

Columns(System.Action)

Sets the data source configuration of the TaskBoard's Columns.

Parameters

configurator - System.Action<DataSourceBuilder>

The lambda which configures the data source

Example


            @(Html.Kendo().TaskBoard<Product>()
                .Name("TaskBoard")
                .Columns(dataSource =>
                    // configure the data source
                    dataSource
                        .Ajax()
                        .Read(read => read.Action("Products_Read", "Home"))
                )
            )

ColumnsId(System.String)

Sets the ID of the DataSource widget used by the TaskBoard Columns.

Parameters

dataSourceId - System.String

The name of the DataSource

Example


            @(Html.Kendo().TaskBoard<Product>()
                .Name("TaskBoard")
                .Columns("dataSource1")
            )
            @(Html.Kendo().DataSource<Product>()
                .Name("dataSource1")
                .Ajax(ds=>ds
                    .Read(read => read.Action("Products_Read", "Home"))
                    .PageSize(20)
                )
            )

Columns(System.Action)

Sets the data source configuration of the TaskBoard's Columns.

Parameters

configurator - System.Action<TaskBoardColumnsBuilder>

The lambda which configures the data source

Example


            @(Html.Kendo().TaskBoard<Product>()
                .Name("TaskBoard")
                .Columns(dataSource =>
                    // configure the data source
                    dataSource
                        .Ajax()
                        .Read(read => read.Action("Products_Read", "Home"))
                )
            )

AutoBind(System.Boolean)

Controls whether to bind the TaskBoard to the data source on initialization.

Parameters

value - System.Boolean

The value for AutoBind

CardMenu(System.Action)

Defines the list of buttons rendered in the card.

Parameters

configurator - System.Action<TaskBoardCardMenuFactory>

The configurator for the cardmenu setting.

ColumnSettings(System.Action)

Defines the settings for the columns.

Parameters

configurator - System.Action<TaskBoardColumnSettingsSettingsBuilder>

The configurator for the columnsettings setting.

DataOrderField(System.String)

The field used to order cards (number based). If not set, cards will be rendered in the order they are fetched. And ordering will not be applied to the DataSource and respectively, not synced with the remote data source.

Parameters

value - System.String

The value for DataOrderField

DataCategoryField(System.String)

The category field of the card.

Parameters

value - System.String

The value for DataCategoryField

DataDescriptionField(System.String)

The description field of the card.

Parameters

value - System.String

The value for DataDescriptionField

DataStatusField(System.String)

The field of the data item that provides the status of the card. Mapped with the status of the columns.

Parameters

value - System.String

The value for DataStatusField

DataTitleField(System.String)

The title field of the card.

Parameters

value - System.String

The value for DataTitleField

Editable(System.Action)

Toggles the editing in the TaskBoard. Both for columns and cards.

Parameters

configurator - System.Action<TaskBoardEditableSettingsBuilder>

The configurator for the editable setting.

Editable(System.Boolean)

Toggles the editing in the TaskBoard. Both for columns and cards.

Parameters

enabled - System.Boolean

Enables or disables the editable option.

Height(System.String)

Configures the height of the TaskBoard wrapper.

Parameters

value - System.String

The value for Height

PreviewPane(System.Action)

Toggles the previewPane in the TaskBoard.

Parameters

configurator - System.Action<TaskBoardPreviewPaneSettingsBuilder>

The configurator for the previewpane setting.

PreviewPane(System.Boolean)

Toggles the previewPane in the TaskBoard.

Parameters

enabled - System.Boolean

Enables or disables the previewpane option.

Reorderable(System.Boolean)

Toggles the reordering of cards in the TaskBoard.

Parameters

value - System.Boolean

The value for Reorderable

Resources(System.Action)

The configuration of the TaskBoard resource(s). A TaskBoard resource is optional metadata that can be associated with a TaskBoard event.

Parameters

configurator - System.Action<TaskBoardResourceFactory>

The configurator for the resources setting.

Selectable(System.Boolean)

Toggles the selection of the TaskBoard.

Parameters

value - System.Boolean

The value for Selectable

Template(System.String)

Controls the rendering of the card.

Parameters

value - System.String

The value for Template

TemplateId(System.String)

Controls the rendering of the card.

Parameters

templateId - System.String

The ID of the template element for Template

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

Controls the rendering of the card.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

TemplateHandler(System.String)

Controls the rendering of the card.

Parameters

templateHandler - System.String

The handler that returs the template for Template

Template(Kendo.Mvc.UI.TemplateBuilder)

Controls the rendering of the card.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Toolbar(System.Action)

Configures the Tools of the TaskBoard

Parameters

configurator - System.Action<TaskBoardToolbarSettingsBuilder>

The configurator for the toolbar setting.

Toolbar(System.Boolean)

Configures the Tools of the TaskBoard

Parameters

enabled - System.Boolean

Enables or disables the toolbar option.

Width(System.String)

Configures the width of the TaskBoard wrapper.

Parameters

value - System.String

The value for Width

Messages(System.Action)

Provides configuration options for the messages present in the TaskBoard widget.

Parameters

configurator - System.Action<TaskBoardMessagesSettingsBuilder>

The configurator for the messages setting.

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<TaskBoardEventBuilder>

The client events action.

Example


            @(Html.Kendo().TaskBoard()
                  .Name("TaskBoard")
                  .Events(events => events
                      .ColumnsDataBinding("onColumnsDataBinding")
                  )
            )

ToComponent()

Returns the internal view component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with

Parameters

deferred - System.Boolean

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

Render()

Renders the component in place.

ToHtmlString()

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

writer - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToClientTemplate()

AsChildComponent()

Configures the widget as a child component.

In this article
Not finding the help you need?