Put RibbonBarGroup On the Right Side

8 posts, 0 answers
  1. Kevin
    Kevin avatar
    4 posts
    Member since:
    Nov 2008

    Posted 29 Apr 2010 Link to this post

    How can I put one RibbonBarGroup on the right side of RibbonBar?

    Thanks,
    Kevin
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 04 May 2010 Link to this post

    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.
  3. Kevin
    Kevin avatar
    4 posts
    Member since:
    Nov 2008

    Posted 04 May 2010 Link to this post

    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.

  4. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 05 May 2010 Link to this post

    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.
  5. Anu
    Anu avatar
    1 posts
    Member since:
    Feb 2015

    Posted 04 Feb 2015 Link to this post

    Can we put RibbonBarButton on Right Side of RibbonBar
  6. Dess
    Admin
    Dess avatar
    2102 posts

    Posted 06 Feb 2015 Link to this post

    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.

     
  7. Mohammed
    Mohammed avatar
    22 posts
    Member since:
    Jan 2016

    Posted 01 Aug Link to this post

    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

  8. Dess
    Admin
    Dess avatar
    2102 posts

    Posted 02 Aug Link to this post

    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.
Back to Top