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

how to capture the onchange event of the input field of the radcombo

3 Answers 145 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Hemangajit Dutta
Top achievements
Rank 1
Hemangajit Dutta asked on 26 Aug 2008, 12:49 PM
Hi ,
           I am developing a webpart which contains the Telerik RadComboBox. One of the requirements is that if user changes something in the combobox either by selecting from the list or by typing something in the input box, I have to show a message on navigating away from the page. For capturing the change in the list items I am using the OnClientSelectedIndexChanged event. But I did not find any suitable event to capture the event where user changes something in the input of the combo by typing in something. Could you please suggest how to capture this scenario?

Hemangajit

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 26 Aug 2008, 01:38 PM
Hi Hemangajit ,

I suggest you use the OnClientKeyPressing event.


Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Hemangajit Dutta
Top achievements
Rank 1
answered on 26 Aug 2008, 05:17 PM
Hi Rosi,
             I appreciate your suggestion. But this event is fired whenever user presses a key. I am looking forward to a event like onchange of a textbox which is fired only when user changes the text of the input and tabs out of the input. Please let me know if it can be achieved.

Thanks
Hemangajit

0
Rosi
Telerik team
answered on 27 Aug 2008, 12:51 PM
Hi Hemangajit,

Please find our latest internal build and try it. It contains OnClientTextChange event which you can use.

Kind regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Hemangajit Dutta
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Hemangajit Dutta
Top achievements
Rank 1
Share this question
or