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

Align Command buttons to the left

4 Answers 116 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Gabriel Beauchamp
Top achievements
Rank 2
Gabriel Beauchamp asked on 10 Mar 2008, 02:27 AM
Is it possible to put the command buttons to the left instead of the right side?

Thanks,

4 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 10 Mar 2008, 01:24 PM
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
0
Gabriel Beauchamp
Top achievements
Rank 2
answered on 10 Mar 2008, 03:08 PM
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,
0
Gabriel Beauchamp
Top achievements
Rank 2
answered on 12 Mar 2008, 02:56 AM
Can anyone help me with this one?

Is it possible to do it?

Thank you,
0
Petio Petkov
Telerik team
answered on 13 Mar 2008, 03:22 PM
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
Tags
Dock
Asked by
Gabriel Beauchamp
Top achievements
Rank 2
Answers by
Sophy
Telerik team
Gabriel Beauchamp
Top achievements
Rank 2
Petio Petkov
Telerik team
Share this question
or