This is a migrated thread and some comments may be shown as answers.

CurrentUser Problem

3 Answers 49 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Suzanne
Top achievements
Rank 1
Suzanne asked on 08 Dec 2016, 10:49 AM

This code doesn't change anything...

SetCurrentAuthor("test", System.Windows.Media.Colors.Purple)

Public Sub SetCurrentAuthor(ByVal authorName As String, ByVal color As System.Windows.Media.Color)
        RadRichTextBox1.CurrentUser = New Model.UserInfo(authorName, authorName, authorName, String.Empty)
        RadRichTextBox1.TrackChangesOptions.CurrentAuthorColor = color
End Sub

 

I have an older version, so maybe I just need the update?

 

 

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 13 Dec 2016, 08:09 AM
Hi Suzanne,

I tested your code with version Q2 2013 and also the latest version. The current author is changed properly. You can take a look at the Track Changes help article and also double check if the feature is enabled.

Regards,
Martin
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
0
Suzanne
Top achievements
Rank 1
answered on 13 Dec 2016, 03:51 PM
How do I 'double check if the feature is enabled'? Is it just enabling Track Changes (RadRichTextBox.IsTrackChangesEnabled = true)?
0
Petar Mladenov
Telerik team
answered on 16 Dec 2016, 09:54 AM
Hi Suzanne,

Yes, this is the property which enables the feature. 

Regards,
Petar Mladenov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
RichTextBox
Asked by
Suzanne
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Suzanne
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or