/syncfusion-aspnet-core:syncfusion-aspnetcore-dropdown-treefrom Syncfusion ASP.NET Core UI Controls
Implement the Syncfusion ASP.NET Core DropDownTree component to bind hierarchical and self-referential data, enable checkbox selection, customize templates, implement keyboard accessibility, and handle tree interactions when building multi-level dropdown selections.
Ships in Syncfusion ASP.NET Core UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion DropDownTree control is a dropdown component that displays hierarchical tree data structures, allowing users to select single or multiple values from a tree hierarchy. It combines the features of a traditional dropdown list with the hierarchical organization of a tree structure, making it ideal for applications requiring organized, nested data selection.
Use this skill when you need to:
The DropDownTree component provides comprehensive functionality for tree-based dropdown selection:
📄 Read: references/getting-started.md
📄 Read: references/data-binding.md
📄 Read: references/checkbox-and-selection.md
📄 Read: references/templates-and-customization.md
📄 Read: references/properties-and-configuration.md
📄 Read: references/events-and-interactions.md
📄 Read: references/accessibility-and-globalization.md
<!-- ASP.NET Core Razor Template -->
@{
var treeData = new List<TreeNode>
{
new TreeNode { Id = "1", Text = "Item 1" },
new TreeNode { Id = "2", Text = "Item 2", Children = new List<TreeNode>
{
new TreeNode { Id = "3", Text = "Child 1" },
new TreeNode { Id = "4", Text = "Child 2" }
}}
};
}
<ejs-dropdowntree id="tree" placeholder="Select an item">
<e-dropdowntree-fields dataSource="@treeData" text="Text" value="Id" child="Children"></e-dropdowntree-fields>
</ejs-dropdowntree>
<ejs-dropdowntree id="treeCheckbox" showCheckBox="true">
<e-dropdowntree-fields dataSource="@treeData" text="Text" value="Id" child="Children"></e-dropdowntree-fields>
</ejs-dropdowntree>
@{
var itemTemp = "<span>${Text} (${Id})</span>";
var valueTemp = "<span>Selected: ${Text}</span>";
}
<ejs-dropdowntree id="treeTemplate" itemTemplate="@itemTemp" valueTemplate="@valueTemp">
<e-dropdowntree-fields dataSource="@treeData" text="Text" value="Id" child="Children"></e-dropdowntree-fields>
</ejs-dropdowntree>
Scenario: Display product categories in a hierarchical structure
<ejs-dropdowntree id="categories" placeholder="Select Category">
<e-dropdowntree-treeSettings expandOn="true"></e-dropdowntree-treeSettings>
<e-dropdowntree-fields dataSource="@CategoryHierarchy" text="CategoryName" value="CategoryId" child="SubCategories"></e-dropdowntree-fields>
</ejs-dropdowntree>
Scenario: Allow users to select multiple items with automatic parent-child dependency
<ejs-dropdowntree id="multiSelect" showCheckBox="true" allowMultiSelection="true" mode="Box">
<e-dropdowntree-treeSettings autoCheck="true"></e-dropdowntree-treeSettings>
<e-dropdowntree-fields dataSource="@DataSource" text="Text" value="Id" child="Children"></e-dropdowntree-fields>
</ejs-dropdowntree>
Scenario: Load only visible nodes to improve performance with large trees
<ejs-dropdowntree id="lazyLoad">
<e-dropdowntree-treeSettings loadOnDemand="true"></e-dropdowntree-treeSettings>
<e-dropdowntree-fields dataSource="@RemoteDataManager" text="Name" value="Id" child="Children" hasChildren="HasChild"></e-dropdowntree-fields>
</ejs-dropdowntree>
Scenario: Fetch tree data remotely and enable real-time search C# (TreeViewController.cs):
public ActionResult RemoteData()
{
DropDownTreeFields parentData = new DropDownTreeFields();
DropDownTreeFields childData = new DropDownTreeFields();
object data = new DataManager
{
Url = "https://services.odata.org/V4/Northwind/Northwind.svc",
Adaptor = "ODataV4Adaptor",
CrossDomain = true
};
// Parent data mapping
parentData.Query = "new ej.data.Query().from('Employees').select('EmployeeID,FirstName,Title').take(5)";
parentData.Value = "EmployeeID";
parentData.Text = "FirstName";
parentData.HasChildren = "EmployeeID";
parentData.Child = childData;
parentData.DataSource = data;
// Child data mapping
childData.Query = "new ej.data.Query().from('Orders').select('OrderID,EmployeeID,ShipName').take(5)";
childData.Value = "OrderID";
childData.Text = "ShipName";
childData.ParentValue = "EmployeeID";
childData.DataSource = data;
ViewBag.remoteFields = parentData;
return View();
}
<ejs-dropdowntree id="remoteFilter" allowFiltering="true" filterType="StartsWith">
<e-dropdowntree-fields child="ViewBag.child" query="new ej.data.Query().from('Employees').select('EmployeeID,FirstName,Title').take(5)" value="EmployeeID" text="FirstName" hasChildren="EmployeeID">
<e-data-manager url="https://services.odata.org/V4/Northwind/Northwind.svc" adaptor="ODataV4Adaptor" crossDomain="true"></e-data-manager>
</e-dropdowntree-fields>
</ejs-dropdowntree>
Scenario: Display selected multiple items in chip format
<ejs-dropdowntree id="chipMode" showCheckBox="true" allowMultiSelection="true" mode="Box" delimiterChar=",">
<e-dropdowntree-fields dataSource="@DataSource" text="Text" value="Id" child="Children"></e-dropdowntree-fields>
</ejs-dropdowntree>
| Property | Type | Default | Purpose |
|---|---|---|---|
dataSource | DataManager | Array | - | Specifies the data items for the DropDownTree |
fields | FieldsModel | - | Maps data source fields to DropDownTree properties |
value | string[] | - | Gets/sets the currently selected value(s) |
text | string | - | Gets the currently selected item text |
showCheckBox | boolean | false | Enables checkbox mode for multiple selection |
allowMultiSelection | boolean | false | Enables multi-selection without checkboxes |
allowFiltering | boolean | false | Enables filter bar for searching items |
enabled | boolean | true | Enables/disables the component |
readonly | boolean | false | Sets read-only state |
mode | Mode | 'Default' | Display mode for selected items (Default, Delimiter, Box, Custom) |
treeSettings | TreeSettings | - | Configures tree expansion and selection behavior |
itemTemplate | string | Function | - | Template for customizing item display |
valueTemplate | string | Function | - | Template for customizing selected value display |
headerTemplate | string | Function | - | Template for popup header |
footerTemplate | string | Function | - | Template for popup footer |
noRecordsTemplate | string | Function | - | Template when no items found |
actionFailureTemplate | string | Function | - | Template when remote data fails |
customTemplate | string | Function | - | Custom template for selected items with mode='Custom' |
placeholder | string | - | Watermark text for input element |
floatLabelType | FloatLabelType | 'Never' | Label floating behavior |
locale | string | 'en' | Culture for localization |
enableRtl | boolean | false | Right-to-left rendering |
enablePersistence | boolean | false | Persist state across sessions |
cssClass | string | - | CSS class for styling |
filterType | TreeFilterType | 'StartsWith' | Search filter algorithm |
ignoreCase | boolean | true | Case-insensitive search |
ignoreAccent | boolean | false | Ignore diacritical marks in search |
Next Steps: Choose a reference document above based on your current task. Each reference file contains detailed examples, property explanations, and implementation guidelines specific to that feature area.
references/accessibility-and-globalization.md (opens in a new tab)references/checkbox-and-selection.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/properties-and-configuration.md (opens in a new tab)references/templates-and-customization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-core66 skills in this plugin
/syncfusion-aspnetcore-3d-chartGuide for implementing Syncfusion 3D Chart in ASP.NET Core. Always use this skill when user needs 3D chart functionality, data visualization, series configuration, axes setup, or interactive chart features like tooltips and selection. Covers setup, data binding, chart types, styling, and user interactions./syncfusion-aspnetcore-accordionImplement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support./syncfusion-aspnetcore-Other plugins' skills for the same job