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

on tab out after entering search context i want to fire on search event

1 Answer 63 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Afreen
Top achievements
Rank 1
Afreen asked on 02 Jun 2020, 08:43 AM

hi team,

 

neen your urgent help for my code.

i need a java script funtion after entering text in the search context and press tab out, i want to fire onsearch event 
i have some logic in this which populate another textbox in the onsearch event in code behind
please help

1 Answer, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 05 Jun 2020, 08:44 AM

Hello,

You can try attaching a blur event to the RadSearchBox Input element. And use it to manually trigger the click event of the RadSearchBox search button.

Keep in mind that tabbing out without selecting will just submit the text you have in the input and no value. 

You mind find helpful to check out the Client API of the control - RadSearchBox Client Object.

I hope that will help!

Kind regards,
Doncho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
SearchBox
Asked by
Afreen
Top achievements
Rank 1
Answers by
Doncho
Telerik team
Share this question
or