Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Documentation Update
posted

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   

// 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; }

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

Parents
No Data
Reply
  • 17590
    Offline posted

    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.

Children
No Data