Hi I have followed the example on adding an item to the combobox on the client side.
http://www.telerik.com/help/aspnet-ajax/combo_itemsclientside.html
And it works, but when this happens I loose all other items in the combobox and only the item I haved added is there.
Here is my code:
function
AddNewItem(Text, Value)
{
var combo = $find('<%=rcbPerson.ClientID %>');
var comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text(Text);
comboItem.set_value(Value);
combo.trackChanges();
combo.get_items().add(comboItem);
comboItem.select();
combo.commitChanges();
comboItem.scrollIntoView();
}
any help would be great
thanks,
Andrew Day