Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Binding Problems
Message
 
To
05/10/2005 17:23:09
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01056035
Message ID:
01056579
Views:
28
Ken,

>So with that, what purpose does the binding properties on the mmradio control serve?
>
>>Windows Forms Radio buttons are odd animals...you would expect the behavior you mentioned above, but that's not how they work. They are more a "loose confederation" of individual controls rather than acting as a single control. You can't data drive the selection, because there is not a single value that represents the selection. Each radio button in a group has its own Checked property which is either true or false.

I had to choose whether to data bind the control at all or not, but decided it best to provide at least some type of data binding...thus the text of each radio button can be data driven.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform