Multiple Contextual Tabs - Design Guidance Required.

2 posts, 0 answers
  1. Sam
    Sam  avatar
    5 posts
    Member since:
    Jul 2012

    Posted 10 Jul 2012 Link to this post

    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.




     
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 13 Jul 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top