Telerik UI for ASP.NET Core FloatingToolBar Overview

Loading Demo...
  • EXAMPLE
    VIEW SOURCE

Also available for:

CLIENT-SIDE API HTML HELPER API
devcraft ninja image

The FloatingToolBar 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 FloatingToolBar hosts a ToolBar in a floating container that supports alignment, anchoring, and optional pointer or keyboard dragging.

This example uses the FloatingToolBar as an inline text editor. Select text in the About me section to open the FloatingToolBar next to the selection. Use its ColorPicker to change the text color and its Bold, Italic, and Underline toggle buttons to format the selected text. The phrase "software developer who turns complex problems into simple, reliable applications" is selected and bold by default, so the toolbar is open when the demo loads. The toolbar reflects the formatting of the current selection and closes when the selection is cleared. Click the profile photo to open a second FloatingToolBar with Upload and Delete buttons.

The HtmlHelper and TagHelper examples declare both FloatingToolBars, the ColorPicker item template, and the buttons with ASP.NET Core syntax. Client-side code anchors the toolbars to the selection or the photo through the show and setAnchor methods and applies the formatting.

Additional Apps

This FloatingToolBar 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.

Additional Resources