TooltipEventBuilder
Methods
Show(System.Func)
Defines the inline handler of the Show client-side event
For more information see Show event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.Show(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Show(System.String)
Defines the name of the JavaScript function that will handle the the Show client-side event.
For more information see Show event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.Show("show"))
)
Hide(System.Func)
Defines the inline handler of the Hide client-side event
For more information see Hide event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.Hide(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Hide(System.String)
Defines the name of the JavaScript function that will handle the the Hide client-side event.
For more information see Hide event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.Hide("hide"))
)
ContentLoad(System.Func)
Defines the inline handler of the ContentLoad client-side event
For more information see ContentLoad event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.ContentLoad(
@<text>
function(e) {
//event handling code
}
</text>
))
)
ContentLoad(System.String)
Defines the name of the JavaScript function that will handle the the ContentLoad client-side event.
For more information see ContentLoad event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.ContentLoad("contentLoad"))
)
Error(System.Func)
Defines the inline handler of the Error client-side event
For more information see Error event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.Error(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Error(System.String)
Defines the name of the JavaScript function that will handle the the Error client-side event.
For more information see Error event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.Error("error"))
)
RequestStart(System.Func)
Defines the inline handler of the RequestStart client-side event
For more information see RequestStart event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.RequestStart(
@<text>
function(e) {
//event handling code
}
</text>
))
)
RequestStart(System.String)
Defines the name of the JavaScript function that will handle the the RequestStart client-side event.
For more information see RequestStart event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Tooltip()
.For("#element")
.Events(events => events.RequestStart("requestStart"))
)