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

changing the selected item on clientclick ...

1 Answer 68 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
adam_right
Top achievements
Rank 1
adam_right asked on 18 Oct 2010, 02:43 PM
by default, the ComboBox control changes the selected item when ranging the items. 

is it possible to change the selected item just on clientclick event of any items ?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Oct 2010, 05:48 AM
Hi,


I am not quite sure about your requirement. If you want to select an item in combo from any client event, then you can invoke the select() method of corresponding RadComboBoxItem.

var combo = $find("<%= RadComboBox2.ClientID %>");
var item = combo.findItemByText("Apples");
item.select(); // Select item



-Shinu.
Tags
ComboBox
Asked by
adam_right
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or