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


  • 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
  • Demo Configurator

This example demonstrates the easy automated integration between RadRibbonBar and RadEditor.

The RibbonBar member of the ToolBarMode enumeration property configures RadEditor to use a RadRibbonBar control as a container for its tools.

There are some RibbonBar related properties which are added for the tools and tool xml elements in the editor's ToolsFile file.
  • For the tools elements the "name" property sets the RibbonBarGroup control, in which the tool is loaded and the "tab" property sets the RibbonBarTab contorl, in which the group is loaded.
  • For the tool elements the "size" property sets the size of the buttons. You can review the tools.xml file in the "Source Code" section of this demo.
  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
  • tools.xml
<%@ Page Theme="Default" Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs"    Inherits="Telerik.Web.Examples.Controls.Integration.RibbonBarAndEditor.DefaultCS" %>

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-containers">
    <div class="demo-container">
        <telerik:RadEditor RenderMode="Lightweight" ID="RadEditor1" runat="server" ToolbarMode="RibbonBar" _ToolsFile="tools.xml"
            SkinID="DefaultSetOfTools" CssClass="centered-editor" Height="580">

    <qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1">
                <telerik:RadComboBox RenderMode="Lightweight" AutoPostBack="true" ID="ChooseToolbarMode" runat="server" 
                    OnSelectedIndexChanged="ChooseToolbarMode_SelectedIndexChanged" Label="Choose Toolbar Mode">
                    <telerik:RadComboBoxItem runat="server" Text="RibbonBar" Value="RibbonBar" Selected="true"></telerik:RadComboBoxItem>
                    <telerik:RadComboBoxItem runat="server" Text="RibbonBarFloating" Value="RibbonBarFloating"></telerik:RadComboBoxItem>
                    <telerik:RadComboBoxItem runat="server" Text="RibbonBarPageTop" Value="RibbonBarPageTop"></telerik:RadComboBoxItem>
                    <telerik:RadComboBoxItem runat="server" Text="RibbonBarShowOnFocus" Value="RibbonBarShowOnFocus"></telerik:RadComboBoxItem>
                <CollapseAnimation Duration="200" Type="OutQuint"></CollapseAnimation>

Support & Learning Resources

Find Assistance