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

[Solved] RadAjaxManager and Detecting Enter Pressed

1 Answer 127 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Victor
Top achievements
Rank 1
Victor asked on 14 Apr 2008, 04:21 PM
I'm doing a multi-word search-type interface with a textbox, search button, and Radgrid.  They are tied into RadAjaxManager and the grid correctly displays search results through the manager when the user enters words and clicks the search button.  However, if the user "presses Enter" I hear the "DING" sound and nothing happens.  The behavior I want is to "do the search button".  I've tried catching various events but I'm unable to intercept the "Enter Pressed" so that I can "click the search button".  I'm trying to prevent postbacks, if possible.  I thought that linking the textbox into the manager would do the trick but that hasn't worked either.  Any suggested strategies?

Thanks,

Victor.  

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Apr 2008, 12:03 PM
Hi Victor,

We have transfered your forum thread to our support system as we wanted to ask you for some personal information. We checked your account and we noticed that you have not downloaded any RadControls products. Since it is our policy to support only users with valid accounts in good standing, could you share how did you obtain your copy of RadAjax? Maybe you obtained our products under a different account? If so, please share it with us so we can update our records and provide you with adequate services and answer your future questions.
As to your current inquiry - there are various threads on how to detect enter key with javascript. Here is one, once you detect it simply invoke a custom AjaxRequest() and do your search on the server.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Victor
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or