Syncfusion spreadsheet not working in silverlight

Hi,

I am using Syncfusion  trial version 10.4.0.71   spreadsheet control in silverlight  but whenever i run the project it gives error:

Line: 56
Error: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at System.Windows.ResourceManagerWrapper.GetResourceForUri(Uri xamlUri, Type componentType)    


I need it urgently please help

Regards,
Trishit


Syncfusion_1595c3e7.zip

1 Reply

PS Pannir Selvam S Syncfusion Team February 19, 2013 08:32 AM UTC

Hi Trishit,

 

Thanks for using Syncfusion product.

 

We have analyzed your sample and we could found that you have added the “Syncfusion.Theming.Office2007Blue.dll” assembly only. But the default visual style of SpreadsheetControl is Office2010Blue. So you need to add the “Syncfusion.Theming.Office2010Blue.dll” and However if you want to use Office2007Blue theme, you can change the visual style of SpreadsheetControl by using the following code snippet.

 

Code Snippet[xaml]:

<Grid x:Name="LayoutRoot" Background="White">

    <syncfusion:SpreadsheetControl skin:SkinManager.VisualStyle="Office2007Blue" />

</Grid>

 

 

Please let us know if you have any other queries.

 

Regards,

Pannir


Loader.
Up arrow icon