KaxTreeViewOnClientNodePopulating Property |
Namespace: Kettic.AspNet.Controls
If specified, the OnClientNodePopulating client-side event handler is called when the children of a tree node are about to be populated. Two parameters are passed to the handler:
This event can be cancelled.
<script type="text/javascript">
function onClientNodePopulatingHandler(sender, eventArgs)
{
var node = eventArgs.get_node();
var context = eventArgs.get_context();
context["CategoryID"] = node.get_value();
}
</script>
<kettic:KaxTreeView ID="KaxTreeView1"
runat="server"
OnClientNodePopulating="onClientNodePopulatingHandler">
....
</kettic:KaxTreeView>