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

Defines the fluent interface for configuring the Calendar.CalendarSelectionSettings.
Inheritance: IHideObjectMembers
Show file Open project: juanplopes/simple-telerik

Public Methods

Method Description
Action ( string action, object values ) : CalendarSelectionSettingsBuilder

Sets the action to which the date should navigate

Action ( string action, string controller, object values ) : CalendarSelectionSettingsBuilder

Sets the action to which the item should navigate

CalendarSelectionSettingsBuilder ( CalendarSelectionSettings settings, System.Web.Mvc.ViewContext viewContext ) : System

Initializes a new instance of the CalendarSelectionSettingsBuilder class.

Dates ( IList dates ) : CalendarSelectionSettingsBuilder

Defines list of dates. This list determines which dates to be rendered with action link.

Method Details

Action() public method

Sets the action to which the date should navigate
public Action ( string action, object values ) : CalendarSelectionSettingsBuilder
action string Name of the action.
values object The route values.
return CalendarSelectionSettingsBuilder

Action() public method

Sets the action to which the item should navigate
public Action ( string action, string controller, object values ) : CalendarSelectionSettingsBuilder
action string Name of the action.
controller string Name of the controller.
values object The route values.
return CalendarSelectionSettingsBuilder

CalendarSelectionSettingsBuilder() public method

Initializes a new instance of the CalendarSelectionSettingsBuilder class.
public CalendarSelectionSettingsBuilder ( CalendarSelectionSettings settings, System.Web.Mvc.ViewContext viewContext ) : System
settings CalendarSelectionSettings The selection settings.
viewContext System.Web.Mvc.ViewContext The view context.
return System

Dates() public method

Defines list of dates. This list determines which dates to be rendered with action link.
public Dates ( IList dates ) : CalendarSelectionSettingsBuilder
dates IList List of objects
return CalendarSelectionSettingsBuilder