radopen modal problem

1 Answer 235 Views
Window
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
SSirica asked on 04 Aug 2021, 06:29 PM

Here's my code:

 function ShowForceNote2() {
                var url = 'CustNoteD.aspx';
                var oWindow = window.radopen(url, "rwFN");
                oWindow.SetTitle('Note');
                oWindow.SetActive(true);
                oWindow.set_modal(true);
                oWindow.set_enabled(true);
                oWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);
                oWindow.Maximize();
            }

Here's my html:

<telerik:RadWindowManager ID="rwm" runat="server" ReloadOnShow="True" ShowContentDuringLoad="False">
    <Windows>
        <telerik:RadWindow ID="rwFN" runat="server" Title="Note" ReloadOnShow="True"
              ShowContentDuringLoad="False" DestroyOnClose="True" Style="z-index: 999999;"
              Behaviors="Close" VisibleStatusbar="False" />
    </Windows>
</telerik:RadWindowManager>
when that window comes up it's completely greyed out and disabled and I have no clue why?  I've attached a screen shot.  

1 Answer, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 05 Aug 2021, 08:41 AM

Hello Steve,

I tested the provided snippets, but the RadWidnow is visible at my end. Can you remove temporary all custom CSS styles on the page and see if any of them are causing the issue?

For convenience, I am attaching my test page to this reply, so you can examine it at your side.

Regards,
Vessy
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

SSirica
Top achievements
Rank 3
Iron
Iron
Iron
commented on 05 Aug 2021, 02:04 PM

I tested your page and came up with the same result...until I set the window's RenderMode to Lightweight.  
Vessy
Telerik team
commented on 06 Aug 2021, 04:15 PM

Thank you for the update, Steve. The modal background of RadWindow in classic render mode has z-index that equals 100000, so the z-index set in the provided RadWindow setup is moving its element behind the modality overlay. Removing the z-index highlighted below will resolve the issue:

                <telerik:RadWindow ID="rwFN" runat="server" Title="Note" ReloadOnShow="True"
                    ShowContentDuringLoad="False" DestroyOnClose="True" Style="z-index: 999999;"
                    Behaviors="Close" VisibleStatusbar="False" />

SSirica
Top achievements
Rank 3
Iron
Iron
Iron
commented on 09 Aug 2021, 03:19 PM

Thanks Vessy.  That's good to know.  Always good to know how to render a modal window both ways.  
Vessy
Telerik team
commented on 09 Aug 2021, 03:36 PM

You are welcome :) I am glad the provided information is useful.
Tags
Window
Asked by
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Vessy
Telerik team
Share this question
or