- Online Barcode Generator
- How To
- Buy Now
Information to Edit Modes of Html Editor
Similar to other advanced text editing applications, the PerHtmlEditor Control also offers developers with three commonly used editing modes, which are Design, Html and Preview. With these three editing modes, users can easily switch to certain edit mode for achieving specific editing purpose.
In this guiding page, we will not only introduce the different functions of these three editing modes, but also offer sample programming codes to illustrate how to change the editing mode in ASP.NET web application.
Introduction to Three Editing Modes
Now we will briefly illustrate the functions of these three editing modes respectively.
Note: these three editing modes of the html editor can be freely switched.
How to Change Edit Mode Programmatically
In this section, we will show you how to change the editing mode of the html editor using programming code.
How to change edit mode in aspx web page
<kettic:PerHtmlEditor ID="PerHtmlEditor1" runat="server" EditModes="All">
<kettic:PerHtmlEditor ID="PerHtmlEditor1" runat="server" EditModes="Design,Html,Preview">
How to change edit mode using C# code
PerHtmlEditor1.EditModes = EditModes.Design | EditModes.Html | EditModes.Preview;
Other Feature Tutorials for the HtmlEditor
ASP.NET AJAX UI Controls