Display different user controls below the ribbon on tab change

Nov 30, 2011 at 7:36 AM

Hi, I wanted to know is it possible to show different user controls or forms on different tabs. e.g. If on page load, the first tab is selected and below the ribbon some set of form controls or datagrid or a user control is shown. When I navigate to another tab another set of user controls or a different form is shown below the ribbon control. And in the ribbon the particular set of controls for the user control should be shown.

This is a common scenario in desktop application development. Can this be achieved with this ribbon? If it can be achieved can anyone give some examples because I was unable to find one. Thanks.

Nov 30, 2011 at 8:05 AM

How about the reverse? Contextual ribbon tabs.... you can show different ribbon UI based on which part of your application the user is interacting with.

Nov 30, 2011 at 8:40 AM

Actually I do not want to change the display of the ribbon itself...rather the controls in the panel below the ribbon.

The following elaboration may clear my requirement.

I would like to create application with ribbon interface that looks and behaves like this:

  • application have one main form with ribbon
  • ribbon has multiple tabs
  • when user switches tab on ribbon, panel below ribbon changes and displays content related to ribbon panel. That way, ribbon tab acts as if it is tab over whole window.

For example, ribbon have two tabs: people and tasks. When current ribbon panel is "people", below ribbon is displayed grid with people data. Ribbon contains command for manipulating people data. When user switches to "tasks" tab on ribbon, application should display form with tasks below ribbon.

Nov 30, 2011 at 8:47 AM

From: bikramiter

Actually I do not want to change the display of the ribbon itself...rather the controls in the panel below the ribbon.

The following elaboration may clear my requirement.

I would like to create application with ribbon interface that looks and behaves like this:

  • application have one main form with ribbon
  • ribbon has multiple tabs
  • when user switches tab on ribbon, panel below ribbon changes and displays content related to ribbon panel. That way, ribbon tab acts as if it is tab over whole window.

For example, ribbon have two tabs: people and tasks. When current ribbon panel is "people", below ribbon is displayed grid with people data. Ribbon contains command for manipulating people data. When user switches to "tasks" tab on ribbon, application should display form with tasks below ribbon.

Nov 30, 2011 at 9:58 AM

I'm sorry, I replied to that via e-mail... looks like the system is broken!! :)

 

Anyway, I wrote:

As far as I know, you cannot do this as the ribbon was not designed for this.

A standard tab control will of course accomplish this, although it probably isn't good enough for your scenario! :)

Have you considered a third party tab control?

Nov 30, 2011 at 11:43 AM

Thnx tompsonn for your time and willingness to help. Yes, its true that a standard tab control can do this, but that is not the preferred one as it will be the place holder for other big controls like forms or user controls. So a tab will not look suitable.

Third party tools like Telerik and DevExpress do provide such controls to fulfill my requirements, but at this point of time I am looking the feature for my own requirements and knowledge. Because the look and feel of the windows ribbon control is better than the available third party controls. And if my requirement can be achieved with this than it can be a great tool for many applications development.