Quick/Easy Question about TrackChanges

2 posts, 1 answers
  1. Craig
    Craig avatar
    26 posts
    Member since:
    Jan 2019

    Posted 12 Apr 2019 Link to this post

    I am building a page where multiple users collaborate on writing a document.  But I want to check to be sure that all changes have been accepted or rejected prior to submitting the document for approval.  Is there a client-side method that will tell me that, or do I just need to write a quick method that looks for the pending changes tags?  I don't mind writing it, as it wouldn't be difficult, but I'm just hoping that there is a more native solution.


    Something like below:

    if (RadEditor.hasPendingChanges() == false)


  2. Answer
    Rumen avatar
    14320 posts

    Posted 17 Apr 2019 Link to this post

    Hi Craig,

    The Track Changes feature gives you the following built-in client-side methods:

    • get_htmlAcceptChanges() - returns HTML content as if Accept All Track Changes is fired.
    • get_htmlRejectChanges() - returns HTML content as if Reject All Track Changes is fired.
    • set_enableTrackChangesOverride() - pass true to prevent the editor from tracking the changes. Useful when you want the user to be able to track changes, but only after clicking the button on the toolbar (see the example below). Pass false to have the editor start tracking changes.
    • get_enableTrackChangesOverride() - returns whether the tracking changes are paused when the user types. When true is returned, changes are not tracked.

    You can implement your own validation mechanism by using the above methods.

    Best regards,

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top