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

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

Public Methods

Method Description
CalendarClientEventsBuilder ( CalendarClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System

Initializes a new instance of the CalendarClientEventsBuilder class.

OnChange ( System.Action onChangeInlineCode ) : CalendarClientEventsBuilder

Defines the inline handler of the OnSelect client-side event

OnChange ( string onChangeHandlerName ) : CalendarClientEventsBuilder

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

OnLoad ( System.Action onLoadInlineCode ) : CalendarClientEventsBuilder

Defines the inline handler of the OnLoad client-side event

OnLoad ( string onLoadHandlerName ) : CalendarClientEventsBuilder

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

Method Details

CalendarClientEventsBuilder() public method

Initializes a new instance of the CalendarClientEventsBuilder class.
public CalendarClientEventsBuilder ( CalendarClientEvents clientEvents, System.Web.Mvc.ViewContext viewContext ) : System
clientEvents CalendarClientEvents Client events of the calendar.
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 ) : CalendarClientEventsBuilder
onChangeInlineCode System.Action
return CalendarClientEventsBuilder

OnChange() public method

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

OnLoad() public method

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

OnLoad() public method

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