Previously, I asked the following question in the WebMenu forum without getting any answer, so I'll try again here:
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?
This could be a bug, it's hard to say with out seeing a stack trace or knowing more. It might be best if you submit a formal support request through http://es.infragistics.com/gethelp You could also step into the igmenu_getItemById function all, and see what specifically in that function is raising the error.
-Tony