Hi there,
I have a tree-view with checkboxes. When client checks a parent node, all of its corresponding child nodes should also be checked.
Following doesn't work for me, since I'm using RadTree for Ajax
function clientNodeChecked(sender, eventArgs)
{
var childNodes = eventArgs.get_node().get_nodes();
var isChecked = eventArgs.get_node().get_checked();
UpdateAllChildren(childNodes, isChecked);
}
http://www.telerik.com/help/aspnet-ajax/tree_checkboxesallchildnodes.html
I do realize I have to replace get_nodes() with Nodes and get_checked() to Checked.... however, eventArgs.get_node() fails... I'm not sure what I should change it to... I've read all of
http://www.telerik.com/help/aspnet-ajax/tree_overviermigrating.html
There's no mention of what get_node() should be changed to... does eventArgs work anymore? Please help!
I have a tree-view with checkboxes. When client checks a parent node, all of its corresponding child nodes should also be checked.
Following doesn't work for me, since I'm using RadTree for Ajax
function clientNodeChecked(sender, eventArgs)
{
var childNodes = eventArgs.get_node().get_nodes();
var isChecked = eventArgs.get_node().get_checked();
UpdateAllChildren(childNodes, isChecked);
}
http://www.telerik.com/help/aspnet-ajax/tree_checkboxesallchildnodes.html
I do realize I have to replace get_nodes() with Nodes and get_checked() to Checked.... however, eventArgs.get_node() fails... I'm not sure what I should change it to... I've read all of
http://www.telerik.com/help/aspnet-ajax/tree_overviermigrating.html
There's no mention of what get_node() should be changed to... does eventArgs work anymore? Please help!