hi
We are using rad grid and RadComboBox box.
Rad combo box is add as a Edit template in Rad grid.
I m facing a problem OnClientBlurEvent.
I want if Item is not in the combobox then it should display default value.
but it showing blank or pervious value.
Please suggest me the solution for above issue
We are using rad grid and RadComboBox box.
Rad combo box is add as a Edit template in Rad grid.
I m facing a problem OnClientBlurEvent.
I want if Item is not in the combobox then it should display default value.
but it showing blank or pervious value.
Please suggest me the solution for above issue
function
OnClientBlurHandler(sender, eventArgs) {
var item = sender.findItemByText(sender.get_text());
if (!item) {
debugger;
sender.clearSelection();
sender.clearItems();
var comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text(
"Blanck");
sender.get_items().add(comboItem);
sender.commitChanges();
sleep(10000);
alert(sender.get_text());
sender._filter = 0;
}
}
