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

Editor Stealing Cursor from Textboxes in IE

1 Answer 39 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Debbie Roberts
Top achievements
Rank 1
Debbie Roberts asked on 09 Sep 2010, 11:27 AM
Hi Telerik,

My web-app uses RadWindows, each containing multiple RadEditors.

I am finding that after using a RadEditor in one RadWindow, then closing the RadWindow via the 'X', all textboxes in the parent window and any subsequent RadWindow that is opened become unusable. Clicking any textbox does not make the focus go into the textbox, no cursor is displayed in the textbox and no text can be entered into it.

The problem only occurs in IE browsers (all versions) and seems to be connected with the browser entering its 'ContentEditable' mode. It seems that when a RadEditor becomes active, it takes control of the browser's text insert caret (cursor). Closing the RadWindow, via the 'x', while the RadEditor has control of the cursor seems to prevent any textbox from using it again.

I have found that if I click anywhere else inside the RadWindow before closing it via the 'X', this seems to release the cursor, so other textboxes will continue working.

A similar problem occurs on a single page that uses a MultiView, with multiple RadEditors in one view and textboxes in another view. Switching the view, whilst an editor has control of the text insert caret, causes the textboxes in the other view to become unusable.

I cannot recreate this using a simple test page, so it may be connected with other jQuery scripts/CSS that are used in the application.

I have tried using javascript to move the focus to another element when the 'X' is clicked on the RadWindow but the problem seems to be the cursor rather than the focus.

Do you know of any way that I can release the text insert caret using javascript, prior to a RadWindow being closed?

Debbie

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 09 Sep 2010, 03:35 PM
Hi Debbie,

I already answered you support ticked on the subject. For convenience I will paste my answer here as well.

We are aware of this problem and working on fixing it.

In the latest official version of RadControls for ASP.NET AJAX Q2 2010 we introduced a new mode for RadEditor where its content area is not an IFRAME but an editable DIV. Could you please try upgrading your version of RadControls and set ContentAreaMode="Div" to the RadEditor controls and see if the problem still exists?

All the best,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Debbie Roberts
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or