Telerik UI for ASP.NET Core Sortable Basic Usage

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

Also available for:

CLIENT-SIDE API HTML HELPER API
devcraft ninja image

The Sortable component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ 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 Sortable provides a drag-and-drop functionality to the elements that match the selector passed to its For configuration method.

The current example displays a configuration of an unordered HTML list integrated with the Sortable component and allowing users to rearrange the list items.

The ASP.NET Core Sortable control is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The Sortable is a server-side wrapper for the Kendo UI for jQuery Sortable component and supports an HtmlHelper and a TagHelper mode.

Functionality and Features

  • Hint—The Sortable control renders a hint that is the element which represents the dragged item and is a clone of the dragged item.
  • Items—You can also adjust the behavior of the Sortable items.
  • Cursor—The Sortable supports a set of cursor types that will be displayed while the user is dragging a sortable item.
  • Placeholder—You can set the behavior of the element which indicates where the dragged item will be placed when the user drops it.
  • Integration with other components—The Sortable enables you to reorder the items in the Telerik UI for ASP.NET Core Grid, ListView, and TabStrip components.

Additional Apps

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