About the HTML Editor
The DevExpress ASP.NET MVC HTML Editor is a rich-text WYSIWYG HTML editor extension. Its intuitive user interface enables even inexperienced users to edit HTML page content with ease.
Two simple steps to add a DevExpress HtmlEditor extension to your page are as follows:
1. Editing the View. First, you need to declare the HtmlEditor extension inside of the View. Specifically, you will create a Partial View because the extension provides AJAX callbacks by default, to give your end-users a better experience without updating the entire page. However, because ASP.NET MVC does not support callbacks, declare the HtmlEditor extension inside of a Partial View and define how the callbacks will be routed back to your controller using the CallbackRouteValues property:
Partial View code:
2. Editing the Controller. Finally, the controller is where you'll need to define the action methods that will handle HtmlEditor's callbacks. The "OverviewPartial" action method below handles the callbacks. As you can see, the native DevExpress HtmlEditor extension follows the ASP.NET MVC pattern while still providing powerful features for your end-users.
Watch a short six-minute getting started video now to learn about the DevExpress HtmlEditor extension for ASP.NET MVC.