RadControls for ASP.NET AJAX
Client side changes are available on the server side after postback. You can use the ClientChanges property of RadComboBox to access them. The ClientChanges property of RadComboBox returns a collection of objects of type ClientOperation. An operation has two properties:
Item - the item which has been affected by the client operation;
Type - the type of the operation which is one of the following four cases:
Update - when a property is set on the client through methods such as set_text(), set_value(), enable(), disable(), etc.: comboItem.disable();
Remove - when the remove client method is called: combo.get_items().remove(comboItem);
Insert - when the add client method is called: combo.get_items().add(comboItem);
Clear - when the clear method is called: combo.get_items().clear();
Note that you need to call the trackChanges() and commitChanges() client methods of RadComboBox in order to be able to access the changes on the server via the ClientChanges property.
The code snippet below enumerates through all operations in the ClientChanges collection and utilizes both the Item and Type properties. For a complete demo, please see the client-side Add/Remove/Disable Items example.