Hi,
I have a window A with a button in it.
That window is open from my Main page as a modal.
When I click on the button in A, it opens another modal window B using
B is declared in Main.
The problem is that B appears behind A.
So I have to move A aside to be able to click on B for get it to come in front.
Is there a way to force the Z index of B to be in front of A.
Also it looks like the modality is not applied.
I mean I see the gray modal background.
But I can click on A or B without any problem when they should both be modal (meaning I should not be able to click on the other one)
Maybe I am doing something wrong.
In Main:
In Popup A:
I have a window A with a button in it.
That window is open from my Main page as a modal.
When I click on the button in A, it opens another modal window B using
B is declared in Main.
The problem is that B appears behind A.
So I have to move A aside to be able to click on B for get it to come in front.
Is there a way to force the Z index of B to be in front of A.
Also it looks like the modality is not applied.
I mean I see the gray modal background.
But I can click on A or B without any problem when they should both be modal (meaning I should not be able to click on the other one)
Maybe I am doing something wrong.
In Main:
<telerik:RadWindow ID="RdWndw_AddEdit" runat="server" AutoSizeBehaviors="Width, Height" CssClass="Styles/Window.css" AutoSize="true" VisibleStatusbar="false" Behaviors="Move" VisibleOnPageLoad="false" ReloadOnShow="true" Modal="true" NavigateUrl="Popup_Add.aspx" OnClientClose="OnAddEditClose" EnableShadow="true"></telerik:RadWindow><telerik:RadWindow ID="RdWndw_AddNewExtra" runat="server" AutoSizeBehaviors="Width, Height" AutoSize="true" VisibleStatusbar="false" Behaviors="Move" VisibleOnPageLoad="false" ReloadOnShow="true" Modal="true" NavigateUrl="Popup_AddNewExtra.aspx" OnClientClose="OnAddNewExtraClose" EnableShadow="true"></telerik:RadWindow>function OpenAddEdit() { var wnd = $find("<%=RdWndw_AddEdit.ClientID %>"); wnd.show();} function OpenAddExtraField() { var wnd = $find("<%=RdWndw_AddNewExtra.ClientID %>"); wnd.show();}In Popup A:
<telerik:RadButton ID="RadButton3" runat="server" Text="Add new field" OnClientClicked="CallOpenAddExtraFieldOnParent" CommandName="newField"></telerik:RadButton>function CallOpenAddExtraFieldOnParent(sender, args) { PageMethods.SetAddNewTypeFlag(sender.get_commandName()); GetRadWindow().BrowserWindow.OpenAddExtraField();}