The DevExpress ASP.NET MVC Rich Text Editor (RichEdit) provides the Simple View mode to display documents ignoring the page's layout. In this mode, the control adjusts the document so that it occupies the entire control's content area.
You can enable the Simple View mode in the following ways:
- Click the Simple View Ribbon's command
- Execute the changeViewType client command
- Set the ViewType server-side property to Simple
This demo illustrates how the document's layout is adapted to the control's width when the Rich Edit is in the Simple View mode. Drag the vertical slider to change the Rich Edit's width and see how the document fits the control.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxRichEditDemos