KendoUI TaskBoard
Design-Time

Sample Implementation

Last updated
Was this helpful?


Last updated
Was this helpful?
Was this helpful?
// Code for implementing the kendoTaskBoard control on a Page.
private void kendoTaskBoard_Load(object sender, EventArgs e)
{
this.kendoTaskBoard1.Options = new
{
columns = new {
data = new[] {
new { id = 1, text = "To-Do", status = "todo" },
new { id = 2, text = "In Progress", status = "inProgress" },
new { id = 3, text = "Done", status = "done" }
}
},
dataSource = new {
data = JSON.Parse(File.OpenRead(Application.MapPath("Data/TaskBoard/data.json"))),
schema = new
{
model = new
{
id = "id",
fields = new
{
id = new { type = "number" },
order = new { type = "number" },
title = new { field = "title", defaultValue = "No title" },
description = new { field = "description", validation = new { required = true } },
image = new { from = "image", defaultValue = "" }
}
}
}
},
dataOrderField = "order"
};
}