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

EditTitle demo doesn't work

1 Answer 28 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 16 Sep 2008, 09:33 PM
Why doesn't your RadDock "Edit Title" work?  I've tried with ie6, ie7, Firefox 3, Chrome.  In ie, the textbox never shows up.  In the other browsers, the edit box appears, but the cursor goes away and you cannot enter any text.

The reason I ask is that we rolled out an app with RadDock for ASP.NET, utilizing the TitleBarTemplate of RadDock.  Since upgrading to the latest release, they no longer work.  We are not pleased.

Please advise.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 19 Sep 2008, 09:48 AM
Hello Martin,

The previous versions of the RadDock control used the drag and drop functionality which is provided by the ASP.Net Ajax framework. However, there were a number of performance as well as cross-browser problems with the MS implementation. In the official release of the control from Q2 2008 the drag/drop functionality has been replaced by a brand new improved (Telerik) implementation which addresses the previously existing problems. The new drag/drop implementation uses the dock's titlebar to attach handlers for the dragging functionality and that is why the problem you mention occurs.
Please, find attached a modified version of the online example which demonstrates how the problem could be resolved. The main idea is to stop the propagation of the mousedown event of the TextBox which is edited and to disable the dock's drag and resize functionality while editing the titlebar so that the event handlers which the drag mechanism uses do not conflict those added for editing the titlebar.

Kind regards,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
Martin
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or