How do I reset a combobox after a user selects an item so that they can reselect the same item again and refire the selectindexchanged event? I tried using clearSelection() but this method does not work. If i select an item and then drop down the combobox box again after calling clearSelection(), the same item is still selected. I'm using 2008 Q3. I tried all different combinations of set_Value, clearSelection(), etc. Some of them work if I click away from the combobox. But this won't work for me. I have a special "custom" item the user can select over and over to bring up a calendar.
function valueChanged(sender, eventArgs) {
var item = eventArgs.get_item();
var combo = $find("<%= RadComboBox3.ClientID %>");
if (sender.get_value()=="DateRange")
{
combo.clearSelection();
combo.set_value(null);
combo.set_text("7 Day Period");
alert(combo.get_selectedIndex());
}
function valueChanged(sender, eventArgs) {
var item = eventArgs.get_item();
var combo = $find("<%= RadComboBox3.ClientID %>");
if (sender.get_value()=="DateRange")
{
combo.clearSelection();
combo.set_value(null);
combo.set_text("7 Day Period");
alert(combo.get_selectedIndex());
}