[CLOSED] Window Renderto Parent

  1. #1

    [CLOSED] Window Renderto Parent

    Hi

    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 5:19 PM. Reason: [CLOSED]
  2. #2
    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.
    http://forums.ext.net/showthread.php?17151
  3. #3
    Daniil, thank you for your answer.

    I was hoping to do it from Javascript.

    Regards

Similar Threads

  1. Replies: 2
    Last Post: Apr 19, 2012, 9:51 PM
  2. Replies: 6
    Last Post: Feb 15, 2012, 5:15 PM
  3. Replies: 7
    Last Post: Feb 09, 2012, 12:17 PM
  4. Replies: 1
    Last Post: Mar 14, 2011, 8:35 PM
  5. Replies: 1
    Last Post: Mar 14, 2011, 5:20 PM

Tags for this Thread

Posting Permissions