I have a splitter containing left and right pane. On the left pane it display the navigation , when an item was clicked, the URL corresponding to that item will be loaded into the right pane. I have successfully do this but I notice that after three successful ajaxrequest, my splitter is undefined after the fourth clicked.
Here is my partial js: var onPanelItemSelect = function (e) {
var windowPath;
windowPath = $(e.item).attr('data-value');
if (windowPath != '#') {
// get a reference to the splitter
var splitter = $("#splitter").data("kendoSplitter");
// load content into the pane
splitter.ajaxRequest("#right_pane", windowPath);
}
return false;
}
Do I miss something?