New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Constructors

C#
public DatePickerBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData)
Parameters:viewContextViewContextinitializerIJavaScriptInitializerviewDataViewDataDictionary

Properties

Specifies the adaptive rendering of the component.

C#
public AdaptiveMode? AdaptiveMode { get; set; }

Allows customization of the subtitle's text in the adaptive view of the component.

C#
public string AdaptiveSubtitle { get; set; }

Allows customization of the title's text in the adaptive view of the component.

C#
public string AdaptiveTitle { get; set; }
C#
public PopupAnimation Animation { get; }

If this property is enabled and you have configured min and/or max values, and the user enters a value that falls out of that range, the value will automatically be set to either the minimum or maximum allowed value.

C#
public bool? AutoAdjust { get; set; }

Sets a value that indicates whether to automatically correct the segment when out of range. In order to work, dateInput prop should be set to true.

C#
public bool? AutoCorrectParts { get; set; }

Specifies the component type of the widget. "classic" - Uses the standard rendering of the widget. or "modern" - Uses new rendering with a fresh and modern look and feel..

C#
public string ComponentType { get; set; }
C#
public string Culture { get; set; }

Implements: IPicker.Culture

C#
public CultureInfo CultureInfo { get; }

Implements: IPicker.CultureInfo

C#
public bool? DateInput { get; set; }
C#
public IList<DateTime> Dates { get; set; }
C#
public bool Enabled { get; set; }

Implements: IPicker.Enabled

Sets a value controlling how the color is applied.

C#
public FillMode? FillMode { get; set; }
C#
public string Format { get; set; }

Implements: IPicker.Format

Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

C#
public LabelSettings Label { get; set; }
C#
public DateTime Max { get; set; }

Allows localization of the strings that are used in the widget.

C#
public DatePickerBaseMessagesSettings Messages { get; set; }
C#
public DateTime Min { get; set; }
C#
public List<string> ParseFormats { get; set; }
C#
public PopupSettings PopupSettings { get; set; }

Sets a value controlling the border radius.

C#
public Rounded? Rounded { get; set; }

Sets the size of the component.

C#
public ComponentSize? Size { get; set; }
C#
public DateTime? Value { get; set; }

Implements: IInputComponent<DateTime>.Value

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()