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

SchedulerResourceTagHelper

Example

<resource>
    <datasource></datasource>
</resource>

ChildTags

Tag Name Details
datasource DataSourceTagHelper

Attributes

Attribute Type Description
name String The name of the resource used to distinguish resource. If not set the value of the field option is used.
bind-to IEnumerable<Object> Sets the data for the datasource
data-color-field String The field of the resource data item which contains the resource color.
data-parent-value-field String The field of the resource data item which represents the resource value. The resource value is used to link a scheduler event with a resource.
data-text-field String The field of the resource data item which represents the resource text.
data-value-field String The field of the resource data item which represents the resource value. The resource value is used to link a scheduler event with a resource.
field String The field of the scheduler event which contains the resource id.
multiple Boolean If set to true the scheduler event can be assigned multiple instances of the resource. The scheduler event field specified via the field option will contain an array of resources. By default only one resource instance can be assigned to an event.
title String The user friendly title of the resource displayed in the scheduler edit form. If not set the value of the field option is used.
value-primitive Boolean Set to false if the scheduler event field specified via the field option contains a resource data item. By default the scheduler expects that field to contain a primitive value (string, number) which corresponds to the "value" of the resource (specified via dataValueField).
In this article
Not finding the help you need?