Telerik UI for ASP.NET Core SegmentedControl Overview

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
Index_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API
devcraft ninja image

The SegmentedControl component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 120+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET Core SegmentedControl renders a group of buttons that allow the user to select a single option from a set of mutually exclusive choices. Each button represents one segment and can display a text label, an icon, or both.

The current demo shows a basic implementation of the SegmentedControl with several items and a pre-selected value.

Functionality and Features

  • Layout Modes–Choose between compact mode, where each segment sizes to its content, and stretch mode, where all segments share the container width equally.
  • Icons–Enhance segment buttons with icons from the Kendo UI theme, custom CSS classes, or a combination of icons and text labels.
  • Events–You can subscribe to the Change event and implement custom logic when the user selects a different segment.
  • Keyboard Navigation–The SegmentedControl supports keyboard navigation for moving focus between buttons and activating the selected segment.

Additional Apps

This SegmentedControl 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