I have the following partial view:
<div id="config">
Call:<input data-bind="value: systemCall" />
</div>
and the following view model:
(function () {
SC.ViewModels.SystemConfig = new function () {
// self reference
var self = this;
self.ViewModel = kendo.observable({
systemCall: "System Call",
});
kendo.bind($("#config"), self.ViewModel);
};
})();
I want to verify that this is set up correctly, so if I give systemCall a value of "SystemCall", shouldn't I be able to see this when I load the page? At present, I see nothing in the text box.