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

Undo breaks after RadRichTextBox.InsertHyperlink

3 Answers 63 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 04 Feb 2013, 10:04 PM
Say you create a new document and insert a hyperlink, using RadRichTextBox.InsertHyperlink, then try to Undo that using RadRichTextBox.Undo.  You get a nasty, untrappable "NullReferenceException:  FromElement must not be null".  What is interesting is that this only happens if the hyperlink is the first thing on a line/paragraph.  It works just fine as long as there's something to the left of it (even just a space).

Putting the RadRichTextBox.Undo() call inside a Try/Catch does not catch the exception in either debug or runtime.

Any thoughts/suggestions?

- Ken

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 07 Feb 2013, 09:47 PM
Hello Ken,

Thank you for writing.

We are aware of this issue and it will be addressed in our upcoming major release Q1 2013 scheduled for the second half of February. Due to the nature of the issue I am not able to provide you with a workaround for the time being. 

We will appreciate your feedback on the new release when it is ready and made public. Do not hesitate to contact us back if you need anything else.

Kind regards,
Plamen
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
0
Ken
Top achievements
Rank 1
answered on 19 Feb 2013, 09:41 PM
Plamen,

I appreciate the response.  I anxiously await your major release.  This bug is preventing me from moving forward with my project.  So as soon as this release is available, please let me know.

Many thanks.

- Ken
0
Stefan
Telerik team
answered on 22 Feb 2013, 01:30 PM
Hi Ken,

I am writing to inform you that the release is already out. Feel free to download it and give it a try.

Greetings,
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
Ken
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Ken
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or