I have a model with preoperty of custom type
It's bound to drop down editor in web grid
$("#grid").kendoGrid({
dataSource: {
schema: {
model: {
.....
fields: {
Site: { validation: { required: true }, editable: true },
}
}
}
columns: [
{
field: "Site",
editor: siteDropDownEditor,
template: "#=Site.SiteName#"
}]
The problem is that when Update hits controller's method nested custom type is null/empty (like in image)
Please advise where is mistake
It's bound to drop down editor in web grid
$("#grid").kendoGrid({
dataSource: {
schema: {
model: {
.....
fields: {
Site: { validation: { required: true }, editable: true },
}
}
}
columns: [
{
field: "Site",
editor: siteDropDownEditor,
template: "#=Site.SiteName#"
}]
The problem is that when Update hits controller's method nested custom type is null/empty (like in image)
Please advise where is mistake