Completed
Last Updated: 29 Mar 2018 12:38 by ADMIN
ADMIN
Tanya
Created on: 27 Jun 2017 08:21
Category: RichTextBox
Type: Bug Report
2
RichTextBox: XamlParseException is thrown when the ImageAdornerUI resources are not present in App.Current.Resources or App.Current.Resources.MergedDictionaries
When the control is used in NoXaml scenario and the required resources are merged in the resources of the Window/UserControl containing RadRichTextBox, XamlParseException is thrown at runtime with a message "Cannot find resource named 'thumbStroke'."
or
the App.Current.Resources.MergedDictionaries is cleared.

Workaround: Merge Telerik.Windows.Documents.xaml and Telerik.Windows.Controls.RichTextBoxUI.xaml in App.xaml.
or
Merge the resourced before initializing RadRichTextBox:
 App.Current.Resources.MergedDictionaries.Add(new ResourceDictionary()
            {
                Source = new Uri("/Telerik.Windows.Documents;component/Themes/Styles/ImageAdornerUIResourcesDictionary.xaml", UriKind.RelativeOrAbsolute)
            });


Fix available in R3 2017 Official Release version.
2 comments
ADMIN
Tanya
Posted on: 29 Mar 2018 12:38
Hi Eran,

This issue has been already fixed in an official version (R3 2017). If you are using an older version, can you please update the controls so you can get the fix? If you are still experiencing any issues, could you please submit a support ticket ( https://www.telerik.com/account/support-tickets ) so we can investigate the case?
Eran
Posted on: 01 Feb 2018 12:20
hi,

i ran into this issue but the suggested workaround doesn't work for me.
can you please explain how can i solve this issue?

attached files..
thanks,