Filtering with keyboard

4 posts, 0 answers
  1. Aaron
    Aaron avatar
    22 posts
    Member since:
    Nov 2008

    Posted 05 May 2009 Link to this post

    Hi

    I am trying to setup a grid so that a user can filter using the keyboard.
    Currently, if the user tabs to a filter control and hits the enter key the filter menu opens in the top left corner of the screen:

    http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx

    Is it possible to have the menu open next to the filter button?

    Cheers
    Aaron
  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 05 May 2009 Link to this post

    Aaron-

    Check out this forum thread:


    It has a lot of great advice and code snippets for implementing keyboard support for filtering in RadGrid. Try the advice there and let me know if that helps.

    UPDATE: Also, don't miss this great Code LIbrary project that shows keyboard filtering:

    -Todd
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Aaron
    Aaron avatar
    22 posts
    Member since:
    Nov 2008

    Posted 05 May 2009 Link to this post

    Thanks Todd

    The first link I had already seen and I am using the first bit of code to enable the enter key to open the menu.

    I downloaded the project from the web library, the problem still exists with that code. Although the menu appears to open where you have left the cursor rather than at the top left of screen.

    Cheers
    Aaron
  5. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 07 May 2009 Link to this post

    Hello Aaron,

    I am afraid this is how RadContextMenu behaves. In order to show it at the desired position, you can try opening it with the showAt() client-side method as demonstrated here.

    I hope this helps.

    Sincerely yours,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top