With 411...
If the view's property "wrap" is set to false, and the view has a list of root elements, and the view contains white space between elements on the root level, calling layout.showIn will throw an exception.
The exception is thrown in kendo.bind as follows.
Michael G. Schneider
If the view's property "wrap" is set to false, and the view has a list of root elements, and the view contains white space between elements on the root level, calling layout.showIn will throw an exception.
// no problems
layout.showIn(
"#content"
,
new
kendo.View(
"<div>hey ho</div><div>hey ho</div>"
, { wrap:
false
}));
// exception
layout.showIn(
"#content"
,
new
kendo.View(
"<div>hey ho</div> <div>hey ho</div>"
, { wrap:
false
}));
Uncaught TypeError: Object
#<Text> has no method 'getAttribute'