Align Command buttons to the left

5 posts, 0 answers
  1. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 09 Mar 2008 Link to this post

    Is it possible to put the command buttons to the left instead of the right side?

    Thanks,
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 10 Mar 2008 Link to this post

    Hello,

    RadDock provides a TitleBar template which you can use to manipulate the RadDock title and to add the desired commands in the order you want. I suggest you take a look at the Modifying the TitleBar template online example which demonstrates how to use the TitleBar template. 

    If you need further assistance, do not hesitate to contact us again.

    Best regards,

    Sophy
    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 10 Mar 2008 Link to this post

    How would that example help me accomplish my problem? Could you give me an example of a RadDock with a title bar with the expand/collapse command on the left and a title right beside it.

    Thanks,
  5. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 11 Mar 2008 Link to this post

    Can anyone help me with this one?

    Is it possible to do it?

    Thank you,
  6. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 13 Mar 2008 Link to this post

    Hi,

    You should remove the default RadDock commands. After that you should use the titlebartemplate
    to put your own buttons(asp:Button etc.).

    For example:

     <telerik:RadDock runat="server" ID="rdCI"   
            Skin="Office2007" 
            DefaultCommands="None">     
                <TitlebarTemplate> 
                    <asp:Button ID="Button1" runat="server" /> 
                    <asp:Label runat="server" Text="Some Text"></asp:Label> 
                </TitlebarTemplate> 
                <ContentTemplate>    
                Content  
                </ContentTemplate>    
            </telerik:RadDock>   

    Unfortunately, this is the only one way at the moment to achieve a look which will be "commands" from the right side.

    Regards,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017