i have two combobox one to display Text and other to display Value
i need to reflect selected index change on one of them to other one
so i create a user control with tow combo box
and the put javascript function to maintain change
for each combo box
But when i add the function to both of them
i hade Stack overflow at line 62
Please if there is any example about same idea tell me
Regards,
i need to reflect selected index change on one of them to other one
so i create a user control with tow combo box
and the put javascript function to maintain change
OnClientSelectedIndexChanging
function
OnClientSelectedIndexChanging(sender, eventArgs)
{
var
Combo1Item = eventArgs.get_item();
var
Combo1Value = Combo1Item.get_value();
var
Combo2 = $find("<%= RadComboBoxDescription.ClientID %>");
var
Combo2Value = Combo2.findItemByValue(Combo1Value);
if
(Combo2Value)
{
Combo2Value.select();
}
}
for each combo box
But when i add the function to both of them
i hade Stack overflow at line 62
Please if there is any example about same idea tell me
Regards,