RadFilter javascript error

2 posts, 0 answers
  1. Stuart Watton
    Stuart Watton avatar
    18 posts
    Member since:
    Sep 2009

    Posted 30 Mar 2012 Link to this post

    Hi,

    I hav a RadFilter in a RadWindow being used to filter a RadGrid. The grid can have upto about 80 columns visible in it but generally the users have about 20 at any one time. When the user selects the RadFilter and adds predicate to the filter this works ok, but when the user clicks on the drop down in the filter to select the actual column they want to filter on from the 80 or so potentials, as soon as the mouse moves from hovering over one column to hovering over another we get a javascript error inside the telerik javascript code at line 8900 (while(k.get_level()>0))

    The debugger says that k (an object of type RadContextMenu I guess) does not have a method of get_level
    if(!m||j==m||$telerik.isDescendant(j,m)){return true;
    }if(this._childrenDetached&&$telerik.isDescendant(l.get_parent()._getAnimationContainer(),m)){return true;
    }if(this._scroller&&l.get_level()>0&&!$telerik.isDescendant(this.get_element(),m)){var k=l;
    while(k.get_level()>0){k=k.get_parent();
    }this._onItemMouseOut({eventMapTarget:k.get_element(),eventMapRelatedTarget:m});
    }if(l._state==a.RadMenuItemState.Closed||l._state==a.RadMenuItemState.AboutToClose){return true;
    }if(l._state==a.RadMenuItemState.AboutToOpen){l._clearTimeout();
    l._state=a.RadMenuItemState.Closed;
    l.get_parent()._openedItem=null;
    return true;
     

    The list of columns is obviously implemented as RadContextMenu and because we have so many columns we have made the change mentioned elsewhere in the forum to add AutoScroll and setting the height of area to 300px but I don't suppose this makes any difference.

    What can I do to fix this as it makes it impossible for the user to select any column other the first one in the list.

    Stuart
  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 04 Apr 2012 Link to this post

    Hi Stuart,

    Please, leave the support discussion to the formal support ticket #529997.

    Thanks for that.


    Greetings,
    Tsvetoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top