The issue you have encountered is most probably caused by custom style sheets, added to your project, which override the default appearance of the RadDock. Could you please check if any of the additional CSS causes the described effect?
The Commands online demo
contains example of adding a custom command, which is quite useful and can be used as a reference for achieving this yourself. You may also check this help article
in order to learn more about custom commands.
Configuring Title Bar Template
with a custom command inserted in it is not supported feature. Nevertheless you can achieve such scenario by adding a button inside the title bar template and executing your logic on button click. The following online demo shows fully configured title bar template, that implements changing of the title: http://demos.telerik.com/aspnet-ajax/dock/examples/edittitle/defaultcs.aspx
Note that at the current circumstances I am mostly guessing as to what your setup is. If you are still unable to resolve your problems please submit a regular support ticket
with attached sample, runnable project
that isolates your issue so that we can examine it locally and provide a more specific answer.
the Telerik team