Hello,
I am upgrading my toolbar from UltraWebToolbar to WebDataMenu (v12.2).
In UltraWebToolbar I could set the AccessKey property for each TBarButton. I cannot find corresponding functionality for WebDataMenu DataMenuItems. I've spent hours trying to find a workaround, including trying templates.
Is there a way to use access keys with DataMenuItems? This is critical functionality for my application.
Thank you.
Hello Mendoza,
Thank you for sharing the cause and solution to the issue in the community.
I am glad that the matter has been resolved.
I actually went with a different method to solve this issue -- I catch the keypress events and click the toolbar buttons in code. It works consistently across browsers.
Thank you for your help,Mendoza
We're still following your case. Have you been able to resolve the issue? If you have any further questions, please feel free to contact us.
Sincerely,
Tsanna
For IE, I would suggest you to also set the tabIndex property for the menu item elements. Here you can find more information on the matter - http://msdn.microsoft.com/en-us/library/ie/ms533062(v=vs.85).aspx.
Please let me know if this helps.
Thank you for your reply.
I've previously looked at the page you linked to but it isn't applicable because it doesn't address access keys.
I've worked today with the initialize event as you suggest above, and I am still having difficulty. I can get access keys working in Chrome & Firefox, for the most part, but not IE.
In the initialize event I'm iterating through the DataMenuItems and setting each item's access key.
Setting the accessKey property for the DataMenuItem itself does nothing, but if I use the get_element() method or the get_anchorElement() method and set the accessKey property I can get it working in Chrome and Firefox. But nothing in IE.
Do you have any suggestions as to exactly which object I should be setting the accessKey property on?
Thank you for your help. This was so easy in your UltraWebToolbar, it is so frustrating to spend days on something so simple. Hopefully there is an easy solution.