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

TaskBoardBuilder

Methods

DataSource(System.Action)

Configure the DataSource of the component

Parameters

configurator - System.Action<DataSourceBuilder>

The action that configures the DataSource.

DataSource(System.String)

Parameters

dataSourceId - System.String

BindTo(System.Collections.IEnumerable)

Parameters

data - System.Collections.IEnumerable

BindTo(System.Collections.Generic.IEnumerable)

Parameters

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

Columns(System.Action)

Parameters

configurator - System.Action<DataSourceBuilder>

Columns(System.String)

Parameters

dataSourceId - System.String

Columns(System.Collections.IEnumerable)

Parameters

data - System.Collections.IEnumerable

Columns(System.Collections.Generic.IEnumerable)

Parameters

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

Columns(System.Action)

Parameters

configurator - System.Action<TaskBoardColumnsBuilder>

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 action that configures the resources.

Editable(System.Boolean)

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

Parameters

enabled - System.Boolean

Enables or disables the editable option.

Editable(System.Action)

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

Parameters

configurator - System.Action<TaskBoardEditableSettingsBuilder>

The action that configures the editable.

AutoBind(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the autobind.

CardMenu(System.Action)

Defines the list of buttons rendered in the card.

Parameters

configurator - System.Action<TaskBoardCardMenuFactory>

The action that configures the cardmenu.

ColumnSettings(System.Action)

Defines the settings for the columns.

Parameters

configurator - System.Action<TaskBoardColumnSettingsSettingsBuilder>

The action that configures the columnsettings.

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 that configures the dataorderfield.

DataCategoryField(System.String)

The category field of the card.

Parameters

value - System.String

The value that configures the datacategoryfield.

DataDescriptionField(System.String)

The description field of the card.

Parameters

value - System.String

The value that configures the 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 that configures the datastatusfield.

DataTitleField(System.String)

The title field of the card.

Parameters

value - System.String

The value that configures the datatitlefield.

Height(System.String)

Configures the height of the TaskBoard wrapper.

Parameters

value - System.String

The value that configures the height.

PreviewPane(System.Boolean)

Toggles the previewPane in the TaskBoard.

Parameters

enabled - System.Boolean

Enables or disables the previewpane option.

PreviewPane(System.Action)

Toggles the previewPane in the TaskBoard.

Parameters

configurator - System.Action<TaskBoardPreviewPaneSettingsBuilder>

The action that configures the previewpane.

Reorderable(System.Boolean)

Toggles the reordering of cards in the TaskBoard.

Parameters

value - System.Boolean

The value that configures the reorderable.

Selectable(System.Boolean)

Toggles the selection of the TaskBoard.

Parameters

value - System.Boolean

The value that configures the selectable.

Template(System.String)

Controls the rendering of the card.

Parameters

value - System.String

The value that configures the template.

TemplateId(System.String)

Controls the rendering of the card.

Parameters

value - System.String

The value that configures the template.

TemplateView(System.Web.Mvc.MvcHtmlString)

Controls the rendering of the card.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

TemplateHandler(System.String)

Controls the rendering of the card.

Parameters

value - System.String

The value that configures the 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.Boolean)

Configures the Tools of the TaskBoard

Parameters

enabled - System.Boolean

Enables or disables the toolbar option.

Toolbar(System.Action)

Configures the Tools of the TaskBoard

Parameters

configurator - System.Action<TaskBoardToolbarSettingsBuilder>

The action that configures the toolbar.

Width(System.String)

Configures the width of the TaskBoard wrapper.

Parameters

value - System.String

The value that configures the width.

Messages(System.Action)

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

Parameters

configurator - System.Action<TaskBoardMessagesSettingsBuilder>

The action that configures the messages.

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
                            .Select("onSelect")
                        )
            )

ToComponent()

Returns the internal view component.

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name of the component.

Example


            @(Html.Kendo().Grid<OrderViewModel>()
               .Name("grid")
               .Columns(columns =>
               {
                   columns.Bound(p => p.OrderID).Filterable(false);
                   columns.Bound(p => p.Freight);  
               })
               .DataSource(dataSource => dataSource
                   .Ajax()
                   .PageSize(20)
                   .Read(read => read.Action("Orders_Read", "Grid"))
               )
            )

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with Kendo.Mvc.UI.Fluent.WidgetFactory.DeferredScripts(System.Boolean)

Parameters

deferred - System.Boolean

ModelMetadata(System.Web.Mvc.ModelMetadata)

Uses the Metadata of the Model.

Parameters

modelMetadata - System.Web.Mvc.ModelMetadata

The metadata set for the Model

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Parameters

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

AsChildComponent()

Render()

Renders the component.

Example


            @(@Page Inherits="System.Web.Mvc.ViewPage<IEnumerable<Product>>" )
            @( Html.Kendo().Grid(Model)
                .Name("grid")
                .DetailTemplate(product => {
                    )
                       Product Details:
                       <div>Product Name: @( product.ProductName )</div>
                       <div>Units In Stock: @( product.UnitsInStock )</div>
                    @(
                })
                .Render();
            )

ToHtmlString()

ToClientTemplate()

In this article
Not finding the help you need?