I am using RadCombo box for my Asp.net Application.
On the page load data is being bound to the combobox. Now there is an option to edit the data in the Combo box by clicking on a link that is beside the combobox which brings a popup window where we edit the data and Update. On Updating the value the popup window is closed thereby refreshing the Combobox (client side).
For that i am using the following code.
cboCases.clearItems();
cboCases.requestItems(sel, false); //Here value of sel is the selected index’s value.
After the request_Items fires the sever side event is called to bind the combobox.
The server side code is
cboCases.DataSource = listObjects;
cboCases.DataBind();
cboCases.SelectedIndex = int.Parse(sel); //sel is the values passed from Request_Items
My Issue is that even though we are setting the selected index value, what is being reflected in the UI is the same old value.But once we change the index of the combobox manually from the UI the data is the updated value.