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

I don't use CardView. Why error popped up?

1 Answer 73 Views
CardView
This is a migrated thread and some comments may be shown as answers.
Psyduck
Top achievements
Rank 5
Bronze
Bronze
Bronze
Psyduck asked on 17 Feb 2021, 04:19 AM

Hello

If I update, build and run as usual, I get an error. (2020.3.1221.45 -> 2021.1.215.45)

 

 

 

System.Windows.Markup.XamlParseException'(PresentationFramework.dll)

Cannot find resource named 'CardView_DropDownButton_Foreground_Focused'. Resource names are case sensitive

 

I don't use CardvView. I just update and I get an error.

(My environment is NoXaml and Themes is Window7)

Use Reference : Telerik.Windows.Controls,  Telerik.Windows.Controls.Chart, Telerik.Windows.Controls.Data, Telerik.Windows.Controls.GridView,  Telerik.Windows.Controls.Input,  Telerik.Windows.Controls.Navigation, Telerik.Windows.Data,

Thnaks.

1 Answer, 1 is accepted

Sort by
0
Vicky
Telerik team
answered on 18 Feb 2021, 10:29 AM

Hi,

I can confirm that this is a bug.

The error is reproducible only when copying the XAML files in a dedicated folder in your application and setting their BuildAction to Resource.
It is only applicable for the following themes - Office Black, Office Blue, Office Silver, Summer, Transparent, Vista, Windows7. There is a trigger using the CardView_DropDownButton_Foreground_Focused resource, which is actually missing.

Referencing the theme dll instead of copying the XAML files in a dedicated folder in your application won't lead to this exception.

The issue is already brought to the attention of the development team and the fix will be part of the upcoming R1 2021 Service Pack, scheduled for next week.

As a small gesture of gratitude for your involvement, I am updating your Telerik points.

Best Regards,
Vicky
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
CardView
Asked by
Psyduck
Top achievements
Rank 5
Bronze
Bronze
Bronze
Answers by
Vicky
Telerik team
Share this question
or