ShortcutKey gone?

9 posts, 0 answers
  1. bzburns
    bzburns avatar
    23 posts
    Member since:
    Apr 2007

    Posted 08 May 2008 Link to this post

    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.
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 09 May 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. bzburns
    bzburns avatar
    23 posts
    Member since:
    Apr 2007

    Posted 12 May 2008 Link to this post

    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?
  5. bzburns
    bzburns avatar
    23 posts
    Member since:
    Apr 2007

    Posted 12 May 2008 Link to this post

    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?
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 13 May 2008 Link to this post

    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
  7. bzburns
    bzburns avatar
    23 posts
    Member since:
    Apr 2007

    Posted 31 Jul 2008 Link to this post

    Any updates to this?
  8. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 01 Aug 2008 Link to this post

    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.
  9. Casey
    Casey avatar
    299 posts
    Member since:
    Jul 2009

    Posted 26 Aug 2009 Link to this post

    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
  10. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 28 Aug 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017