[CLOSED] Grouptabpanel in window prevents window from rendering

Page 1 of 3 123 LastLast
  1. #1

    [CLOSED] Grouptabpanel in window prevents window from rendering

    Hi, window that contains group tab panel does not render at all.
    I have a window with the following code snippet

    
    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <ext:Window ID="winNewResultSet" runat="server" Title="Model.Title" AutoDataBind="true"
        Width="600" Height="500" Border="false" Closable="true" Draggable="true" Modal="true"
        CloseAction="Destroy" IDMode="Static" Resizable="false" Layout="FitLayout">
        <Items>
            <ext:GroupTabPanel ID="grouptabMainNewResultSet" runat="server"  Padding="3" Margins="5">
                <Items>
                    <ext:Panel runat="server" Title="Test 1">
                        <Items>
                            <ext:Panel Title="Hello world" runat="server"></ext:Panel>
                        </Items>
                    </ext:Panel>
                     <ext:Panel  runat="server" Title="Test 2">
                    
                    </ext:Panel>
                </Items>
                
                
            </ext:GroupTabPanel>
        </Items>    
    </ext:Window>
    when I replace the grouptabpanel with a normal panel, the window is rendered. But otherwise the window does not render. How can I make the grouptabpanel work in a window.
    Last edited by Daniil; Aug 28, 2012 at 2:29 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Each group should contain at least one item.

    So, please define an item for the second group.
  3. #3
    Even if you put 20 items in the panel the window does not render.

    
    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <ext:Window ID="winNewResultSet" runat="server" Title="Model.Title" AutoDataBind="true"
        Width="600" Height="500" Border="false" Closable="true" Draggable="true" Modal="true"
        CloseAction="Destroy" IDMode="Static" Resizable="false" Layout="FitLayout">
        <Items>
            <ext:GroupTabPanel ID="grouptabMainNewResultSet" runat="server" Padding="3" Margins="5">
                <Items>
                    <ext:Panel runat="server" Title="Test 1">
                        <Items>
                            <ext:Panel Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel1" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel7" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel8" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel9" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel10" Title="Hello world" runat="server">
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                    <ext:Panel runat="server" Title="Test 2">
                        <Items>
                            <ext:Panel ID="Panel2" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel3" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel4" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel5" Title="Hello world" runat="server">
                            </ext:Panel>
                            <ext:Panel ID="Panel6" Title="Hello world" runat="server">
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:GroupTabPanel>
        </Items>
    </ext:Window>
  4. #4
    How do you render it? If I place your window to the page then it works correctly
    Please provide your test sample.
    Vladimir Shcheglov
    Sr. Developer
  5. #5
    if I replace the grouptab panel with a normal panel. My window shows with the panel. So I believe I am rendering the window correctly..

    This is the javascript code that renders the page

    where the url points to my controller.
    
    Ext.net.DirectEvent.request({
                url: url,
                type: "load",
                cleanRequest: true           
            });
    the controller

                Ext.Net.MVC.PartialViewResult partialViewResult = new Ext.Net.MVC.PartialViewResult();
                partialViewResult.SingleControl = true;            
                partialViewResult.ViewName = "grouptabwindowpage"      
                return partialViewResult;
    My page structure is such that I have a masterpage that renders my .aspx pages in an IFrame in the center region of a border layout. and the button clicked to shows the Grouptab window is in the page loaded in the IFrame.


    I hope this description gives you an idea of my page structure.
  6. #6
    What version do you use?
    Please update from SVN (2.1 branch) and retest
    Vladimir Shcheglov
    Sr. Developer
  7. #7
    We are not using the SVN version of V2 we are using the release version.
  8. #8
    I guess you have to switch to 2.1 because a lot of MVC bugs were fixed in 2.1
    Vladimir Shcheglov
    Sr. Developer
  9. #9
    is the 2.1 in released version or I have to take a trunk from SVN. ?
  10. #10
    2.1 version is located in SVN at
    http://svn.ext.net/premium/branches/2.1
    Vladimir Shcheglov
    Sr. Developer
Page 1 of 3 123 LastLast

Similar Threads

  1. [CLOSED] Loader with Html renderer and Window rendering
    By paulc in forum 2.x Premium Help
    Replies: 33
    Last Post: Jun 25, 2013, 7:43 AM
  2. [CLOSED] message box rendering behind the modal window
    By SymSure in forum 2.x Premium Help
    Replies: 3
    Last Post: Aug 10, 2012, 4:12 PM
  3. Replies: 1
    Last Post: Nov 11, 2011, 2:48 PM
  4. [CLOSED] ICONs are not rendering in popup window
    By rnachman in forum 1.x Premium Help
    Replies: 1
    Last Post: Mar 28, 2011, 6:04 PM
  5. Replies: 11
    Last Post: Apr 15, 2010, 8:21 AM

Posting Permissions