Combobox clear selection Errors out

1 posts, 0 answers
  1. Sanjay
    Sanjay avatar
    21 posts
    Member since:
    Nov 2010

    Posted 15 Feb 2011 Link to this post

    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

Back to Top