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

Defines the fluent interface for configuring datepicker client events.
Inheritance: IHideObjectMembers
Show file Open project: juanplopes/simple-telerik

Public Methods

Method Description
DatePickerClientEventsBuilder ( DatePickerClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System

Initializes a new instance of the DatePickerClientEventsBuilder class.

OnChange ( System.Action onChangeInlineCode ) : DatePickerClientEventsBuilder

Defines the inline handler of the OnSelect client-side event

OnChange ( string onChangeHandlerName ) : DatePickerClientEventsBuilder

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

OnClose ( System.Action onCloseInlineCode ) : DatePickerClientEventsBuilder

Defines the inline handler of the OnPopupClose client-side event

OnClose ( string onCloseHandlerName ) : DatePickerClientEventsBuilder

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

OnLoad ( System.Action onLoadInlineCode ) : DatePickerClientEventsBuilder

Defines the inline handler of the OnLoad client-side event

OnLoad ( string onLoadHandlerName ) : DatePickerClientEventsBuilder

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

OnOpen ( System.Action onOpenInlineCode ) : DatePickerClientEventsBuilder

Defines the inline handler of the OnPopupOpen client-side event

OnOpen ( string onOpenHandlerName ) : DatePickerClientEventsBuilder

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

Method Details

DatePickerClientEventsBuilder() public method

Initializes a new instance of the DatePickerClientEventsBuilder class.
public DatePickerClientEventsBuilder ( DatePickerClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System
clientEvents DatePickerClientEvents Datepicker client-side events.
viewContext System.Web.Mvc.ViewContext The context of the View.
return System

OnChange() public method

Defines the inline handler of the OnSelect client-side event
public OnChange ( System.Action onChangeInlineCode ) : DatePickerClientEventsBuilder
onChangeInlineCode System.Action
return DatePickerClientEventsBuilder

OnChange() public method

Defines the name of the JavaScript function that will handle the the OnSelect client-side event.
public OnChange ( string onChangeHandlerName ) : DatePickerClientEventsBuilder
onChangeHandlerName string
return DatePickerClientEventsBuilder

OnClose() public method

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

OnClose() public method

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

OnLoad() public method

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

OnLoad() public method

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

OnOpen() public method

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

OnOpen() public method

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