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

Put RibbonBarGroup On the Right Side

7 Answers 174 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 30 Apr 2010, 12:46 AM
How can I put one RibbonBarGroup on the right side of RibbonBar?

Thanks,
Kevin

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 May 2010, 09:27 AM
Hello Kevin,

Thanks for writing.
 
RadRibbonBar does not support such functionality, because the Collapsing Layout of RibbonBar is not designed to have a right aligned group. Please, excuse us for the inconvenience.  Don't hesitate to contact us if you have other questions.


Kind regards,
Peter
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.
0
Kevin
Top achievements
Rank 1
answered on 04 May 2010, 05:36 PM
Thanks for the explanation, Peter.

The requirement is not must-have in our application. So we just keep the ribbon bar group as it is.

0
Peter
Telerik team
answered on 05 May 2010, 11:46 AM
Hi Kevin,

Thank you for getting back to me, and please accept our apologies for the missing feature.

All the best,
Peter
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.
0
Anu
Top achievements
Rank 1
answered on 04 Feb 2015, 08:28 AM
Can we put RibbonBarButton on Right Side of RibbonBar
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Feb 2015, 03:07 PM
Hello Anu,

Thank you for writing.

If I understand your requirement correctly you are trying to insert a button on the right side of the RibbonBarElement next to the expand button. In order to achieve it you can use the following code snippet:
public Form1()
{
    InitializeComponent();
 
    RadImageButtonElement button = new RadImageButtonElement();
    button.ButtonFillElement.BackColor = Color.Transparent;
    button.ButtonFillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
    button.Class = "RibbonBarExpandButton";
    button.Click += button_Click;
    button.Image = Properties.Resources.crop;          
    button.Padding = new Padding(2, 0, 2, -2);
    button.Margin = new Padding(0, 0, 0, 0);
    this.radRibbonBar1.RibbonBarElement.ButtonsContainer.Children.Insert(0, button);
}
 
private void button_Click(object sender, EventArgs e)
{
    //TODO
    RadMessageBox.Show("Click");
}

If it is not the exact requirement please specify in details what  you are trying to accomplish. Thus, we would be able to assist you further. 

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Dess
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Mohammed
Top achievements
Rank 1
answered on 01 Aug 2017, 03:51 PM

Hi,

 

This topic was started 7 years ago and I was wondering if there have been updates since that allow this functionality. 

 

Thanks in advance 

Mohammed

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Aug 2017, 11:26 AM
Hello Mohammed, 

Thank you for writing.  

By design, RadRibbonBar shows its group from left side to the right. If you need a right-aligned group, feel free to set the RightToLeft property to Yes. Alternatively, you can play with the PositionOffset property of the RadRibbonBarGroup.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
RibbonBar
Asked by
Kevin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Kevin
Top achievements
Rank 1
Anu
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Mohammed
Top achievements
Rank 1
Share this question
or