This is a migrated thread and some comments may be shown as answers.

Telerik RadRichTextbox Resources

1 Answer 161 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Marcílio
Top achievements
Rank 1
Marcílio asked on 03 Sep 2018, 02:52 PM
I found an intriguing problem in my WPF application. I'm using the AssemblyResolve feature to manage dependencies on Telerik DLLs. So far everything works normally. Telerik.Windows. * DLLs, when prompted, are loaded and returned by the AssemblyResolve event. I noticed that in some situations, the requested name is terminated by ".resources". In this case the event returns null (procedure I checked on some forums).

The RadRichTextbox component is instantiated and loaded normally in my application. But I noticed that some functions do not work. For example the context menu on the document does not appear when triggered by the right mouse button. By performing some tests I found that when I put the Telerik.Windows.Controls.RichTextBoxUI.dll DLL in the same folder as my EXE, everything works perfectly. The context menu appears as expected.

Because the Telerik components use many dependencies, I would very much like to make them available in a specific directory. What am I doing wrong in my AssemblyResolve event? The procedure to return null when the event is triggered with the name ".resources" is correct?

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 06 Sep 2018, 12:50 PM
Hi MarcĂ­lio,

The Telerik.Windows.Controls.RichTextBoxUI.dll assembly contains definitions related to the UI of the control and the provided functionalities, including the context menu. With that said, to use the context menu, you will need to ensure that this assembly is loaded as well. In the Getting Started topic you can find a list with all the dependencies of RadRichtextBox.

Having the assemblies required for the functionalities to work as expected loaded by the application should be enough so the control can function properly.

Please, let me know if you have any additional questions.

Regards,
Tanya
Progress Telerik
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RichTextBox
Asked by
Marcílio
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or