Apr 06, 2014, 4:35 PM
[CLOSED] Window Renderto Parent
Hi
I have a page with a container panel:
Thank you.
I have a page with a container panel:
<body>
<form id="form1" runat="server">
<ext:ResourceManager runat="server" Theme="Gray" DirectMethodNamespace="SIU.DirectMethods" >
</ext:ResourceManager>
<ext:Viewport runat="server" Layout="Border">
<Items>
<ext:Panel ID="pnlHeader" runat="server" Header="false" Region="North" Border="false" Height="100">
...
</ext:Panel>
<ext:Panel ID="pnlLeft" runat="server" Width="250" Border="false" Region="West" Layout="Fit">
...
</ext:Panel>
<ext:Panel ID="pnlContent" runat="server" Margins="5" Region="Center" BodyPadding="13">
<Loader runat="server" Mode="Frame" AutoLoad="false" ShowWarningOnFailure="false">
<LoadMask ShowMask="true" />
</Loader>
</ext:Panel>
</Items>
</ext:Viewport>
</form>
</body>
From selection in pnlLeft, I load one aspx page in the pnlContent as follows:[DirectMethod]
public void LoadPageMenu(string reqPage, string idObj = "")
{
...
pnlContent.Loader.Url = reqPage;
pnlContent.LoadContent();
...
}
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" />
</Loader>
</ext:Window>
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, 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.
Last edited by Daniil; Apr 11, 2014 at 4:19 PM.
Reason: [CLOSED]