Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
Prism commanding
posted

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,

Parents
No Data
Reply
  • 30692
    Offline posted

    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

Children