Question

I'm trying to get a RadComboBox to select the first item in a result set but have not been able to do so. I have asked the Telerik folks and they can't get it to work either. I have a demo project available for download here:

https://rcpt.yousendit.com/1110087085/647dc0d8e5ed4f6763d1ab5e270f8c6b

If I type 'purchas' in the input field, I want 'purchasability' to be highlighted since it's the first item in the result set. The next thing I want to have happen is to press the [enter] key in order cause a postback. Since 'purchasability' should be selected, the RadComboBox1.SelectedValue should be 405, which is displayed in a label after the postback. Please note that none of these operations involve using the mouse to select an item in the result set.

Was it helpful?

Solution

I finally got working code from Telerik. I posted a solution here

OTHER TIPS

Honestly I do not see how you expect to output the selected value in the combobox using the button click server handler in your scenario. Either get the client instance of the button inside the panel and invoke its click() method or set AutoPostBack = true for the combo and wire its SelectedIndexChanged event to modify the label text. For the latter and I am not sure how this will work with client load-on-demand with web service for the combobox.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top