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

Combobox clear selection Errors out

0 Answers 99 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sanjay
Top achievements
Rank 1
Sanjay asked on 16 Feb 2011, 04:57 AM
Hello,

I have a simple example in which the javascript function is executed after a postback to clear a load-on-demand box which allows
custom text to be entered:

function Clear(){
var combo = $find("<%= RadComboBox1.ClientID %>");  
combo.clearSelection(); 
}

When I put a break on the function, I can see that the combo object is having a value OK.
But the IE 8 browser complians the clearSelection() is not a valid method!

I tried to use the set_text() and set_value() but then I do not see the Empty message string!

Is there any way to preserve the empty message and de-select a item?

Thanks,
Sanjay

Any help

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Sanjay
Top achievements
Rank 1
Share this question
or