Hi Kaloyan,
So in my case I can explain better:
I'm trying to create my own Theme following the Telerik approach but I'm getting the following error:
System.Windows.Markup.XamlParseException occurred
Message=Set property 'Telerik.Windows.Controls.Theme.ApplicationThemeSetter' threw an exception. [Line: 33 Position: 67]
LineNumber=33
LinePosition=67
StackTrace:
at MS.Internal.XcpImports.CreateFromXaml(UnmanagedMemoryStream stream, String sourceAssemblyName, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers)
InnerException: System.Collections.Generic.KeyNotFoundException
Message=The given key was not present in the dictionary.
StackTrace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Windows.ResourceManagerWrapper.GetResourceForUri(Uri xamlUri, Type componentType)
InnerException:
There isn't an attached project in here but all I did was applying all the steps as described in
here to create a new theme, styling just RadTileView and RadChart controls.
This way I could style RadCharts so they have customized slices colors, a custom chart background, etc. Also giving a customized look to the RadTileView background.
But I'm getting the mentioned error. You can see the attached image.
I'm using version
2010.2.714.1040 assemblies, VS2010 and I copied the Style files from
C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2010 SP2\Themes\OfficeSilver\Themes\Office\Silver
(just Chart.xaml and TileView.xaml)
Please let me know your opinion.
Thank you,
Nuno Senica