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

The strange behavior of Redo method.

3 Answers 54 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Petirim
Top achievements
Rank 1
Petirim asked on 22 Oct 2012, 10:12 AM
Hi,

It seems that Redo method is acting like Undo method.
Maybe I'm doing something wrong?
private void btnRedo_Click(object sender, System.EventArgs e)
       {
           _richTextBox.Redo();
           _richTextBox.Focus();
       }

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Oct 2012, 12:52 PM
Hi Igor,

Thank you for writing.

I can confirm that currently the Redo method of the control in fact performs an undo. I am logging this case in our Public Issue Tracking System and we will address it in the next release. Here you can subscribe to status updated regarding this case: http://www.telerik.com/support/pits.aspx#/details/Issue=13112

In the meantime, here is how you can use the Redo method:
radRichTextBox1.DocumentView.Redo();

Thank you for this report. Your Telerik Points have been updated accordingly.

Regards,
Stefan
the Telerik team
You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
0
Paul
Top achievements
Rank 1
answered on 04 Jan 2013, 06:36 PM
I get the same behavior with radRichTextBox1.DocumentView.Redo();.
It does an Undo.

0
Stefan
Telerik team
answered on 09 Jan 2013, 04:58 PM
Hi Paul,

That is correct, since the control's Redo method calls the DocumentView method. I am glad to inform you that the issue is resolved since Q3 2012. Feel free to download our latest release in order to take advantage of the fix.

It seems that there was a problem with the PITS item update, however, it is now updated accordingly.
 
Kind regards,
Stefan
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Petirim
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Paul
Top achievements
Rank 1
Share this question
or