z index issue on custom dialog

2 posts, 0 answers
  1. ian webster
    ian webster avatar
    14 posts
    Member since:
    Jan 2006

    Posted 12 Jul 2011 Link to this post

    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.
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 13 Jul 2011 Link to this post

    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!

Back to Top