I have cloned the Kentico radio button form control (RadioButtonsControl.ascx) and added a custom property called (“Correct Answer”). I have used the GetControlValue() event to combine the selected answer and a hard coded value. This works as I expect however I am having an issue with the SetControlValue to remove the hard coded value and populate the radio button with the selected answer.
i.e. I need to split the saved value in order to show the selected value on edit.
protected override void SetControlValue(object value)
ListControl.SelectedValue = System.Convert.ToString(value);
Any help would be greatly appreciated.