[CLOSED] Page get Uncaught TypeError: Cannot read property 'addCls' of undefined when view page in IPad

  1. #1

    [CLOSED] Page get Uncaught TypeError: Cannot read property 'addCls' of undefined when view page in IPad

    In the page there is ext:window for load other page when user click the command menu in grid. the ext:window display correct in desktop browser but cannot display in IPad when click the command menu. there is Uncaught TypeError raised:
    Uncaught TypeError: Cannot read property 'addCls' of undefined
    loadFrame @ ext.axd?v=4.2.0:475load @ ext.axd?v=4.2.0:460load @ ext.axd?v=4.2.0:402(anonymous function) @ VM338:1executeScriptDelay @ ext.axd?v=4.2.0:256executeScript @ ext.axd?v=4.2.0:256requestSuccessHandler @ ext.axd?v=4.2.0:249callback @ ext.axd?v=4.2.0:19onComplete @ ext.axd?v=4.2.0:19onStateChange @ ext.axd?v=4.2.0:19(anonymous function) @ ext.axd?v=4.2.0:19

    Command click java script
    ext:window in aspx page
    <ext:Window ID="winAssignedMenu" runat="server" Title="Window" Frame="true" Width="700"
            ConstrainHeader="true" Height="500" Maximizable="true" Closable="true" Resizable="true"
            Modal="true" Hidden="true">
            <Loader ID="Loader1" Url="SystemRoleAssignedMenu.aspx" Mode="Frame" DisableCaching="true" TriggerEvent="show" runat="server"
                    <ext:Parameter Name="RoleID" Mode="Raw" Value="0">
                <Hide Handler="this.clearContent();" />
    Server side LoadMenuWindow function
            public void LoadMenuWindow(string RoleID, string RoleName)
                this.winAssignedMenu.Loader.Url = "SystemRoleAssignedMenu.aspx";
                this.winAssignedMenu.Loader.DisableCaching = true;
                this.winAssignedMenu.Loader.Mode = Ext.Net.LoadMode.Frame; 
                this.winAssignedMenu.Loader.Params.Add(new Ext.Net.Parameter("RoleID", RoleID));
                this.winAssignedMenu.SetTitle("Assign Menu – Role '" + RoleName + "'");
    Last edited by fabricio.murta; Feb 25, 2017 at 5:09 AM. Reason: no user feedback for 7+ days
  2. #2
    Hi. I tried reproducing the issue with the code snippets that you provided, but was unable.

    If a reproducible code sample cannot be provided, we will mark the thread as [CLOSED].
    Geoffrey McGill
    Founder & CEO

Similar Threads

  1. Replies: 3
    Last Post: Feb 08, 2017, 5:31 PM
  2. Replies: 5
    Last Post: Nov 04, 2016, 4:18 AM
  3. Replies: 1
    Last Post: Nov 01, 2016, 3:30 PM
  4. Replies: 3
    Last Post: Sep 13, 2015, 9:41 AM
  5. Replies: 5
    Last Post: Oct 30, 2013, 2:29 PM

Posting Permissions