This question is locked. New answers and comments are not allowed.
i have a few silverlight apps that use rad controls. Recently we wanted to change the theme so as per documentation i added the following to the application code
when i run the app i get the login screen and after that when it tried to create the mainpage i get the following
any idea what to look for why this could happen ?
as soon as i comment out the line to create the theme everything is happy again
i referenced Telerik.Windows.Controls as well as Telerik.Windows.Themes.Office_Blue (tried Vista also)
the main page consists of a RadRibbonBar RadDocking containers and RadOutlookbar
any help would be appreciated
Mike
public
partial
class
MyMainPage : MainPageUserControl
{
public
MyMainPage()
{
StyleManager.ApplicationTheme =
new
Office_BlueTheme();
InitializeComponent();
}
when i run the app i get the login screen and after that when it tried to create the mainpage i get the following
Line: 56
Error: Unhandled Error in Silverlight Application
Code: 4004
Category: ParserError
Message: Set property 'System.Windows.FrameworkElement.Style' threw an exception.
File:
Line: 3275
Position: 59
any idea what to look for why this could happen ?
as soon as i comment out the line to create the theme everything is happy again
i referenced Telerik.Windows.Controls as well as Telerik.Windows.Themes.Office_Blue (tried Vista also)
the main page consists of a RadRibbonBar RadDocking containers and RadOutlookbar
any help would be appreciated
Mike