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

Built-in Modules

  • Show/Hide Border
  • Table Properties
  • Delete Table
  • Row
    • Insert Row Above
    • Insert Row Below
    • Delete Row
  • Column
    • Insert Column to the Left
    • Insert Column to the Right
    • Delete Column
  • Cell
    • Merge Cells Horizontally
    • Merge Cells Vertically
    • Split Cell Horizontally
    • Split Cell Vertically
    • Delete Cell
  • Cell Properties
  • Table Properties
  • Properties...
  • Image Map Editor
  • Properties...
  • OpenLink
  • Remove Link
  • Insert Select
  • Cut
  • Copy
  • Paste
  • Paste from Word
  • Paste Plain Text
  • Paste As Html
  • Paste Html

Modules are special units in RadEditor, used for providing some statistics or for easier setting of properties for HTML elements.

Modules can dynamically change their content and provide some level of interactivity. Just change some text and see the changes appear immediately in the HTML View Module.

RadEditor comes with several modules included:

  • Statistics
  • DOM Inspector
  • Node Inspector
  • Real-Time HTML View

The modules could be visible or hidden via the Module Selector tool .

They can be registered:

  • Inline in the RadEditor's declaration using the <Modules> and <telerik:EditorModule>inner-tags:

    <telerik:radeditor runat="server" ID="RadEditor1">   
       
    <Modules>
     
          <telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true"/>
            <
    telerik:EditorModule Name="RadEditorDomInspector" Visible="true" Enabled="true"/>
            <
    telerik:EditorModule Name="RadEditorNodeInspector" Visible="true" Enabled="true"/>
            <
    telerik:EditorModule Name="RadEditorHtmlInspector" Visible="true" Enabled="true"/>
        </
    Modules>
    </telerik:radeditor>
  • Via the codebehind:

    using Telerik.Web.UI;
    ...
    EditorModule htmlInspector
    = new EditorModule();
    htmlInspector.Name = "RadEditorHtmlInspector";
    htmlInspector.Visible = true;
    RadEditor1.Modules.Add(htmlInspector);
  • Via the ToolsFile.xml file:

    <modules>
       
    <module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true" />
        <
    module name="RadEditorDomInspector" dockingZone="Module" enabled="true" visible="true" />
        <
    module name="RadEditorNodeInspector" dockingZone="Module" enabled="true" visible="true"/>
        <
    module name="RadEditorHtmlInspector" dockingZone="Module" enabled="true" visible="false" />
    </
    modules>

More information about the built-in modules is available in the following help article: Types of Modules.

Related Resources

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
  • BasicTools.xml
<%@ Page Language="C#" Theme="Default" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs"Inherits="Telerik.Web.Examples.Editor.BuiltinCustomModules.DefaultCS"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
<link href="../Common/styles.css" rel="stylesheet" type="text/css" />
    <link href="styles.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container">
        <telerik:RadEditor RenderMode="Lightweight" SkinID="DefaultSetOfTools" runat="server" ID="RadEditor1" Height="550px" Width="850"
            ToolsFile="BasicTools.xml" CssClass="centered-editor">
            <Modules>
                <telerik:EditorModule Name="RadEditorDomInspector" Visible="true" Enabled="true"></telerik:EditorModule>
                <telerik:EditorModule Name="RadEditorNodeInspector" Visible="true" Enabled="true"></telerik:EditorModule>
            </Modules>
            <Content>
            <table style="width: 650px; height: 305px; border: 1px solid #f00;" cellspacing="2">
                <tbody>
                    <tr>
                        <td> <img alt="product logo" src="../../images/productLogoLight.gif" /></td>
                        <td>
                        <p style="text-align: justify;"><span style="COLOR: 111111;FONT-SIZE: 11px; FONT-FAMILY: MS Sans Serif">is the successor of the well known industry standard Editor for ASP.NET. The tight integration with ASP.NET AJAX and the powerful new capabilities make Telerik's WYSIWYG Editor a flexible and lightweight component, turning it into the fastest loading Web Editor. Among the hottest features are: </span></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <ul>
                            <li><em>Single-file, drag-and-drop deployment</em> </li>
                            <li><em>Built on top of ASP.NET AJAX</em> </li>
                            <li><em>Unmatched loading speed with new semantic rendering </em></li>
                            <li><em>Full keyboard accessibility</em> </li>
                        </ul>
                        </td>
                        <td>
                        <ul>
                        <li><em>Flexible Skinning mechanism</em> </li>
                        <li><em>Simplified and intuitive toolbar configuration</em> </li>
                        <li><em>Out-of-the-box XHTML-enabled output</em></li>
                        <li><em>Full keyboard accessibility</em> </li>
                        </ul>
                        </td>
                    </tr>
                </tbody>
            </table>
            </Content>
        </telerik:RadEditor>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance