Kendo ui 如何根据带有剑道包装的下拉列表添加工具提示?

Kendo ui 如何根据带有剑道包装的下拉列表添加工具提示?,kendo-ui,kendo-asp.net-mvc,Kendo Ui,Kendo Asp.net Mvc,下拉列表: @(Html.Kendo().DropDownList() .Name("ddlRoles") .OptionLabel("ACCOUNT TYPE") .HtmlAttributes(new { @class = "ddlRoles" }) .

下拉列表:

 @(Html.Kendo().DropDownList()
                              .Name("ddlRoles")
                              .OptionLabel("ACCOUNT TYPE")
                              .HtmlAttributes(new { @class = "ddlRoles" })
                              .BindTo((IEnumerable<SelectListItem>)ViewBag.ApplicationRoles)
                          )
内容“Hello”我希望它基于在DDL角色上选择的项目

   @(Html.Kendo().DropDownList()
                                  .Name("ddlRoles")
                                  .OptionLabel("ACCOUNT TYPE")
                                  .HtmlAttributes(new { @class = "ddlRoles text-danger" })
                                  .BindTo((IEnumerable<SelectListItem>)ViewBag.ApplicationRoles)
                                 )
                              )
   @(Html.Kendo().DropDownList()
                                  .Name("ddlRoles")
                                  .OptionLabel("ACCOUNT TYPE")
                                  .HtmlAttributes(new { @class = "ddlRoles text-danger" })
                                  .BindTo((IEnumerable<SelectListItem>)ViewBag.ApplicationRoles)
                                 )
                              )
  @(Html.Kendo().Tooltip()
                            .For("#ddlRoles").

                            .Position(TooltipPosition.Top)
                            .Events(events => events.Show("onHoverShowToolTip"))
                            )

when the tooltip is shown, call a javascript function

    function onHoverShowToolTip() {
        loadToolTipContent();
    }

function loadToolTipContent() {
    //this call getToolTipContent();
    $("#the name of the generated tooptip").data("kendoTooltip").options.content = getToolTipContent();

    $("#the name of the generated tooptip").data("kendoTooltip").refresh();
}

function getToolTipContent() {
    var role = selectedRole();
    var result = "THE CONTENT THAT YOU WANT";

    return result;
}