December 07, 2012

Clear selected values and text from Telerik RadCombobox

function clearItemInRadCombobox(item) {
        item.clearSelection();
        item.Text = "";
        item.trackChanges();
        for (var i = 0; i < item.get_items().get_count(); i++) {
            item.get_items().getItem(i).set_checked(false);
        }
        item.commitChanges();
    }

ASP.net Controls on Client Side

var county2 = document.getElementById("<%= pCounty.ClientID %≶");
console.log(county2);
county2.style.visibility = "hidden";