Toolbar Items On Right

4 posts, 0 answers
  1. Scott
    Scott avatar
    25 posts
    Member since:
    Nov 2010

    Posted 26 Aug 2011 Link to this post

    I'm looking to have all my toolbar buttons on the right side of the toolbar.  I've searched the forum for how to accomplish this, but all I can find are posts from 2009 stating to use two toolbars side by side.  Each of those posts say that this feature is coming soon.

    Am I able to now position my buttons on the right side of my toolbar without needing two toolbars?  If so, how?

    Thanks,

    -Scott
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 31 Aug 2011 Link to this post

    Hi Scott,

     This is logged preciously as a feature request in our PITS system. You can vote for it here. Unfortunately, we cannot provide you an estimated time when this will be implemented in the RadToolBar.

    All the best,
    Petar Mladenov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Marcelo
    Marcelo avatar
    28 posts
    Member since:
    Jul 2010

    Posted 09 Sep 2011 Link to this post

    There is a workAround...
    Try this:

        <Grid x:Name="LayoutRoot" Background="White" Height="30" SizeChanged="LayoutRoot_SizeChanged" >
            <telerik:RadToolBar HorizontalAlignment="Stretch" OverflowButtonVisibility="Collapsed">
            <Grid x:Name="teste">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="270"/>
                        <ColumnDefinition Width="130"/>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="80"/>
                        <ColumnDefinition Width="41"/>
                    </Grid.ColumnDefinitions>
                 [........]
                </Grid>
        </telerik:RadToolBar>
    </Grid>

    and

    private void LayoutRoot_SizeChanged(object sender, SizeChangedEventArgs e)
    {
          teste.Width = e.NewSize.Width - 30;
    }
  5. Jorn
    Jorn avatar
    222 posts
    Member since:
    Jun 2009

    Posted 07 Oct 2011 Link to this post

    No need for code-behind (just style/adjust the controls with margins to suit your needs):
    <Grid>
        <telerik:RadToolBar></telerik:RadToolBar>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
            <Button/>
            <Button/>
            <Button/>
        </StackPanel>
    </Grid
Back to Top