需要javascript将RADcombobox的选定索引设置为0

Nat*_*han 0 javascript asp.net

需要javascript将RAD组合框的选定索引设置为0

Mic*_*oie 7

你试过"ClearSelections"吗?

var combo = $find("<%= RadComboBox1.ClientID %>");
combo.clearSelection();
Run Code Online (Sandbox Code Playgroud)

编辑

试一试:

var combo = $find("<%= RadComboBox1.ClientID %>");
var comboItem = new Telerik.Web.UI.RadComboBoxItem();
combo.trackChanges();
combo.get_items().getItem(0).select();
combo.commitChanges();
Run Code Online (Sandbox Code Playgroud)