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

GanttTooltipSettingsBuilder

Methods

Template(System.String)

The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.

Parameters

value - System.String

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Tooltip(t=>t.Template("template"))
            )

TemplateId(System.String)

The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.

Parameters

value - System.String

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Tooltip(t=>t.TemplateId("templateID"))
            )

TemplateView(System.Web.Mvc.MvcHtmlString)

The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Tooltip(t => t.TemplateView(Html.Partial("TemplateView")))
            )

TemplateHandler(System.String)

The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.

Parameters

value - System.String

The value that configures the template.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Tooltip(t=>t.TemplateHandler("templateHandler"))
            )

Template(Kendo.Mvc.UI.TemplateBuilder)

The template which renders the tooltip.The fields which can be used in the template are: task - the gantt task, for which the template is shown.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Visible(System.Boolean)

If set to false the gantt will not display the task tooltip. By default the task tooltip is displayed.

Parameters

value - System.Boolean

The value that configures the visible.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Tooltip(t=>t.Visible(true))
            )

In this article
Not finding the help you need?