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

ASP.NET MVC Editor Custom Tools

Loading Demo...

Also available for:



This example shows how to customize some of the native Telerik UI for ASP.NET MVC Editor tools, such as font size, font name, and block format, by modifying the item collections of the tool, as well as how to create completely custom tools, such as a Content Area Background Color and Insert a Horizontal Ruler.

You can use the Add method of the FontName, FontSize, and Formatting settings to modify the default font size, font name, and formatblock options set.

To add a new custom button on the toolbar, set the Tools CustomButton: .CustomButton(cb => cb.Name("custom").ToolTip("horizontal rule").Exec("execFunction")), where the Exec param has to be the name of a JavaScript function that will be fired when the custom button is clicked.

To create a custom drop-down with a label next to it, set the Tools CustomTemplate and specify the HTML markup that will be rendered on the toolbar.

Additional Apps

This Editor example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC 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 the ThemeBuilder.

Support & Learning Resources

Additional Resources