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

z index issue on custom dialog

1 Answer 130 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ian webster
Top achievements
Rank 1
ian webster asked on 12 Jul 2011, 03:44 PM
Hi,

I've noticed that image resize handles from the currently selected image in the rad editor have a higher z index than the custom dialog window (see attached, circled in red).

This also happens with the text input cursor.

If you click the dialog the z index is fixed.

I've tried the following css tweak suggested as a fix else where...

.RadWindow .RadWindow_Office2007 .rwNormalWindow .rwTransparentWindow
{
    z-index: 200000 !important;
}

... and it does not make any difference.

I'm using the following JS to open my dialog:

function ShowEditor(typeId, inmemoryId, savedId, title, callBackFunction, editorHandle, windowUrl) {
    //open a rad window containing the page control editor     
 
    editorHandle.showExternalDialog(
                            windowUrl + '?typeId=' + typeId + '&inMemoryId=' + inmemoryId + '&savedId=' + savedId,
                            null,
                            800,
                            400,
                            callBackFunction,
                            null,
                            title,
                            true,
                            Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Reload,
                            false,
                            true);
}


Any ideas?

Thanks,

Ian.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 13 Jul 2011, 10:24 AM
Hi Ian,

The resize handlers of the image are functionality provided by the browser's RichTextEditing engine and are not controlled by RadEditor. We are aware of such behavior if RadEditor is configured to use editable Div as a content area. The problem occurs in DivMode because the dialog's window and the image are elements from the same document.

We are working on this issue but, unfortunately, I am unable to provide a suitable workaround at this point.

Best wishes,
Dobromir
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Editor
Asked by
ian webster
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or