With the current builds 2017.2.614 (and potentially previous one) we are getting a consistent error in the designer:
Error: Unhandled Error in Silverlight Application Cannot find a Resource with the Name/Key thumbResizeMargin [Line: 26 Position: 49]
In production it occasionally takes down our entire product with the white screen of death when rendering the control.
There is an entry in the feedback forums but it doesn't suggest a timely fix. Link
Is there a quick fix or property we can set to avoid this issue? We really cannot wait until the next service pack to address this. Please advise.
Thank you,
Patrick
7 Answers, 1 is accepted
Just tested previous DLLs
Issue occurs in:
2017.2.614
2017.2.503
Does not in:
2017.1.222
Stated as fixed on Internal Release 2017.2.619, but we can't goto production with this DLL. Is there anything else we can do?
Thank you for opening the ticket.
I already answered in the support thread but will post a reply here as well in case anyone else encounters this question.
Indeed, the design time error with message "Cannot find a Resource with the Name/Key thumbResizeMargin" is already fixed and the fix is included in our Latest Internal Build. Unfortunately, we didn't manage to find a workaround for the error for the current official version.
Regards,
Tanya
Progress Telerik
Thank you Tanya. I cannot reproduce the issue during runtime with 2017.2.619+. I, more than once, observed this as a script debugging error in IE, which took down our entire app. It was difficult to reproduce but the error was "Cannot find a Resource with the Name/Key thumbResizeMargin", so that designer issue somehow made it to runtime.
Is it possible to get a release build of 2017.2.619 so we may repackage and push a fix?
-Patrick
I am happy to hear that the runtime error is not reproducible after the fix.
We are currently working on the tasks for the next official version of the controls and pushing a release build at this point is not possible. I sent you a detailed reply the support ticket and would suggest you to continue our conversation there so we can keep it consistent. Thank you for understanding.
Regards,
Tanya
Progress Telerik
FYI to all:
After testing the runtime issue is still there.
Repro steps:
1. RichTextBox is added to the UI
2. Run line Application.Current.Resources.MergedDictionaries.Clear()
3. RichTextBox is added to the UI *Crash*
This does not occur in 2017.1.222, but it does in 2017.2.503 through 2017.2.703
From telerik:
As a workaround until the fix is available, you can merge the required resources before initializing RadRichTextBox after Application.Current.Resources.MergedDictionaries are cleared:
App.Current.Resources.MergedDictionaries.Add(
new
ResourceDictionary()
{
Source =
new
Uri(
"/Telerik.Windows.Documents;component/Themes/Styles/ImageAdornerUIResourcesDictionary.xaml"
, UriKind.RelativeOrAbsolute)
});
I would like to add that, with the help of Patrick, we managed to reproduce the issues and logged them in our portal. For anyone that might be interested, here are the public items:
Regards,
Tanya
Progress Telerik