Declined
Last Updated: 18 Jun 2025 12:51 by ADMIN
Daniel
Created on: 11 Jun 2025 17:16
Category: RichTextBox
Type: Bug Report
0
RadRichTextBox Change Tracking: RevisionInfo.Date is missing the seconds

Can be reproduced in the demo:

  • Open the default document in the radrichtextbox demo
  • Activate change tracking (button "Track Changes")
  • Make a modification to the document (delete a paragraph)
  • Hover your mouse over the delete text: the date in the revision info. has always ":00" for the seconds

In our processes, it is very important to know if a change happened before or after another action. If all the revisions have zero seconds, it's impossible to determine the order of the changes when they happened in the same minute.

This is not a new bug introduce in SP2: it was there in SP1.

2 comments
ADMIN
Martin Ivanov
Posted on: 18 Jun 2025 12:51

Hello Daniel,

This behavior is intentional and it mimics how MS Word saves revisions. It is designed to track changes at a minute interval which is more clear and performance efficient in general.

If you need to save also the seconds in the revision infos, you can use the RequestCurrentUserInfo event of RadDocument like so:

private void RadDocument_RequestCurrentUserInfo(object? sender, Telerik.Windows.Documents.Model.RequestCurrentUserInfoEventArgs e)
 {
var document = (RadDocument)sender; Dispatcher.BeginInvoke(new Action(() => { var revision = document.GetAllRevisions().Last(); revision.RevisionInfo.Date = DateTime.Now; })); }

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Daniel
Posted on: 11 Jun 2025 17:24
I meant: This is not a new bug introduce in Q2: it was there in Q1.