refresh

Refreshes the content of the Tooltip.

Example - forcing the refreshing of the Tooltip content

<div id="container">
  <span id="target" title="Tooltip content">Tooltip target</span>
</div>

<button id="refreshButton" class="k-button">Refresh Content</button>

<script>
  $(document).ready(function() {
    var tooltip = $("#container").kendoTooltip({
      filter: "span",
      position: "right",
      content: function() {
        return "last time refreshed: " + kendo.format("{0:T}", new Date());
      }
    }).data("kendoTooltip");


    $("#refreshButton").click(function() {
      tooltip.refresh();
    });
  });
</script>
In this article