CurrentUser Problem

4 posts, 0 answers
  1. Suzanne
    Suzanne avatar
    8 posts
    Member since:
    Jul 2013

    Posted 08 Dec 2016 Link to this post

    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?

     

     

  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1329 posts

    Posted 13 Dec 2016 Link to this post

    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.
  3. Suzanne
    Suzanne avatar
    8 posts
    Member since:
    Jul 2013

    Posted 13 Dec 2016 in reply to Martin Ivanov Link to this post

    How do I 'double check if the feature is enabled'? Is it just enabling Track Changes (RadRichTextBox.IsTrackChangesEnabled = true)?
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2969 posts

    Posted 16 Dec 2016 Link to this post

    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.
Back to Top