RadOrgChart does not provide a client side API to Expand/Collapse All Nodes/Groups. I setup a sample project for you that implements your scenario. Please review the attachment.
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed