Track Changes
This article shows how to enable, configure and use the built-in Track Changes feature of the Telerik Editor for ASP.NET AJAX.
The Track Changes feature is available since Q2 2012.
Figure 1: RadEditor with Tracked Changes enabled.

Quick navigation:
- Overview
- Enabling Track Changes Feature and Tools
- User Configuration
- Generated HTML
- Client-side Methods
- Server-side Methods
- Supported Commands
Overview
The Track Changes feature enables end-users to keep track of the changes made when editing the content in the RadEditor. Changes are tracked when e.g., applying text formatting to a text selection, entering new content, deleting existing one, etc (Figure 1). Additionally, on selecting a tracked change a little pop up with details about it will appear at the bottom right corner of the browser or the relative positioned parent (Figure 2).
Figure 2: Popup dialog with details about the selected tracked change.

Further, the tracked change(s) can be accepted or rejected based on the set user permissions(you can check how to configure the user settings in the User Configuration section).
The Track Changes feature comes with built-in tools that enables the user to enable/disable the feature,and to accept or reject track changes in the content. The following list provides descriptions for all of the provided tools:
- Accept Track Change - click the button to accept the last change
- Reject Track Change - press the button to reject the selected change
- Accept All Track Changes - accepts all changes in the document
- Reject All Track Changes - rejects all changes in the document
- Enable Track Changes Override - turns Track Changes on or off
Enabling Track Changes Feature and Tools
The following steps will guide you on enabling the Track Changes feature and adding the tools in the RadEditor toolbar:
-
Set the EnableTrackChanges property to true:
ASP.NET<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1" EnableTrackChanges="true"> </telerik:RadEditor> -
Enable the built-in Track Changes tools:
<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1" EnableTrackChanges="true">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="AcceptTrackChange" />
<telerik:EditorTool Name="RejectTrackChange" />
<telerik:EditorTool Name="AcceptAllTrackChanges" />
<telerik:EditorTool Name="RejectAllTrackChanges" />
<telerik:EditorTool Name="EnableTrackChangesOverride" />
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
RadEditor1.EnsureToolsFileLoaded(); // Load default set of tools
EditorToolGroup trackChangesTools = new EditorToolGroup();
trackChangesTools.Tools.Add(new EditorTool("AcceptTrackChange"));
trackChangesTools.Tools.Add(new EditorTool("RejectTrackChange"));
trackChangesTools.Tools.Add(new EditorTool("AcceptAllTrackChanges"));
trackChangesTools.Tools.Add(new EditorTool("RejectAllTrackChanges"));
trackChangesTools.Tools.Add(new EditorTool("EnableTrackChangesOverride"));
RadEditor1.Tools.Add(trackChangesTools);<tools name="TrackChangesToolbar">
<tool name="AcceptTrackChange" Text="Accept Track Change"/>
<tool name="RejectTrackChange" Text="Reject Track Change"/>
<tool name="AcceptAllTrackChanges" Text="Accept All Track Changes"/>
<tool name="RejectAllTrackChanges" Text="Reject All Track Changes"/>
<tool name="EnableTrackChangesOverride" Text="Enable Track Changes Override"/>
</tools>
At this point, the Track Changes feature is ready to be used by end-users.Changes can be tracked in the text and the built-in tools are provided in the toolbar.
By default, the tracked changes cannot be accepted or rejected, because the initial user setting restricts it, i.e., the corresponding tools are disabled. Optionally, you canalter the user settings by reconfiguring the TrackChangesSettings where you can change the Author, UserCssId and CanAcceptTrackChanges properties. The following section will explain more details about these properties.
User Configuration
In Track Changes the user settings are the way to define the name of the editor, what stylization are applied based on the settings and configure if changes can be accepted/rejected.
These setting are available in the TrackChangesSettings inner tag, where the following properties are exposed:
-
Author—the name with which the editor to be recognized.
-
UserCssId