I'm sure this is an easy answer but I've looked high and low and cannot find the answer. How do I dynmically change the content of a tooltip? I'm using the following code:
e.content does not seem to work. I'm sure I'm just missing a key word somewhere. I do want the content to change everytime the tooltip is shown.
<
div
style
=
"text-align:center;width:50%;margin:5px auto"
class
=
"inputbox numberSelected"
id
=
"ttAnchor"
></
div
>
@(Html.Kendo().Tooltip()
.Callout(false)
.For("#ttAnchor")
.Position(TooltipPosition.Right)
.Width(200)
.Events(events => events.Show(
@<
text
>
function(e){
e.content = "test";
}
</
text
>
))
)
e.content does not seem to work. I'm sure I'm just missing a key word somewhere. I do want the content to change everytime the tooltip is shown.