Wednesday, March 25, 2009 4:33 PM
Please suggest how to use accordions from sl3 tools. I did below:
<layoutToolkit:AccordionItem Header="First Accordion"/>
<layoutToolkit:AccordionItem Header="Second Accordion"/>
I got below error:
Error 1 Predefined type 'System.Object' is not defined or imported AccordionApp
I checked the accordion sample and added below reference, i do not understand why i need this?
Then i get below error:
Error 1 The tag 'AccordionItem' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit'. ..\\AccordionApp\AccordionApp\MainPage.xaml 10 18 AccordionApp
Error 2 The tag 'AccordionItem' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit'. ..\\AccordionApp\AccordionApp\MainPage.xaml 11 18 AccordionApp
Wednesday, March 25, 2009 4:48 PM
this should just work, and I'm not seeing anything done incorrectly.
Could you maybe zip up the solution and send it to me at [removed]. I will take a look.
Wednesday, March 25, 2009 5:06 PM
I have sent, please verify and revert back for any suggestions.
Wednesday, March 25, 2009 7:02 PM
In order to use controls from System.Windows.Controls.Layout.Toolkit you need to reference System.Windows.Controls.Toolkit and System.Windows.Controls.
The full list of Control-->Assemblies dependencies is called out here:
Control \ Silverlight Version Silverlight 2 Required Assemblies Silverlight 3 Required Assemblies Accordion System.Windows.Controls.Layout.Toolkit.dll & System.Windows.Controls.Toolkit.dll & System.Windows.Controls.dll System.Windows.Controls.Layout.Toolkit.dll & System.Windows.Controls.Toolkit.dll & System.Windows.Controls.dll
You're probably missing one of these references.
Wednesday, March 25, 2009 11:00 PM
I have looked at the app, and indeed, you need a reference to System.Windows.Controls.Toolkit.
I hope that helps!
Thursday, March 26, 2009 10:38 AM
Perfect thanks for your quick responses. It works now by adding the missing reference.
Saturday, February 04, 2012 11:38 PM
Thanks. It work great.