Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Telerik
Build great .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
Support and Learning
Productivity and Design Tools
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
RadEditor provides a rich client-side event model. You can attach custom client-script code (JavaScript) to a number of client-side events fired by the editor. All client-side events are exposed as string properties to the RadEditor instance with the value being the name of the JavaScript function to be called.
Below is a list of all client-side events that are currently supported by RadEditor:
<%@ Page Theme="Default" Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs"Inherits="Telerik.Web.Examples.Editor.ClientsideEvents.DefaultCS" %> <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> <%@ 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" /> <script src="scripts.js"></script> </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 size-custom"> <telerik:RadEditor RenderMode="Lightweight" ID="RadEditor1" runat="server" Width="850px" SkinID="DefaultSetOfTools" OnClientLoad="TelerikDemo.OnClientLoad" OnClientCommandExecuted="TelerikDemo.OnClientCommandExecuted" OnClientCommandExecuting="TelerikDemo.OnClientCommandExecuting" OnClientSelectionChange="TelerikDemo.OnClientSelectionChange" OnClientModeChange="TelerikDemo.OnClientModeChange" OnClientSubmit="TelerikDemo.OnClientSubmit" OnClientDomChange="TelerikDemo.OnClientDomChange" OnClientInit="TelerikDemo.OnClientInit" OnClientInlineEditCompleted="TelerikDemo.OnClientInlineEditCompleted" OnClientPasteHtml="TelerikDemo.OnClientPasteHtml" EditType="Normal"> <Content> <img alt="product logo" src="../../images/productLogoLight.gif" />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: <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> <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> </ul> </Content> </telerik:RadEditor> <div class="margin-top-bottom"></div> <telerik:RadButton RenderMode="Lightweight" ID="Button1" runat="server" Text="Submit" Width="100px"></telerik:RadButton> </div> <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1"></telerik:RadAjaxLoadingPanel> <qsf:EventLogConsole ID="EventLogConsole1" runat="server" AllowClear="true"></qsf:EventLogConsole> <telerik:RadAjaxManager runat="server" ID="AjaxManager1"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="Button1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadEditor1" LoadingPanelID="LoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="EditTypeChooser"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadEditor1" LoadingPanelID="LoadingPanel1" /> <telerik:AjaxUpdatedControl ControlID="EditTypeChooser" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <qsf:ConfiguratorPanel runat="server"> <Views> <qsf:View runat="server"> <qsf:RadioButtonList runat="server" ID="EditTypeChooser" Orientation="Horizontal" Label="Change to Inline Mode" OnTextChanged="EditTypeChooser_TextChanged" AutoPostBack="true"> <asp:ListItem Selected="True" Text="Normal" /> <asp:ListItem Text="Inline" /> </qsf:RadioButtonList> <span>(<strong>Inline Editing</strong> mode will enable you to examine the <strong>OnClientInlineEditCompleted</strong> event.)</span> </qsf:View> </Views> </qsf:ConfiguratorPanel> </form> </body> </html>