JS error after closing window with GroupTabPanel

  1. #1

    JS error after closing window with GroupTabPanel

    Hello All,

    I have small partitial view that contains window with GroupTabPanel. The window is showing fine, but every time when I close it it shows me JS-error in Firebug (see the picture).

    Click image for larger version. 

Name:	2011-11-09_153036.png 
Views:	62 
Size:	19.4 KB 
ID:	3430

    Please see attached code:

    Window.ascx
    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
        <ext:Window 
                ID="Window2" 
                runat="server" 
                Title="Hello World!"  
                Icon="Application"
                Height="500px" 
                Width="800px"
                Layout="Border"
                CloseAction="Close">
                <Items>
                  <ext:GroupTabPanel ID="Panel1" runat="server" TabWidth="130" ActiveGroupIndex="0" Region="Center" >
                  <Groups>
                    <ext:GroupTab ID="GroupTab1" runat="server">
                      <Items>
                        <ext:Panel ID="Panel2" runat="server" Title="Tickets" Layout="fit" Icon="TagBlue" TabTip="Tickets tabtip" />
                        <ext:Panel ID="Panel3" runat="server" Title="Subscriptions" Icon="Newspaper" TabTip="Subscriptions TabTip" Layout="Fit"/>
                        <ext:Panel ID="Panel5" runat="server" Title="Users" Icon="Group" TabTip="Users tabtip" />
                      </Items>
                    </ext:GroupTab>
                    <ext:GroupTab ID="GroupTab2" runat="server">
                      <Items>
                        <ext:Panel ID="Panel6" runat="server" Title="Configuration" TabTip="Configuration tabtip" />
                        <ext:Panel ID="Panel7" runat="server" Title="Email Templates" TabTip="Templates tabtip" Icon="Email" />
                      </Items>
                    </ext:GroupTab>
                  </Groups>
                  </ext:GroupTabPanel>                
                </Items>
            </ext:Window>
    Controller
            public ActionResult ShowWindow()
            {
                PartialViewResult pr = new PartialViewResult();
                pr.ViewName = "Window";
                pr.SingleControl = true;
    
                return pr;
            }
    Main view
        <ext:ViewPort ID="ViewPort1" runat="server" Layout="border">
            <Items>
                <ext:Toolbar ID="Toolbar1" 
                    runat="server" 
                    Region="North" 
                    Height="25" 
                    Margins="0 0 4 0">
                    <Items>
                        <ext:Button ID="Button6" runat="server" Text="Show Window">
                          <DirectEvents>
                            <Click Url="/Tender/ShowWindow" />
                          </DirectEvents>
                        </ext:Button>                            
                    </Items>
                </ext:Toolbar>
                <ext:Panel id="Panel" runat="server" Region="Center" />                  
            </Items>
        </ext:ViewPort>
    What is the resons of this error?

    Regards,
    Alexander
  2. #2
    Hello, Is there any update on this?

Similar Threads

  1. [CLOSED] Problem: Closing Maximized Window will loose parent window scrollbar
    By tlfdesarrollo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 19, 2012, 8:51 PM
  2. viewstate error after closing iframe window
    By pstorch in forum 1.x Help
    Replies: 0
    Last Post: Mar 01, 2012, 10:32 AM
  3. Replies: 7
    Last Post: Feb 09, 2012, 11:17 AM
  4. Replies: 3
    Last Post: Jun 28, 2010, 5:14 PM
  5. Error with Store when closing window
    By fabiomarcos in forum 1.x Help
    Replies: 7
    Last Post: Jan 30, 2009, 3:39 PM

Posting Permissions