14 Answers, 1 is accepted
I don't have an example, but as far as I know, the commands in Prism are usually declared in the ViewModel. So you need to expose properties for the commands in your data objects, then using ContainerBindings, bind the Command and CommandParameter properties to the corresponding property in your data.
All the best,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Is there a way to do this with the Radmenu? Example?
I will paste my answer from the support ticket as well:
Could you please provide us more detailed information about what is your scenario? How do you want to arrange the MenuItems in the RadMenu? Are there any requirements?
I am glad to assist you further.
George
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Did anyone get this working? I had it working perfectly until today when I installed VS 2010 SP1.Now I keep getting
null reference error?
Any Ideas?
Thanks
Louis
I suppose that we will need a simple sample application that isolates the problem. Could you please, open a new support ticket and send us a simple project that can be used to observe the exception?
Kind regards,
Valeri Hristov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Sorry about the long delay. The problem did persist, but I wrote a little code into a region adapter and all is well now.
Thanks
Louis
For Example: Accounting | Marketing
Maybe the Accounting Module would add menuItems to the Accounting Menu and likewise the Marketing Module would add items to that menu hierarchy.
Perhaps a new module was created and it was simply added as a top layer next to Marketing.
I'm not sure the best way to go about this. Perhaps a shared service between the modules that allows you to add menuItems to the menu?
Can Telerik put together an example like this?
Tim
Thank you for your feedback about a real-life scenario with RadMenu control with PRISM. Currently we don't have such an example, but with a growth of interest in it, we will consider implementing it.
Please, do not hesitate to contact if you encounter any problems with our controls.
All the best,
George
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I have an example where I have achieved this type of functionality.
I will have to strip out soeme other code for you too see how I achieved this.
I also used the same themes from Telerik to achieve this. If you would like me to get this to you, let me know.
Thanks
Louis
Tim
That's pretty substantial growth.
Am binding the values to RadMenu items using MVVM Pattern. I need clickEvent for the MenuItems in ViewModel page. To get ClickEvent I mentioned a property 'IsChecked=True'. Now event is getting fired for Menu Click not for Menu items as well am not able to see the binded values for menuitems. Kindly suggest with an example to proceed
The RadMenuItem control provides a standard ICommandSource implementation. Please, refer to our online article for more information - http://www.telerik.com/help/silverlight/radmenu-features-commands.html . The RadMenuItem.Command will be fired when the item is clicked and you could bind it to a property in the source and use it instead of ClickEvent.
George
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>