Problem With RichTextBoxUI.xaml

1 Answer 239 Views
General Discussions
Francisco M.
Top achievements
Rank 1
Francisco M. asked on 10 May 2022, 01:27 PM

Hi,

My problem it's about Telerik.Windows.Controls.RichTextBoxUI. I'm on the process of upgrading a .NetFramework project to NET6, i've download the demo dlls for .NET6 and i'm setting up a Implicit Style, i've done everything this Link said, i've changed my Telerik UIs References to the NoXaml ones, i've merged the Xaml files and i've put the Office2019 themes on the project.

Now the problem is that RichTextBoxUI.xaml it's failing when compiling because can't find isStringNotEmptyToBoolConverter, and when i open the file, it's full of errors, saying it can find the assembly for Telerik.Windows.Controls.RichTextBoxUI. I'm guessing it's due to a missing DLL, but in \Binaries.NoXaml\WPF60 there's no dll for RichTextBoxUI, only RichTextBox.

Telerik.Windows.Documents.Xaml it's also failing and it's almost the same, failing references to other Documents. references that are not in the \Binaries.NoXaml\WPF60 folder.

It's there a place where i can find these dll? are they diferent for NET6 and i'm making a mistake with the setting of the Themes?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 11 May 2022, 10:40 AM

Hello Francisco,

The assemblies required by RadRichTextBox have been unified in the .NET Core version of the control. That is why there are some missing in the WPF60 folder - Telerik.Windows.Controls.RadRichTextBox contains both Telerik.Windows.Controls.RadRichTextBoxUI and Telerik.Windows.Documents. The same applies to the XAML files as well. For more information and details about using RadRichTextBox in a .NET Core app and the differences with .NET Framework, please check the .NET Core Support help topic.

Hope this is helpful.

Regards,
Tanya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Francisco M.
Top achievements
Rank 1
commented on 13 May 2022, 01:46 PM

Thank you for your quick response.

I tried changing to the method one of setting themes, without using the XAML files that we're giving me problems and with the new references i have no problems, but the project has it's own framework, i've change everything there too to the new dlls etc, i can use the program without problems,it compiles and all is good until i enter a view where a reference to RadRichTextBoxUI is used, i have no problem referencing the RadRichTextBoxUI on the Usings, I tested and yes if i delete the reference, all my documents and the UI reference fails, so it's the new DLLS with have them combine. But sadly, still i get and error telling that UI reference cannot be found even when i can use it in the references, so it find them, it compile and it runs, but when the program has to use the refence it crashes telling that the refence is missing. Any idea why that would be?

Thanks in advance!

Tanya
Telerik team
commented on 16 May 2022, 03:10 PM

Hello Francisco,

Can you please confirm that the XAML code is also updated? It could contain resources defined using the RadRichTextBoxUI assembly. An example of how to update them is available in the .NET Core Support | Paths to Resources section.

Tags
General Discussions
Asked by
Francisco M.
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or