Edit this page

OnClientNodePopulating

If specified, the OnClientNodePopulating client-side event handler is called when the RadOrgChart is about to request the child nodes of the expanded node. In the case of server-side binding, the event will not be raised. When client-side binding is used, the event will be raised before the nodes are retrieved from the data service. The event will be raised again each time new data is about to be retrieved from the web service.

Two parameters are passed to the handler:

  • sender - the RadOrgChart client object;

  • eventArgs with two properties:

  • get_context() - returns a context object (implements IDictionary) that is passed to the server-side code that handles the request for the child nodes of the expanded node.

  • get_node() - the expanded node client object.

  • set_cancel() - used to cancel the event.

This event can be cancelled.