This question is locked. New answers and comments are not allowed.
Hello,
I'm running into an XAMLParserException for some reason when I'm trying to set the ApplicationTheme in the App class's Application_Startup event.
So in my main application's App.xaml.vb file, I have the following:
Then I have a Class Library and in Page1 I have a RadMenu. If I run the application, I get an XAMLParserException. If I comment out the Telerik.Windows.Controls.StyleManager.ApplicationTheme = New Telerik.Windows.Controls.Office_BlueTheme line, then it works fine. Is there something special that needs to be done to set the application wide theme when using a class library?
Thanks.
I'm running into an XAMLParserException for some reason when I'm trying to set the ApplicationTheme in the App class's Application_Startup event.
So in my main application's App.xaml.vb file, I have the following:
Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup
Telerik.Windows.Controls.StyleManager.ApplicationTheme =
New Telerik.Windows.Controls.Office_BlueTheme
Me.RootVisual = New SilverlightClassLibrary1.Page1
End Sub
Then I have a Class Library and in Page1 I have a RadMenu. If I run the application, I get an XAMLParserException. If I comment out the Telerik.Windows.Controls.StyleManager.ApplicationTheme = New Telerik.Windows.Controls.Office_BlueTheme line, then it works fine. Is there something special that needs to be done to set the application wide theme when using a class library?
Thanks.