This is a migrated thread and some comments may be shown as answers.

RadFilter javascript error

1 Answer 29 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Stuart Watton
Top achievements
Rank 2
Stuart Watton asked on 30 Mar 2012, 02:32 PM
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

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 04 Apr 2012, 01:10 PM
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.
Tags
Filter
Asked by
Stuart Watton
Top achievements
Rank 2
Answers by
Tsvetoslav
Telerik team
Share this question
or