What code should I wri开发者_开发技巧te to select a Telerik radiobutton?
It doesn't have a .checked property.
try .ToggleState
RadRadioButton1.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Off
To get the which RadRadioButton was selected use radbtn.SelectedItem.Value
To set the RadRadioButton use radbtn.Items.FindByValue("1").Selected = true
精彩评论