C# Class Telerik.Web.Mvc.UI.Fluent.WindowClientEventsBuilder

Defines the fluent interface for configuring the Window.ClientEvents.
Exibir arquivo Open project: juanplopes/simple-telerik Class Usage Examples

Public Methods

Method Description
OnClose ( System.Action onCloseInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnClose client-side event

OnClose ( string onCloseHandlerName ) : WindowClientEventsBuilder

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

OnError ( System.Action onErrorInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnError client-side event

OnError ( string onErrorHandlerName ) : WindowClientEventsBuilder

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

OnLoad ( System.Action onLoadInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnLoad client-side event

OnLoad ( string onLoadHandlerName ) : WindowClientEventsBuilder

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

OnMove ( System.Action onMoveInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnMove client-side event

OnMove ( string onMoveHandlerName ) : WindowClientEventsBuilder

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

OnOpen ( System.Action onOpenInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnOpen client-side event

OnOpen ( string onOpenHandlerName ) : WindowClientEventsBuilder

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

OnRefresh ( System.Action onRefreshInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnRefresh client-side event

OnRefresh ( string onRefreshHandlerName ) : WindowClientEventsBuilder

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

OnResize ( System.Action onResizeInlineCode ) : WindowClientEventsBuilder

Defines the inline handler of the OnResize client-side event

OnResize ( string onResizeHandlerName ) : WindowClientEventsBuilder

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

WindowClientEventsBuilder ( WindowClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System

Initializes a new instance of the WindowClientEventsBuilder class.

Method Details

OnClose() public method

Defines the inline handler of the OnClose client-side event
public OnClose ( System.Action onCloseInlineCode ) : WindowClientEventsBuilder
onCloseInlineCode System.Action
return WindowClientEventsBuilder

OnClose() public method

Defines the name of the JavaScript function that will handle the the OnClose client-side event.
public OnClose ( string onCloseHandlerName ) : WindowClientEventsBuilder
onCloseHandlerName string
return WindowClientEventsBuilder

OnError() public method

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

OnError() public method

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

OnLoad() public method

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

OnLoad() public method

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

OnMove() public method

Defines the inline handler of the OnMove client-side event
public OnMove ( System.Action onMoveInlineCode ) : WindowClientEventsBuilder
onMoveInlineCode System.Action
return WindowClientEventsBuilder

OnMove() public method

Defines the name of the JavaScript function that will handle the the OnMove client-side event.
public OnMove ( string onMoveHandlerName ) : WindowClientEventsBuilder
onMoveHandlerName string
return WindowClientEventsBuilder

OnOpen() public method

Defines the inline handler of the OnOpen client-side event
public OnOpen ( System.Action onOpenInlineCode ) : WindowClientEventsBuilder
onOpenInlineCode System.Action
return WindowClientEventsBuilder

OnOpen() public method

Defines the name of the JavaScript function that will handle the the OnOpen client-side event.
public OnOpen ( string onOpenHandlerName ) : WindowClientEventsBuilder
onOpenHandlerName string
return WindowClientEventsBuilder

OnRefresh() public method

Defines the inline handler of the OnRefresh client-side event
public OnRefresh ( System.Action onRefreshInlineCode ) : WindowClientEventsBuilder
onRefreshInlineCode System.Action
return WindowClientEventsBuilder

OnRefresh() public method

Defines the name of the JavaScript function that will handle the the OnRefresh client-side event.
public OnRefresh ( string onRefreshHandlerName ) : WindowClientEventsBuilder
onRefreshHandlerName string
return WindowClientEventsBuilder

OnResize() public method

Defines the inline handler of the OnResize client-side event
public OnResize ( System.Action onResizeInlineCode ) : WindowClientEventsBuilder
onResizeInlineCode System.Action
return WindowClientEventsBuilder

OnResize() public method

Defines the name of the JavaScript function that will handle the the OnResize client-side event.
public OnResize ( string onResizeHandlerName ) : WindowClientEventsBuilder
onResizeHandlerName string
return WindowClientEventsBuilder

WindowClientEventsBuilder() public method

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