Hi
This code example is from the help file for the WebImageButton in the Asp.net help files. it is showing the javascript click event:
function WebImageButton1_Click(oButton, oEvent){
// cancel click if it was triggered by Space key
if (Event.action == 1) Event.cancel = true;
if (Event.action == 1)
if
Event.cancel = true;
true
// cancel click if it was triggered by Enter key
if (Event.action == 2) Event.cancel = true;
// cancel click if it was triggered by Access key
if (Event.action == 3) Event.cancel = true;
// cancel click if it was triggered by Mouse button
if (Event.action == 0) return; }
return
The issue is that the event is passed in as a function parameter as oEvent but is used in the function body as Event not oEvent. You might want to get this corrected.
Ken Paton
Hello Ken,
Thank you very much for your feedback. We highly appreciate that you took time to convey your comments and I assure you that we consider our customers feedback to be crucial for steering improvements at Infragistics. You comment will be forwarded to the appropriate management team for review and consideration.
Thank you for using Infragistics components.