Judging by your code it seems you might be trying to use the AddAfter() method on an already measured document
(one that has already been visualized in the RadRichtextBox). This may cause various issues so it is not recommended.
The recommended approach is to use the InsertTable() method of RadRichTextBox (or RadDocumentEditor
in case you are not actually showing the document to the user) instead.
Of course, if you have any concerns or meet any difficulties implementing this approach, please, don't hesitate to get back to us.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>