PanelBarEventBuilder
Defines the fluent API for configuring the Kendo UI PanelBar for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PanelBarEventBuilder : EventBuilder
Inheritance: objectEventBuilderPanelBarEventBuilder
Inherited Members
Constructors
Initializes a new instance of the PanelBarEventBuilder class.
public PanelBarEventBuilder(IDictionary<string, object> events)
The PanelBar event handlers.
Methods
Defines the handler of the Activate client-side event. Triggered when an item of a PanelBar is activated.
public PanelBarEventBuilder Activate(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Activate client-side event. Triggered when an item of a PanelBar is activated.
public PanelBarEventBuilder Activate(string handler)
The name of the JavaScript function that will handle the Activate event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Collapse client-side event. Triggered when an item of a PanelBar is collapsed.
public PanelBarEventBuilder Collapse(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Collapse client-side event. Triggered when an item of a PanelBar is collapsed.
public PanelBarEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the ContentLoad client-side event. Fires when content is fetched from an AJAX request.
public PanelBarEventBuilder ContentLoad(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the ContentLoad client-side event. Fires when content is fetched from an AJAX request.
public PanelBarEventBuilder ContentLoad(string handler)
The name of the JavaScript function that will handle the ContentLoad event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the DataBound client-side event. Triggered after the dataSource change event has been processed (adding/removing items);
public PanelBarEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the DataBound client-side event. Triggered after the dataSource change event has been processed (adding/removing items);
public PanelBarEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Error client-side event. Fires when AJAX request results in an error.
public PanelBarEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Error client-side event. Fires when AJAX request results in an error.
public PanelBarEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Expand client-side event. Triggered when an item of a PanelBar is expanded.
public PanelBarEventBuilder Expand(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Expand client-side event. Triggered when an item of a PanelBar is expanded.
public PanelBarEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the PanelBar is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public PanelBarEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the PanelBar is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public PanelBarEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Select client-side event. Triggered when an item of a PanelBar is selected by the user.
public PanelBarEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PanelBarEventBuilder .
Defines the handler of the Select client-side event. Triggered when an item of a PanelBar is selected by the user.
public PanelBarEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of PanelBarEventBuilder .