This is a migrated thread and some comments may be shown as answers.

Multiple Contextual Tabs - Design Guidance Required.

1 Answer 91 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sam
Top achievements
Rank 1
Sam asked on 10 Jul 2012, 07:48 PM
Hello,

I have an application (WPF/silverlight , PRISM-MVVM) that will have around 40-50 UI screens/View for Data entry/Reports.  In each of those screens Actions need to be performed (Like Edit,Save,Delete, Transfer).

The UI designer wants to Present all Possible Actions for a View in a Contextual Tab. In other words, as soon as a View is "activated/Loded" an event is published and based on that event a "Contextual Tab" that has RADButtons, where each Button triggers an Action  should be shown. When the User clicks a button that action should be executed.

Based on the tutorials, I need to Create a "Contextual Group" in the XAML where I declare the RibbonView,   and the Each Contextual Tab (defined in a XAML within the PRISM Module) should have "ContextualName" set to the Contextual Group Name.

Based on the above pattern, I will have to create 50 Contextual Groups and 50 Tabs and set set Tab name to contextual Group... Am I missing something? Is there a better way to do this.

Also, some of the actions will be common across Views from a UI perspective. (Like Edit/Save/Cancel). However, they should invoke different Methods based on the View that triggered the activation of the Contextual Tab. What is the best way of doing this?

I would really appreciate a response and a sample Project that demonstrates the above. This would be the last problem to solve in our "Proof-of-concept" solution!

Thank You.

Sanjeev.




 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 13 Jul 2012, 03:27 PM
Hello Sam,

 I believe the project in this thread could be a good starting point (I guess you have seen it before). You are not missing anything in the part with creating ContextualGroups and the ContextualGroupNames of the RibbonTabs. As for the Edit/Save/Load operations, I am not sure whether this is a good start but have you considered Edit/Save/Load Buttons in the AdditionalContent area in the RibbonView (it is around the usual place of Help Button)?

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RibbonView and RibbonWindow
Asked by
Sam
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or