Hi,
As title mentions bindings seems not working anymore in my app after upgrade to 2013.1.514 version of Kendo UI. What I use is commonly documented
Probably need to mention that these views are loaded with separate ajax calls and added to DOM dynamically using this function
Is there any changes to bindings what I should change in my code? This was working with 308 version...
EDIT: After further observations it seems binding happening - I added alert just after binding, and view reflects viewModel properties.... but as soon as I close alert binding to viewModel seems disappears...
Thanks,
Saulius
As title mentions bindings seems not working anymore in my app after upgrade to 2013.1.514 version of Kendo UI. What I use is commonly documented
$(document).ready(
function
($) {
kendo.bind($(
"#view"
), viewModel);
});
loadExtPage:
function
(path) {
//Use jQuery Ajax to fetch the template file
var
tmplLoader = $.get(path)
.success(
function
(result) {
//On success, Add page to DOM
var
index =
new
kendo.View($(
'<div />'
).html(result));
layout.showIn(
"#content"
, index);
})
}
EDIT: After further observations it seems binding happening - I added alert just after binding, and view reflects viewModel properties.... but as soon as I close alert binding to viewModel seems disappears...
Thanks,
Saulius