Header context filter menu for grid not working on enter key press

2 posts, 0 answers
  1. deepti
    deepti avatar
    9 posts
    Member since:
    Jul 2011

    Posted 17 Jul 2012 Link to this post


    I am using telerik grid with header context filter menu implemented as attached in image 'Filter_Enter-Key__Issue.JPG'. Currently filter is not working on pressing 'Enter key' in input textbox. Filter only works if we press 'Filter' button.
    Could you please suggest any solution to work filter on 'Enter' key press? Or is there any way to disable 'Enter' key press event for filtering?
    Note:- This issue exists in all browsers(IE, FF, chrome)

    Thanks and Regards,
  2. O.D.
    O.D. avatar
    13 posts
    Member since:
    Nov 2008

    Posted 18 Jul 2012 Link to this post

    Hello deepti,

    One suggestion for handling the Enter key issue, would be to use the ClientEvents-OnKeyPress event of RadTextBox, detect Enter key, and then decide on what to do. Either Click programatically on the Filter Button, or disable it, which ever works best.

    function OnKeyPress(sender, eventArgs) 
       var c = eventArgs.get_keyCode(); 
       if (c == 13) 

    Related post :

    Kind Regards,
Back to Top