kendoScheduler
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
The Scheduler displays a set of events, appointments, or tasks.
- C#
- VB.NET
public class kendoScheduler : kendoBase
Public Class kendoScheduler
Inherits kendoBase
Constructors
kendoScheduler()
Constructs a new instance of the kendoScheduler class.
Example:
The following example creates a scheduler and assigns its appointments through the Options property.
var scheduler = new kendoScheduler();
scheduler.Options.date = new DateTime(2025, 6, 16);
scheduler.Options.views = new[] { "day", "week", "month" };
scheduler.Options.dataSource = new[]
{
new
{
id = 1,
title = "Team meeting",
start = new DateTime(2025, 6, 16, 10, 0, 0),
end = new DateTime(2025, 6, 16, 11, 0, 0)
}
};
scheduler.Dock = DockStyle.Fill;
this.Controls.Add(scheduler);
kendoScheduler(options)
Constructs a new instance of the kendoScheduler class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a read-only scheduler that opens on the week view and is bound to a list of appointments.
var scheduler = new kendoScheduler(new
{
date = new DateTime(2025, 6, 16),
startTime = new DateTime(2025, 6, 16, 7, 0, 0),
allDaySlot = false,
editable = false,
views = new object[]
{
"day",
new { type = "week", selected = true },
"agenda"
},
dataSource = appointments
});
scheduler.Dock = DockStyle.Fill;
this.Controls.Add(scheduler);