New to Telerik UI for ASP.NET CoreStart a free 30-day trial

Adding a Rotating-Image Functionality to the ImageEditor

Updated on Dec 10, 2025

Environment

ProductTelerik UI for ASP.NET Core ImageEditor
Progress Telerik UI for ASP.NET Core versionCreated with the 2022.2.621 version

Description

How can I add a functionality for rotating images in the Telerik UI for ASP.NET Core ImageEditor?

Solution

To achieve the desired scenario:

  1. Add a custom button in the ToolBar of the ImageEditor that executes a custom command.
  2. When the command is triggered, execute custom logic to rotate the image.
Razor
        .Toolbar(toolbar => toolbar.Items(i =>
        {
            i.Add().Command("RotateImageRightImageEditorCommand").Type("button").Text("Rotate Image");

        }))         

For the complete implementation of approach suggested above, refer to the following Telerik REPL.

More ASP.NET Core ImageEditor Resources

See Also