Hi,
We're using Prism as a framework for our Silverlight application. In addition, we have the Infragistics XamWebRibbon in the top region.
Our problem is in using Prism commanding in conjunction with the XamWebRibbon to bind click events in the XamWebRibbon to a delegate method in our ModelView.
http://development-guides.silverbaylabs.org/Video/Prism-Commands#videolocation_2
Out of the box, Prism only contains Button click Commands. We are trying to write a Command that will handle the Infragistic XamWebRibbon click events. We have written the classes to handle the RibbonClick, CommandBehaviour and CommandBehaviourBase. CommandBehaviourBase has been tried with types ButtonTool, RibbonTool and RibbonToolControl. Unfortunately without success. In each case we're getting unhelpful parser errors in our XAML on Initialize which we declare the command binding.
Has anybody got Infragistics events / Prism Commanding working ? Can you share the CommandBehaviour/CommandBehaviourBase classes ?
Thanks,
Did you manage to resolve your problem? Have you tried it against the Silverlight 4 runtime? It seems to provide better detail on Xaml parse errors than previous versions, so it may help diagnose the problem with the Xaml. Barring that, the best strategy is usually (unfortunately) to comment out portions of the Xaml until you find the offending statement.
Is there any sample code you can provide that demonstrates the problem?
-Graham
Thanks for the reply Graham,
Unfortunately I didn't manage to resolve the prism issue on that project. I've since moved on to another project so I guess that's the end of the issue for me. Thanks anyway,