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

Custom theme in local and online version

0 Answers 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kwitee
Top achievements
Rank 1
kwitee asked on 11 Sep 2012, 06:47 AM
Hi, on my Sliverlight app I am using custom telerik theme: 

// theme declaration
[ThemeLocation(ThemeLocation.BuiltIn)]
public class MyTheme : Theme
{
  public MyTheme()
  {
    base.Source = new Uri("Uri", UriKind.RelativeOrAbsolute);
  }
}
 
// load theme
Telerik.Windows.Controls.StyleManager.ApplicationTheme = new MyTheme();

On the local computer and LAN it works fine. The problem is when the application is viewed online. The theme is not loaded right away and sometimes it needs a couple of refreshes to kick in. 
How can I solve this? 

Regards, 
-- kwitee

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
kwitee
Top achievements
Rank 1
Share this question
or