Clear RadComboBox

if (cmbProje.Items.Count > 0)
OnClearSelection(cmbProje);

protected void OnClearSelection(RadComboBox cmb)
{
cmb.Text = null;
cmb.SelectedValue = null;
cmb.Items.Clear;
cmb.ClearSelection();
cmb.SelectedIndex = -1;

    }

Leave a Reply

Your email address will not be published. Required fields are marked *