New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Items Binding
Updated on Oct 24, 2025
The PanelBar enables you to declare its items and the properties of each item within the helper declaration.
The following example demonstrates how to configure the PanelBar items using the Items() configuration.
Razor
@(Html.Kendo().PanelBar()
    .Name("panelbar") // The name of the PanelBar is mandatory. It specifies the "id" attribute of PanelBar's HTML element.
    .Items(items =>
    {
        items.Add().Text("Item 1").Expanded(true).Selected(true);
        items.Add().Text("Item 2");
    })
)When the
Itemsconfiguration is used, the component generates internally the required HTML markup used for its initialization. In this scenario theDataBoundevent does not fire.