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


  • Management
    • Kate
    • Peter
    • Dev
      • Arnold
      • Mike
      • QA
        • Tim
        • Nora
    • Support
      • David

RadOrgChart supports Expand/Collapse of the RadOrgChart hierarchical tree. The functionality could be enabled by setting the EnableCollapsing property to true. Also Expand/Collapse of a group is available. To enable that behavior set EnableGroupCollapsing to true.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="OrgChart.Examples.ExpandCollapse.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link rel="stylesheet" type="text/css" href="styles.css" />

    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg">
        <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel">
            <telerik:RadOrgChart RenderMode="Lightweight" ID="RadOrgChart1" runat="server" EnableCollapsing="true" EnableGroupCollapsing="true"
                Skin="Office2010Blue" />

Support & Learning Resources

Find Assistance