Skip to main content

kendoDatePicker

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

The DatePicker enables the user to select a date from a calendar or through a direct input.

public class kendoDatePicker : kendoBase

Constructors​

Instance member kendoDatePicker()​

Constructs a new instance of the kendoDatePicker class.

Example:

The following example creates a date picker, sets its date and changes the display format through the Options property.

var picker = new kendoDatePicker();
picker.Value = new DateTime(2025, 6, 15);
picker.Options.format = "yyyy-MM-dd";
picker.Width = 200;
this.Controls.Add(picker);

Instance member kendoDatePicker(options)​

Constructs a new instance of the kendoDatePicker class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a date picker that accepts only dates in the year 2025.

var picker = new kendoDatePicker(new
{
format = "dd/MM/yyyy",
min = new DateTime(2025, 1, 1),
max = new DateTime(2025, 12, 31),
weekNumber = true
});
picker.Width = 200;
this.Controls.Add(picker);

Properties​

Instance member Text​

String: Not relevant for this class. (Default: "")

Instance member Value​

DateTime: Gets or sets the value of the kendoDatePicker.

Implements​