DateTimePicker
Class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class DateTimePicker : DatePickerBase, IScriptableComponent, IPicker, IInputComponent<DateTime>, IWidget, IHtmlAttributesContainer, IFormEditor
Inheritance: objectWidgetBaseDatePickerBaseDateTimePicker
Implements:
Inherited Members
Constructors
C#
public DateTimePicker(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData)
Properties
C#
public string ARIATemplate { get; set; }
C#
public IEnumerable<string> DisableDates { get; set; }
C#
public ClientHandlerDescriptor DisableDatesHandler { get; set; }
C#
public bool EnableFooter { get; set; }
Defines the "inputmode" attribute of the inner <input /> element. The attribute specifies the type of on-screen keyboard displayed when the user focuses the input.
C#
public string InputMode { get; set; }
C#
public IntervalSettings IntervalSettings { get; }
C#
public MonthTemplate MonthTemplate { get; }
If set to true, the widget will be readonly and will not allow user input. The widget is not readonly be default and allow user input.
C#
public bool? Readonly { get; set; }
C#
public string TimeFormat { get; set; }
C#
public bool? WeekNumber { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Implements:
C#
public override void VerifySettings()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: