New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

OnClientGroupPopulating

If specified, the OnClientGroupPopulating client-side event handler is called when the RadOrgChart is about to request the group items within a 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 group items 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 one properties:

  • get_context() - returns a context object (implements IDictionary) that is passed to the server-side code that handles the request for the group items within a node.

  • set_cancel() - used to cancel the event.

This event can be cancelled.

In this article