开发者

What is the code for selecting a Telerik radiobutton?

开发者 https://www.devze.com 2023-01-13 12:44 出处:网络
What code should I wri开发者_开发技巧te to select a Telerik radiobutton? It doesn\'t have a .checked property.try .ToggleStateRadRadioButton1.ToggleState = Telerik.WinControls.Enumerations.ToggleStat

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

0

精彩评论

暂无评论...
验证码 换一张
取 消