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();
    }

No comments: