Hi,
In our application we are trying to assign shortcut keys for options on the screen,
which requires us to trap keys on client side and accordingly call .click() event of targetted control.
We have some validations set for all these controls in OnClientClicking event.
According to validation conditions we have to stop postback by setting arguments.setCancel(true). Also, on some places we
need to open rad window pop up after setting postback false.
Issue that we are facing is when we fire click event of these controls using mouse OnClientClicking is being called, but
when we are trying to achieve same by firing .click() from javascript for short cut keys functionality, OnClientClicking is not getting
called.
Please let me know if you have any solution for this. Or some other way to achieve our functionality.
In our application we are trying to assign shortcut keys for options on the screen,
which requires us to trap keys on client side and accordingly call .click() event of targetted control.
We have some validations set for all these controls in OnClientClicking event.
According to validation conditions we have to stop postback by setting arguments.setCancel(true). Also, on some places we
need to open rad window pop up after setting postback false.
Issue that we are facing is when we fire click event of these controls using mouse OnClientClicking is being called, but
when we are trying to achieve same by firing .click() from javascript for short cut keys functionality, OnClientClicking is not getting
called.
Please let me know if you have any solution for this. Or some other way to achieve our functionality.