Undo breaks after RadRichTextBox.InsertHyperlink

4 posts, 0 answers
  1. Ken
    Ken avatar
    5 posts
    Member since:
    Jan 2013

    Posted 04 Feb 2013 Link to this post

    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
  2. Plamen
    Admin
    Plamen avatar
    132 posts

    Posted 07 Feb 2013 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ken
    Ken avatar
    5 posts
    Member since:
    Jan 2013

    Posted 19 Feb 2013 Link to this post

    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
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 22 Feb 2013 Link to this post

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