kendoDateRangePicker
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
The DateRangePicker is a container for holding start and end date inputs.
- C#
- VB.NET
public class kendoDateRangePicker : kendoBase
Public Class kendoDateRangePicker
Inherits kendoBase
Constructors
kendoDateRangePicker()
Constructs a new instance of the kendoDateRangePicker class.
Example:
The following example creates a date range picker and selects a range through the Options property.
var picker = new kendoDateRangePicker();
picker.Options.format = "dd/MM/yyyy";
picker.Options.range = new
{
start = new DateTime(2025, 6, 1),
end = new DateTime(2025, 6, 15)
};
picker.Width = 400;
this.Controls.Add(picker);
kendoDateRangePicker(options)
Constructs a new instance of the kendoDateRangePicker class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a date range picker without labels that accepts dates in the next three months.
var picker = new kendoDateRangePicker(new
{
labels = false,
min = DateTime.Today,
max = DateTime.Today.AddMonths(3)
});
picker.Width = 400;
this.Controls.Add(picker);
Properties
Text
String: Not relevant for this class. (Default: "")