Posted 15 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 15 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 15 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 15 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 (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.