How can I disable the checked nodes in a tree view?
This is my javascript:
function ApplySelectionCriteria() {
var treeView = $find("<%=myTreeView.ClientID%>");
var checked = treeView.get_checkedNodes();
for (i = 0; i < checked.length; i++) {
checked[i].disable();
}
treeView.commitChanges();
}
The nodes appear temporarily disabled but then are enabled immediately.
Thank you.