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

Implicit Themes 'Resource Not Found' warning

5 Answers 290 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Niko
Top achievements
Rank 1
Niko asked on 14 Mar 2014, 08:29 PM
Hello,

I just upgraded my WPF solution to the latest Telerik version, 2014.1.224.40. Whenever switching implicit themes I see hundreds of these errors: 

System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='Telerik.Windows.Controls.InternalResourceKey'; ResourceKey.HashCode='0'; ResourceKey.Type='Telerik.Windows.Controls.InternalResourceKey'

Also, sometimes when switching themes the application freezes. I'm thinking it's related to the hundreds, if not thousands, of these errors showing in the output window.

I saw this was noted as fixed in the version notes of 2014.1.224.40, yet I am still seeing it. Any ideas?

Thanks,
Niko

5 Answers, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 19 Mar 2014, 01:35 PM
Hello Niko,

I reviewed our source and find several issues that may cause your problems. The fix will be included in our next latest internal build on Monday.

However to be sure that we are speaking about the same thing, please try to build your application without merging the resources for GridView and RibbonView and let me know whether this clears the warnings that appear.

Regards,
Sia
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Niko
Top achievements
Rank 1
answered on 01 Apr 2014, 10:11 PM
Hello Sia, thanks for your response.

I removed the GridView and RibbonView resources from my application, and the warnings still appear. Through trial and error, I removed each Telerik resource one by one to see which was causing the warnings. All warnings seem to trace back to the Telerik.Windows.Controls resource, which makes sense since the warning specifically calls out this resource: "ResourceKey='Telerik.Windows.Controls.InternalResourceKey'".

I also tried upgrading to the latest internal build, and still no luck. Any help would be appreciated.

Thanks,
Niko






0
Sia
Telerik team
answered on 04 Apr 2014, 11:37 AM
Hello Niko,

Thank you for the provided information. What comes to my mind is that maybe you merge the ResourceDictionaries on UserControl level but currently we support only merging them on application level - in the App.xaml. This is needed for the themes that support dynamic resources such as Windows8, Windows8Touch and Office2013. We plan to introduce support of merging them on UserControl level with one of our upcoming versions. Please let me know whether this helps. If not - a small runnable application reproducing your issue would be appreciated.

Regards,
Sia
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Keith
Top achievements
Rank 2
answered on 04 Sep 2014, 02:57 PM
Has this issue since been resolved? I am interested.
0
Vanya Pavlova
Telerik team
answered on 05 Sep 2014, 06:44 AM
Hi Keith,

The problem has been solved and you may test it with a recent version of UI for WPF. 
I'm attaching you small sample demo, which you can use for testing purposes. 

Regards,
Vanya Pavlova
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
General Discussions
Asked by
Niko
Top achievements
Rank 1
Answers by
Sia
Telerik team
Niko
Top achievements
Rank 1
Keith
Top achievements
Rank 2
Vanya Pavlova
Telerik team
Share this question
or