View Full Version : [CLOSED] Window Renderto Parent

Apr 06, 2014, 4:35 PM

I have a page with a container panel:

<form id="form1" runat="server">
<ext:ResourceManager runat="server" Theme="Gray" DirectMethodNamespace="SIU.DirectMethods" >
<ext:Viewport runat="server" Layout="Border">
<ext:Panel ID="pnlHeader" runat="server" Header="false" Region="North" Border="false" Height="100">
<ext:Panel ID="pnlLeft" runat="server" Width="250" Border="false" Region="West" Layout="Fit">
<ext:Panel ID="pnlContent" runat="server" Margins="5" Region="Center" BodyPadding="13">
<Loader runat="server" Mode="Frame" AutoLoad="false" ShowWarningOnFailure="false">
<LoadMask ShowMask="true" />

From selection in pnlLeft, I load one aspx page in the pnlContent as follows:

public void LoadPageMenu(string reqPage, string idObj = "")
pnlContent.Loader.Url = reqPage;

No problem. The page is loaded. In this page, I have one window:

<ext:Window ID="winMap" runat="server" Icon="Map" Title="Location"
Hidden="true" Width="650" Height="400" Modal="true" >
<Loader runat="server" Mode="Frame" AutoLoad="false">
<LoadMask ShowMask="true" />

The window's loadmask is shown in the pnlContent. I want that the window's loadmask loads in the entire page parent. I tried with the method in this thread (http://forums.ext.net/showthread.php?13855&p=57686&viewfull=1#post57686), but doesn't work. I tried add the RenderTo propertie in the ext:Window tag, but not success too. Please, I need help.

Thank you.

Apr 07, 2014, 4:43 PM
Hi @Kricher,

Welcome to the Ext.NET forums!

The only solution is to put the Window to the parent page. Here is a related discussion.

Apr 11, 2014, 1:26 PM
Daniil, thank you for your answer.

I was hoping to do it from Javascript.