Xaml Designer Crash "ArgumentException: 'RadGlyphExtension' is not valid for Setter.Value."

1 Answer 25 Views
General Discussions Window
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Psyduck asked on 11 May 2021, 05:56 AM

Hello

Checked that the designer crashes when setting the DataContext viewmodel in xaml.

Please check the attached file for details. Here is a simple example source.

It also sends an associated link about the occurrence of the exception.
My Post
Feedback Post


Additionally, if you attach the DataContext to the xaml, when the designer crashes, clearing the RadGridView's ItemsSource will bring the designer back to display.


Could you solve this problem?
Thanks.

 

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin Ivanov
Telerik team
answered on 13 May 2021, 11:26 PM

Hello KIM,

Thank you for the additional information and the project. I can confirm that this is the same issue as the one linked from the other forum. I am posting it also here: 

https://feedback.telerik.com/wpf/1355106-gridview-argumentexception-is-thrown-design-time-when-the-telerik-windows-controls-gridview-xaml-file-is-copied-in-the-project-directory?_ga=2.117039110.1001992534.1620608015-2051170640.1606814130

I will include this new information in the internal backlog items so we can take it into account when needed.

In the meantime, you can work this around by referencing the Telerik .xaml resources from the theme dll, instead of copying the .xaml files into the project. I've updated the attached project to show this approach. I hope this helps.

Regards,
Martin Ivanov
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/.

Tags
General Discussions Window
Asked by
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or