Hi,
I am using Teleriks' 2014.2.618 version. Earlier, I was using 2012 ones.
I have ContextMenu on RadGrid which is suppose to open a menu. It worked perfectly fine on 2012 version. However, on 2014, the ContextMenu doesn't open up. While debugging our javascript its breaks at contextmenu.showAt(100,100).
We verified the passing parameter as integer. We pass the RadGrid's Id as sClientId.
It throws error as : Unable to get property 'showAt' of undefined or null reference
var x = 0;
var y = 0;
function showMenu()
x = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
y = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
var contextMenu = $find(sClientId);
contextMenu.showAt(x, y);
}
I am using Teleriks' 2014.2.618 version. Earlier, I was using 2012 ones.
I have ContextMenu on RadGrid which is suppose to open a menu. It worked perfectly fine on 2012 version. However, on 2014, the ContextMenu doesn't open up. While debugging our javascript its breaks at contextmenu.showAt(100,100).
We verified the passing parameter as integer. We pass the RadGrid's Id as sClientId.
It throws error as : Unable to get property 'showAt' of undefined or null reference
var x = 0;
var y = 0;
function showMenu()
x = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
y = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
var contextMenu = $find(sClientId);
contextMenu.showAt(x, y);
}