Hi,
I need to find a radcombo and update its collection using javascript.
Please check with the coding given below, it showing error message, 'null object' for Radcombo2,
I need to find a radcombo and update its collection using javascript.
Please check with the coding given below, it showing error message, 'null object' for Radcombo2,
function
clientselectedindexchanged(sender,e) // Radcombo1 selected index change
{
var item = e.get_item();
var comboItem = sender.get_text();
if(comboItem == 'Cancel Episodes')
{
var combo= $find('<%= Radcombo2.ClientID %>');
var
comboItem1 = new Telerik.Web.UI.RadComboBoxItem();
comboItem1.set_text(
'welcome');
combo.get_items().add(comboItem1);
comboItem1.select();
combo.trackChanges();
combo.commitChanges();
}
}
Please give any suggestion.
Thanks in advance.
Regards,
Utchimahali.N