I have a Switch widget and an associated boolean property in my View Model:
@(Html.Kendo().Switch()
.Name("IsImmediateEvent")
.Messages(c => c.Checked("true").Unchecked("false"))
.Events(e => e.Change("onImmediateChange"))
)
View Model Property:
public bool IsImmediateEvent { get; set; }
When my boolean View Model property (IsImmediateEvent) is set to true, the Switch widget is not checked.
How can I get the Switch widget to recognize its backing property and set the Switch widget to "on" when my boolean property is "true?"