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

Show and Hide RadComboBox

1 Answer 142 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
nav100
Top achievements
Rank 1
nav100 asked on 27 Jan 2011, 10:49 PM
Hi,
I am trying to hide and show RadComboBox.
But this code doesn't seem to be working. I checked in IE and FireFox. Thank you.





$
.ajax({  
            url
: applicationPath + "/test/Test.svc/GetResultById",  
            type
: "POST",  
            dataType
: "json",  
            data
: '{"sId":' + sender.get_value() + '}',  
            contentType
: "application/json; charset=utf-8",  
            success
: function(result)  
             
{  
                 
var combo = "<%= RadComboBox1.ClientID %>"); 
 
                 
if(result.d == false)  
                 
{  
 
                    combo
.hideDropDown();  
                 
}  
                 
else 
                 
{ 
                    combo
.showDropDown(); 
                 
} 
             
}        

1 Answer, 1 is accepted

Sort by
0
nav100
Top achievements
Rank 1
answered on 27 Jan 2011, 11:55 PM
It's working with

combo.set_visible(

false);

Thanks..

 

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