Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Binding Problems
Message
 
À
05/10/2005 17:23:09
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01056035
Message ID:
01056579
Vues:
29
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform