[CLOSED] Window Renderto Parent

  1. #1

    [CLOSED] Window Renderto Parent


    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, 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.
  3. #3
    Daniil, thank you for your answer.

    I was hoping to do it from Javascript.


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