TabStripEventBuilder
Defines the fluent API for configuring the Kendo UI TabStrip for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TabStripEventBuilder : EventBuilder
Inheritance: objectEventBuilderTabStripEventBuilder
Inherited Members
Constructors
Initializes a new instance of the TabStripEventBuilder class.
public TabStripEventBuilder(IDictionary<string, object> events)
The TabStrip event handlers.
Methods
Defines the handler of the Activate client-side event. Triggered after a tab is being made visible and its animation complete. Before Q2 2014 this event was invoked after tab show, but before the end of the animation. This event is triggered only for tabs with associated content.
public TabStripEventBuilder Activate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Activate client-side event. Triggered after a tab is being made visible and its animation complete. Before Q2 2014 this event was invoked after tab show, but before the end of the animation. This event is triggered only for tabs with associated content.
public TabStripEventBuilder Activate(string handler)
The name of the JavaScript function that will handle the Activate event.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the ContentLoad client-side event. Triggered when content is fetched from an AJAX request.
public TabStripEventBuilder ContentLoad(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the ContentLoad client-side event. Triggered when content is fetched from an AJAX request.
public TabStripEventBuilder ContentLoad(string handler)
The name of the JavaScript function that will handle the ContentLoad event.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Error client-side event. Triggered when an AJAX request results in an error.
public TabStripEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Error client-side event. Triggered when an AJAX request results in an error.
public TabStripEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TabStrip is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public TabStripEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TabStrip is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public TabStripEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Select client-side event. Triggered before a tab is selected.
public TabStripEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Select client-side event. Triggered before a tab is selected.
public TabStripEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Show client-side event. Triggered just after a tab is being made visible, but before the end of the animation. Before Q2 2014 this event was called activate.
public TabStripEventBuilder Show(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of TabStripEventBuilder .
Defines the handler of the Show client-side event. Triggered just after a tab is being made visible, but before the end of the animation. Before Q2 2014 this event was called activate.
public TabStripEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns:Returns the current instance of TabStripEventBuilder .