TooltipEventBuilder
Defines the fluent API for configuring the Kendo UI Tooltip for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TooltipEventBuilder : EventBuilder
Inheritance: objectEventBuilderTooltipEventBuilder
Inherited Members
Constructors
Initializes a new instance of the TooltipEventBuilder class.
public TooltipEventBuilder(IDictionary<string, object> events)
The Tooltip event handlers.
Methods
Defines the handler of the ContentLoad client-side event. Fires when an AJAX request for the content completes.
public TooltipEventBuilder ContentLoad(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the ContentLoad client-side event. Fires when an AJAX request for the content completes.
public TooltipEventBuilder ContentLoad(string handler)
The name of the JavaScript function that will handle the ContentLoad event.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the Error client-side event. Fires when an AJAX request for content fails.
public TooltipEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the Error client-side event. Fires when an AJAX request for content fails.
public TooltipEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the Hide client-side event. Fires when a Tooltip is hidden.
public TooltipEventBuilder Hide(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the Hide client-side event. Fires when a Tooltip is hidden.
public TooltipEventBuilder Hide(string handler)
The name of the JavaScript function that will handle the Hide event.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the RequestStart client-side event. Fires before an AJAX request starts. Note that this event is triggered only when an AJAX request is used instead of an iframe.
public TooltipEventBuilder RequestStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the RequestStart client-side event. Fires before an AJAX request starts. Note that this event is triggered only when an AJAX request is used instead of an iframe.
public TooltipEventBuilder RequestStart(string handler)
The name of the JavaScript function that will handle the RequestStart event.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the Show client-side event. Fires when a Tooltip is shown.
public TooltipEventBuilder Show(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TooltipEventBuilder .
Defines the handler of the Show client-side event. Fires when a Tooltip is shown.
public TooltipEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns:Returns the current instance of TooltipEventBuilder .