[CLOSED] Problems running my project in IE8

  1. #1

    [CLOSED] Problems running my project in IE8

    Hi... I get two erros when I run my project in IE8, and my application don´t started...

    1 - Object does not support this property or method: ExtJS.js, line 87
    highlightDates: function (dates, cls) {
            var dateValues = [],
                            el = this.getEl();
    
            cells = el.select("a.x-datepicker-date");
            Ext.each(dates, function (d) {
                dateValues.push(d.getTime());
            });
    
            cells.removeCls(cls);
    
            cells.filter(function (el) {
                return (dateValues.indexOf(el.dom.dateValue) > -1);  //in this line the errors occurs
            }).addCls(cls);
        }
    2 - App.txtIDAgendaSala' is null or not an object. 177, line 32

           function getIDAgendaSala() {
                var vRet = "1";
                //Aqui vai o código dos filtros...
                if (App.txtIDAgendaSala.getValue() != null) {           //in this line the errors occurs
                    if (App.txtIDAgendaSala.getValue() != "") {
                        vRet = App.txtIDAgendaSala.getValue();
                    }
                }
                return vRet;
            }
    There are any incompatibility between IE 8 and Ext.net or ExtJS?
    I do not know where to start debugging these errors. In IE9, FireFox, Chrome, the application runs very well.
    There are a checklist or guide to debug this cases?
    Last edited by Daniil; Mar 16, 2012 at 2:01 PM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by supera View Post
    Hi... I get two erros when I run my project in IE8, and my application don´t started...

    1 - Object does not support this property or method: ExtJS.js, line 87
    highlightDates: function (dates, cls) {
            var dateValues = [],
                            el = this.getEl();
    
            cells = el.select("a.x-datepicker-date");
            Ext.each(dates, function (d) {
                dateValues.push(d.getTime());
            });
    
            cells.removeCls(cls);
    
            cells.filter(function (el) {
                return (dateValues.indexOf(el.dom.dateValue) > -1);  //in this line the errors occurs
            }).addCls(cls);
        }
    Please apply these changes:
    http://forums.ext.net/showthread.php...ll=1#post76934


    Quote Originally Posted by supera View Post
    2 - App.txtIDAgendaSala' is null or not an object. 177, line 32

           function getIDAgendaSala() {
                var vRet = "1";
                //Aqui vai o código dos filtros...
                if (App.txtIDAgendaSala.getValue() != null) {           //in this line the errors occurs
                    if (App.txtIDAgendaSala.getValue() != "") {
                        vRet = App.txtIDAgendaSala.getValue();
                    }
                }
                return vRet;
            }
    If the error is not gone after fixing the first problem (the first JS error might cause the second one), please start a new forum thread.

    Quote Originally Posted by supera View Post
    There are any incompatibility between IE 8 and Ext.net or ExtJS?
    No, Ext.NET/ExtJS fully support IE8 (native, without any compatibility modes).

    Quote Originally Posted by supera View Post
    I do not know where to start debugging these errors. In IE9, FireFox, Chrome, the application runs very well.
    Well, there is just no native indexOf method of Array object in IE8, but it is in IE9, FireFox and Chrome. It's about the first problem.

    Quote Originally Posted by supera View Post
    There are a checklist or guide to debug this cases?
    Well, no special guidelines, just experience, debugging and searching on the internet. Or, certainly, the consultancy of more experienced developers in this part - it often saves my life :)
  3. #3
    Hi Daniil! The error is solved!

    Thanks a Lot!

Similar Threads

  1. Ext.Net is Running Too Slow
    By archana in forum 1.x Help
    Replies: 5
    Last Post: Oct 03, 2011, 7:11 AM
  2. [CLOSED] Running ExtJS 3.1.1 and 2.3 in the same VS-Project
    By macap in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 01, 2010, 9:40 AM
  3. Problem when running on IE7 XP
    By paapee in forum 1.x Help
    Replies: 0
    Last Post: May 21, 2009, 1:30 AM
  4. [CLOSED] running under IIS7
    By idrissb in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jan 02, 2009, 9:38 AM
  5. [CLOSED] Error after running new build
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 15, 2008, 8:07 AM

Posting Permissions