Given the sample of the Kendo UI to load a tooltip with ajax data.
<ul id="products" class="dairy-photos">
<li><a href="#" data-id="11">
<img src="@Url.Content("~/content/12.jpg")" /></a> </li>
</ul>
@(Html.Kendo().Tooltip()
.For("#products")
.Filter("a")
.LoadContentFrom("Details", "Tooltip")
.Position(TooltipPosition.Top)
.Width(220)
.Height(280)
.Events(events => events.RequestStart("requestStart")))
<script type="text/javascript">
function requestStart(e) {
e.options.data = {
id: e.target.data("id")
}
}
</script>
This is working fine, but the call to the Tooltip controller is made only once !? I'm unable to find a way to make sure the call is made -every- time the tooltip is hovered. Any help on this one ?