Posted 11 years ago by billb - Software Craftsman, Yye Software
Version: 4.5.0480
Avatar
I can't seem to figure out how to disable a single radio button that exists in the RadioButtonList. How do I do this?

Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Bill,

If you set the ListBoxItem.IsEnabled property to false, that should do it.


Actipro Software Support

Posted 11 years ago by billb - Software Craftsman, Yye Software
Avatar
And where do I find that? Sorry, I feel like I'm missing something basic here.
Posted 11 years ago by billb - Software Craftsman, Yye Software
Avatar
Never mind, I figured it out.

ListBoxItem item = radioButtonListStep2.ItemContainerGenerator.ContainerFromIndex(2) as ListBoxItem;
The latest build of this product (v2019.1 build 0683) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.