C# Class Telerik.Web.Mvc.UI.PanelBarClientEventsBuilder

Defines the fluent interface for configuring the PanelBar.ClientEvents.
Show file Open project: juanplopes/simple-telerik

Public Methods

Method Description
OnCollapse ( System.Action onCollapseInlineCode ) : PanelBarClientEventsBuilder

Defines the inline handler of the OnCollapse client-side event

OnCollapse ( string onCollapseHandlerName ) : PanelBarClientEventsBuilder

Defines the name of the JavaScript function that will handle the the OnCollapse client-side event.

OnError ( System.Action onErrorInlineCode ) : PanelBarClientEventsBuilder

Defines the inline handler of the OnError client-side event

OnError ( string onErrorHandlerName ) : PanelBarClientEventsBuilder

Defines the name of the JavaScript function that will handle the the OnError client-side event.

OnExpand ( System.Action onExpandInlineCode ) : PanelBarClientEventsBuilder

Defines the inline handler of the OnExpand client-side event

OnExpand ( string onExpandHandlerName ) : PanelBarClientEventsBuilder

Defines the name of the JavaScript function that will handle the the OnExpand client-side event.

OnLoad ( System.Action onLoadInlineCode ) : PanelBarClientEventsBuilder

Defines the inline handler of the OnLoad client-side event

OnLoad ( string onLoadHandlerName ) : PanelBarClientEventsBuilder

Defines the name of the JavaScript function that will handle the the OnLoad client-side event.

OnSelect ( System.Action onSelectInlineCode ) : PanelBarClientEventsBuilder

Defines the inline handler of the OnSelect client-side event

OnSelect ( string onSelectHandlerName ) : PanelBarClientEventsBuilder

Defines the name of the JavaScript function that will handle the the OnSelect client-side event.

PanelBarClientEventsBuilder ( PanelBarClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System

Initializes a new instance of the PanelBarClientEventsBuilder class.

Method Details

OnCollapse() public method

Defines the inline handler of the OnCollapse client-side event
public OnCollapse ( System.Action onCollapseInlineCode ) : PanelBarClientEventsBuilder
onCollapseInlineCode System.Action
return PanelBarClientEventsBuilder

OnCollapse() public method

Defines the name of the JavaScript function that will handle the the OnCollapse client-side event.
public OnCollapse ( string onCollapseHandlerName ) : PanelBarClientEventsBuilder
onCollapseHandlerName string The name of the JavaScript function that will handle the event.
return PanelBarClientEventsBuilder

OnError() public method

Defines the inline handler of the OnError client-side event
public OnError ( System.Action onErrorInlineCode ) : PanelBarClientEventsBuilder
onErrorInlineCode System.Action
return PanelBarClientEventsBuilder

OnError() public method

Defines the name of the JavaScript function that will handle the the OnError client-side event.
public OnError ( string onErrorHandlerName ) : PanelBarClientEventsBuilder
onErrorHandlerName string The name of the JavaScript function that will handle the event.
return PanelBarClientEventsBuilder

OnExpand() public method

Defines the inline handler of the OnExpand client-side event
public OnExpand ( System.Action onExpandInlineCode ) : PanelBarClientEventsBuilder
onExpandInlineCode System.Action
return PanelBarClientEventsBuilder

OnExpand() public method

Defines the name of the JavaScript function that will handle the the OnExpand client-side event.
public OnExpand ( string onExpandHandlerName ) : PanelBarClientEventsBuilder
onExpandHandlerName string The name of the JavaScript function that will handle the event.
return PanelBarClientEventsBuilder

OnLoad() public method

Defines the inline handler of the OnLoad client-side event
public OnLoad ( System.Action onLoadInlineCode ) : PanelBarClientEventsBuilder
onLoadInlineCode System.Action
return PanelBarClientEventsBuilder

OnLoad() public method

Defines the name of the JavaScript function that will handle the the OnLoad client-side event.
public OnLoad ( string onLoadHandlerName ) : PanelBarClientEventsBuilder
onLoadHandlerName string The name of the JavaScript function that will handle the event.
return PanelBarClientEventsBuilder

OnSelect() public method

Defines the inline handler of the OnSelect client-side event
public OnSelect ( System.Action onSelectInlineCode ) : PanelBarClientEventsBuilder
onSelectInlineCode System.Action
return PanelBarClientEventsBuilder

OnSelect() public method

Defines the name of the JavaScript function that will handle the the OnSelect client-side event.
public OnSelect ( string onSelectHandlerName ) : PanelBarClientEventsBuilder
onSelectHandlerName string The name of the JavaScript function that will handle the event.
return PanelBarClientEventsBuilder

PanelBarClientEventsBuilder() public method

Initializes a new instance of the PanelBarClientEventsBuilder class.
public PanelBarClientEventsBuilder ( PanelBarClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System
clientEvents PanelBarClientEvents The client events.
viewContext System.Web.Mvc.ViewContext The view context.
return System