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

CreateResourceDictionaryForApplicationTheme

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matthew Adams
Top achievements
Rank 1
Matthew Adams asked on 04 Jul 2011, 04:41 PM
Hi --

I'm working on a client site, and have run into a problem which appears to be related to Theme Resource loading. 

If I run our SL OOB app with sllauncher with the debug flag (e.g. the default behaviour when you launch from within Visual Studio), then everything is fine.

If I run the app with sllauncher *without* the debug flag (e.g. having installed to the local machine) then the theme setting [ultimately in Telerk.Windows.Controls.Theme.CreateResourceDictionaryForApplicationTheme()] takes about 4.5s-5s, killing our app perf.

It appears to be spinning violently hitting various cache-related registry keys while it does this.

This is true of both debug and release builds - it is entirely dependent on that debug flag for sllauncher.exe

Any ideas?

Thanks,

Matthew

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 05 Jul 2011, 01:59 PM
Hello Matthew,

We don't know have any debug/release differences in our code and we definitely don't access any registry keys.
Could you send us your application and exact steps to reproduce the problem?
This way we may be able to identify what is causing this performance hit.

p.s. you need to open a support ticket in order to attach files.

Kind regards,
Hristo
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Matthew Adams
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or