This is a migrated thread and some comments may be shown as answers.

ShortcutKey gone?

8 Answers 121 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
FL-Developer
Top achievements
Rank 1
FL-Developer asked on 08 May 2008, 09:09 PM
ShortcutKey is now missing from RadToolbar.  I used to use Ctrl for my ShortcutKey.  Is there a way to define that behavior?

And why is AccessKey defined on  RadToolbar at all?  That seems like a strange choice.

8 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 09 May 2008, 03:50 PM
Hi bzburns,

When building RadToolBar for ASP.NET Ajax we decided to make the keyboard navigation following the default browser mechanism. The HTML form elements and links have an accesskey property, which is used exactly for keyboard operations. It works with the ALT key (ALT+SHIFT in Firefox).

In contrast, RadToolBar "Classic" achieved keyboard support by handling all the keyboard shortcuts of an HTML document, which often interfered with other keyboard support solutions.

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
FL-Developer
Top achievements
Rank 1
answered on 12 May 2008, 03:37 PM
Yet this fact is not noted in any documentation or so much as mentioned.

http://www.telerik.com/help/aspnet/toolbar/toolb_backwardcompatibility.html

"There are no major changes in Telerik RadToolBar API and the product is fully backwards compatible with the previous version."

Not only is ShortcutKey just missing completely, but keyboard shortcuts also behave differently.  How is that fully backwards compatible?
0
FL-Developer
Top achievements
Rank 1
answered on 12 May 2008, 05:01 PM
Oops.  Those docs are for the other suite.  The new asp.net ajax docs map ShortcutIey to item.AccessKey, with no details.  How does that work exactly?
0
Peter
Telerik team
answered on 13 May 2008, 01:54 PM
Hi Stephen,

Thanks for you inquiry. Setting the AccessKey property for a toolbar button, will allow you to select this button with the keyboard. However, no event will fire in this case. As you already pointed out in the support ticket about this issue, it would make more sense selecting a button with via the keyboard to cause a server-side ItemClick event or any client event to fire. We agree with you and we will provide this functionality as soon as we can. However, we won't be able to implement it for the upcoming service pack 1 on May 15.



Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
FL-Developer
Top achievements
Rank 1
answered on 31 Jul 2008, 05:54 PM
Any updates to this?
0
Erjan Gavalji
Telerik team
answered on 01 Aug 2008, 06:32 AM
Hi bzburns,

The access key now works the same way as a click on an item. Attached is a small demo page. Please, give it a try.

Regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Casey
Top achievements
Rank 1
answered on 26 Aug 2009, 03:53 PM
Erjan,

Alt + A does not work properly in the ASP.NET ToolBar Demo - Functionality - Keyboard Support live example for Q1 2009. Instead of selecting the Align option, it expands the Favorites menu option and highlights "Add to Favorites...".

Casey
0
Peter
Telerik team
answered on 28 Aug 2009, 01:18 PM
Hello Casey,

Thank you for reporting this problem with the online demo. I have fixed it and with the next release it should be fine. The problem is actually quite simple and is caused by a typo:

<telerik:RadToolBarDropDown Text="<u>A</u>lign" AccessKey="F">

The correct setting should be AccessKey="A"


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ToolBar
Asked by
FL-Developer
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
FL-Developer
Top achievements
Rank 1
Peter
Telerik team
Casey
Top achievements
Rank 1
Share this question
or