I've created a context menu on my WebGrid using a WebMenu and set the ItemClick eventhandler in the code-behind as follows:
this.WebMenu1.MenuClientSideEvents.ItemClick = "menuClick";
The javascript function menuClick is as follows:
function menuClick(menuID, itemID) { item = igmenu_getItemById(itemID); itemText = item.getText(); switch(itemText) {
..and so on.....
In Firefox everything works perfectly but when I click an item in the context menu in IE I get "Object doesn't support this action" when I reach item = igmenu_getItemById(itemID);. Is the function not supported in IE?? Well, I hope not, so how come I get this error?