[CLOSED] Unable to get property 'load' of undefined or null reference

  1. #1

    [CLOSED] Unable to get property 'load' of undefined or null reference

    Hi

     I use loader in ext:window. I get JavaScript runtime error: Unable to get property 'load' of undefined or null reference. the debug stopped in the the compiled line: 
    loader.load(Ext.applyIf({disableCaching:disableCac hing},loader.lastOptions||{}));},load:function(con fig){this.getLoader().load(config);},clearContent: function(){if(this.iframe&&this.iframe.dom){var me=this,doc,prop;this.iframe.un("load",this.getLoa der().afterIFrameLoad,this);try{doc=me.getDoc();if (doc){if(!Ext.isIE){Ext.EventManager.removeAll(doc );}
     for(prop in doc){if(doc.hasOwnProperty&&doc.hasOwnProperty(pro p)){delete doc[prop];}}}
    
     Can you tell what's wrong with it?
    
     Here is my code:
     <ext:Window ID="winDocTypeKeywordList" runat="server" Title="Window"   Width="830"  Height="560" Maximizable="true" Closable="true"
            Resizable="true" Modal="true" Hidden="true">
            <Loader Url="WebApp/DocTypeKeywordList.aspx"   runat="server" ID="LdKeyword"  >
                      </Loader>
              </ext:Window>
    Thanks.
    Vamsi
    Last edited by Daniil; May 30, 2015 at 2:15 PM. Reason: [CLOSED]
  2. #2
    Hi Vamsi

    Unfortunately I could not reproduce the issue.

    Perhaps try setting Mode="Frame" on your Loader.
  3. #3
    Hello @Vamsi,

    Please don't wrap all the post in [CODE] tags. Only code should be wrapped. Unfortunately, it is difficult to read your post.

Similar Threads

  1. Replies: 1
    Last Post: Mar 26, 2015, 1:04 PM
  2. Replies: 8
    Last Post: Apr 30, 2014, 3:59 AM
  3. Replies: 3
    Last Post: Mar 13, 2014, 3:58 PM
  4. Replies: 0
    Last Post: Jan 30, 2014, 2:24 PM
  5. Replies: 12
    Last Post: Oct 30, 2013, 6:51 AM

Posting Permissions