In the ClientEvents-OnSelectedIndexChanged would be nice if there was a way to get_oldvalue(). I do it with a hidden field but that would be helpful.
1 Answer, 1 is accepted
0
Vessy
Telerik team
answered on 20 Apr 2022, 02:46 PM
Hi David,
The RadioButtonList gives access to the old selected item index in the OnSelectedIndexChanged event, so you can used it in order to access the old item value in a similar way:
functionOnSelectedIndexChanged( buttonList, args) {
var oldIndex = args.get_oldSelectedIndex();
var oldItem = buttonList.get_items()[oldIndex];
var oldValue = oldItem.get_value();
}