New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Drawer Items
- EXAMPLE
- VIEW SOURCE
-
Change Theme
meridianMeridian Theme
- Main
- Main Dark
Default Theme- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Material 2
- Material 2 Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
- Main Dark
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
The Telerik UI for ASP.NET Core Drawer supports populating its navigation from a data array through the Items configuration. Each item can define a text label, an icon, separator behavior, selected state, and custom HTML attributes.
In this demo, the Drawer navigation is defined entirely through the Items builder. The Attributes option is used to attach a data-id attribute to each item, which the ItemClick event handler uses to show the corresponding content panel.
Key configuration options:
- Items—Defines the navigation items directly in the server-side configuration without the need for an HTML template.
Text—The label displayed next to the icon.Icon—The name of a Kendo UI font icon to render alongside the text.Separator—When set totrue, renders a visual divider between groups of items.Selected—Marks an item as initially selected.Attributes—A collection of custom HTML attributes applied to the rendered item element.
The ASP.NET Core Drawer component is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 120+ components for building modern and feature-rich web applications. The UI for ASP.NET Core Drawer is a server-side wrapper for the Kendo UI for jQuery Drawer component and supports an HtmlHelper and a TagHelper mode.