In our product we use the UltraWebMenu control for all menu items available. We now have the requirement that out product is Section 508 compliant, which means the user must be able to work with our product with the keyboard only.
We override the MenuClientSideEvents.ItemClick event to execute our own JavaScript. But this event is only executed when either clicking the item with the mouse or pressing the <SPACE> key. But to have a common behavior all over the application the menu items must also be executable with the <ENTER> key
Is there any solution to configure the UltraWebMenu to execute the ItemClick event also when pressing the <ENTER> key?
Any help appreciated,
Jörg
Many thanks! We will look into your sample and hopefully can reuse it in our application.
Regards,
Hello Jörg,
I have attached a sample that demonstrates how you can have the UltraWebMenu fire when the Enter key is pressed. In the sample the itemKeydown is caught we then check the keycode for the enter key and change it to the space to fire the event. Then the event that we caught is evoked. To see this behavior expand the menu then hit enter.
Please let me know if you have any questions concerning this matter.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
I have done some further research into this matter. It seems currently the UltraWebMenu is unable to have the Enter key set as the trigger of the ItemClick event. I have discussed this matter with my team lead and it seems it may be possible to replace this event with a new one that will be able to be fired on the press of the Enter Key. I am going to work on creating a sample to demonstrate this behavior. I will give you a progress update by tomorrow.
I have done some research into this matter. I have been unable to find a way to change the button that fires and event from <SPACE> to <ENTER>. I will continue to look into this matter and give you a progress update by the end of the day tomorrow.