When adding a new document to the same instance of a RichTextEditor, the UIProviderRegistry instance of the RichTextBox will keep a dictionary entry for a SectionLayoutBox that contains a reference to a non cleaned up WaterMarkUiProvider.
This SectionLayoutBox in turn has a reference to a DocumentLayoutBox (parent) which has a reference to an old document instance.
A new dictionary entry is added and (retained) for every document loaded.
Disposing the old document makes no difference.
Hello Florens,
Thank you for the detailed explanation. I was able to reproduce the case where WaterMarkUiProvider instances are remaining in the memory. I have approved this item and updated your Telerik points accordingly.
Unfortunately, I cannot suggest a workaround for this issue.
Thank you for your understanding.
Regards,
Dimitar
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.