Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
igCombo javascript error: 'undefined' is null or not a object
posted

@(Html.Infragistics().Combo().ID("controlID")
                            .TextKey("Text")
                            .ValueKey("Key")
                            .SelectedIndexes(new [] {0})
                            .DataSourceUrl(Url.Action("Datasource", "Combo"))
                            .Render())

When I run it on IE8,  there will be a javascript error: 'undefined' is null or not a object. By the way, it works fine on firefox.

This error occurs in _dataChange function because this._dataSource is 'undefined':

_dataChange: function (q, z) {
            var l, H, F, E, m, G, s, t, r, w, k, A = this._lodWait,
                B = 1,
                u = -1,
                j = -1,
                D = this._needsSel,
                v = -1,
                y = this._keyVal,
                x = this._key,
                n = this._itemsHolder,
                p = this._dataSource,
                C = this.options;

Do you have any ieas?

 

Parents
  • 13438
    posted

    Hello Jeff,

    I have tested the combo with the latest SR for 12.1 – 12.1.20121.2059 under IE 8 and I could not face any issue. I am attaching the sample which I used to test. The  css and  js folders and their content should be copied from C:\Program Files (x86)\Infragistics\NetAdvantage 2012.1\jQuery and the scripts are the same as C:\Users\Public\Documents\Infragistics\NetAdvantage 2012.1\jQuery\Samples\HTML\Demos\scripts 

    HTML - Copy.zip
Reply Children
No Data