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

GanttToolbarBuilder

Defines the fluent API for configuring the GanttToolbar settings.

Methods

Name(System.String)

The name of the toolbar command. Either a built-in ("append" and "pdf") or custom. The name is reflected in one of the CSS classes, which is applied to the button - k-gantt-name. This class can be used to obtain reference to the button after Gantt initialization and attach click handlers.

Parameters

value - System.String

The value that configures the name.

Template(System.String)

The template which renders the command. By default renders a button.

Parameters

value - System.String

The value that configures the template.

TemplateId(System.String)

The template which renders the command. By default renders a button.

Parameters

value - System.String

The value that configures the template.

TemplateView(System.Web.Mvc.MvcHtmlString)

The template which renders the command. By default renders a button.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

TemplateHandler(System.String)

The template which renders the command. By default renders a button.

Parameters

value - System.String

The value that configures the template.

Text(System.String)

The text displayed by the command button. If not set the name` option would be used as the button text instead.

Parameters

value - System.String

The value that configures the text.

In this article
Not finding the help you need?