我想隱藏並顯示RadcomboBox。但它似乎並沒有工作。隱藏並顯示RadComboBox
$.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();
}
}
請檢查下面的鏈接。 http://www.telerik.com/help/aspnet-ajax/combobox-client-side-radcombobox.html – 2013-07-25 12:29:26