How to turn off 'Enable Track Changes Override' by default?

3 posts, 0 answers
  1. kartik
    kartik avatar
    11 posts
    Member since:
    Jun 2014

    Posted 03 Jul 2015 Link to this post

    How to turn off 'Enable Track Changes Override' by default? I want want it to be ON only whne it is clicked.

    I am using Telerik version  v2014.3.1209.35

  2. Ianko
    Admin
    Ianko avatar
    1660 posts

    Posted 06 Jul 2015 Link to this post

    Hello Kartik,

    The client-side API exposes the set_enableTrackChangesOverride method that can enable you to toggle the Track Changes Override. See this example:
    <telerik:RadEditor runat="server" ID="RadEditor1" EnableTrackChanges="true"
        OnClientLoad="OnClientLoad">
        <Tools>
            <telerik:EditorToolGroup>
                <telerik:EditorTool Name="AcceptTrackChange" Text="Accept Track Change" />
                <telerik:EditorTool Name="RejectTrackChange" Text="Reject Track Change" />
                <telerik:EditorTool Name="AcceptAllTrackChanges" Text="Accept All Track Changes" />
                <telerik:EditorTool Name="RejectAllTrackChanges" Text="Reject All Track Changes" />
                <telerik:EditorTool Name="EnableTrackChangesOverride" Text="Enable Track Changes Override" />
            </telerik:EditorToolGroup>
        </Tools>
    </telerik:RadEditor>
     
    <script>
        function OnClientLoad(editor, args) {
            editor.set_enableTrackChangesOverride(true);
        }
    </script>


    Regards,
    Ianko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. kartik
    kartik avatar
    11 posts
    Member since:
    Jun 2014

    Posted 06 Jul 2015 in reply to Ianko Link to this post

    Yes, this solves the problem. Thanks alot for the support.
Back to Top