THEMES
THEME SETTINGS

Rich Text Editor Overview

  • Undo

    Undo
    po
  • Clipboard

    Clipboard
    po
  • v
    v
    popopo
    dialogboxlauncherFont

    Font
    po
  • popo
    dialogboxlauncherParagraph

    Paragraph
    po
  • up
    down
    gpo

    Quick Styles
    Styles

    Styles
    po
  • Editing

    Editing
    po
  • Table Style Options

    Table Style Optionspo
  • up
    down
    gpo

    Quick Styles
    Table Styles

    Table Stylespo
  • v
    v
    dialogboxlauncherBorders & Shadings

    Borders & Shadingspo
  • Navigation

    Navigation
    po
  • Options

    Options
    po
  • Header from Top:
    +
    -
    Footer from Bottom:
    +
    -
    Position

    Position
    po
  • Close

    Close
    po
About the Rich Text Editor

The DevExpress ASP.NET MVC Rich Text Editor (RichEdit) is a Microsoft Word inspired extension – with the power and flexibility you’d expect from an online, web-based word processor. It helps you create full-featured text applications with complex formatting and display capabilities. The Rich Text Editor supports loading, saving, and conversion to and from today's most popular text-based document formats and PDF export options. With the Rich Text Editor, you can finally give your end-users the ability to create, edit and save rich-text documents within their browser.

The following code demonstrates how to add a Rich Text Editor to your web project and programmatically load an RTF document to the editor.

View code:

@using(Html.BeginForm()) {
    @Html.Partial("OverviewPartial")
}


Partial View code:

@Html.DevExpress().RichEdit(settings => {
    settings.Name = "RichEdit";
    settings.CallbackRouteValues = new { Controller = "Overview", Action = "OverviewPartial" };

}).Open(Server.MapPath("~/App_Data/Documents/Overview.rtf")).GetHtml()


Controller code:

public class HomeController: Controller {
  public ActionResult Index() {
    return View("Overview");
  }
  public ActionResult OverviewPartial() {
    return PartialView("OverviewPartial");
  }
}

Resources to Learn
Key Features
  • Microsoft Office Inspired UI
    The RichEdit provides a user experience similar to that of Microsoft Word Online. It includes full integration with the DevExpress ASP.NET MVC Ribbon extension.
  • Support for Popular File Formats
    You and your end-users can load, convert and save documents in today’s most popular document file formats including DOCX, DOC, RTF, ODT, TXT, XML, HTML, MHT and EPUB.
  • Character Formatting
    Characters can be formatted using different settings for font, font size, character style (bold, italics, underlined, strike-through) and different colors for background and foreground.
  • Paragraph Formatting
    Formatting options for paragraphs include alignment, indentation, variable paragraph and line spacing.
  • Styles
    Styles facilitate quick modification of a document's formatting and allow centralized control over formatting options. The editor supports both paragraph and character based styles, as well as multiple style inheritance. Its stylesheets are compatible with Microsoft Word.
  • Pictures
    Incorporate pictures into a document inline with text and have the ability to move, transform and delete inline pictures in the document.
Version: v2016 vol 2.5
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.