I just upgraded to ASP.NET DevExpress 16.2 and suddenly the ASPxPopupControl does not work. The webpage throws an exception.
Here is the code where it bombs:
ASPx.GetCanBeActiveElementsInContainer = function(container) {
var canBeActiveTags = ["INPUT", "A", "UL", "BUTTON", "TEXTAREA", "SELECT", "IFRAME"],
canBeActiveElements = [];
Data.ForEach(canBeActiveTags, function(tag) {
var elements = container.getElementsByTagName(tag);
canBeActiveElements = canBeActiveElements.concat([].slice.call(elements));
});
It bombs on the canBeActiveElements = canBeActiveElements.concat([].slice.call(elements));
line.
The error message is:
Array.prototype.slice: 'this' is not a JavaScript object
Not quite sure why this is happening since it is a 3rd party UI add on component.
What does this exception means or how to fix this?