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

ASP.NET Core PanelBar Events

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
events.cshtml
EventsController.cs
Events_TagHelper.cshtml
CONSOLE LOG Clear log

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET Core PanelBar supports a comprehensive set of events which enable you to provide fluent experience and smooth interaction with the component. Subscribing to the PanelBar events allows you to react to different user actions, such as clicking on an item, or expanding or collapsing it. Also, you can customize the appearance of the items by applying CSS styles. You can also use the ASP.NET Core PanelBar events in both the TagHelper and HtmlHelper mode of the component depending on your preferences or background.

This demo shows how to handle some of the available events for the ASP.NET Core PanelBar. By interacting with the component and in the console log, you can inspect the Activate, Expand, Collapse, and Select events.

Additional Apps

This PanelBar example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources