Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group Doesn't Bind
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Option Group Doesn't Bind
Miscellaneous
Thread ID:
01502512
Message ID:
01502512
Views:
111
Anyone see why this option group doesn't bind to the CoursePayment.numPaymentType property? All other fields bind fine. dsPayType is an asp:ObjectDataSource object, and the options display properly.

As a kludge, I've been manually binding it in my save method with a oPayment.Entity.numPaymentType = opgPayType.SelectedIndex but I'd rather have it bind properly.

TIA, Eric
 <mm:mmRadioButtonList ID="opgPayType" runat="server" AccessLevel="Full" BindingSource="" 
                    BindingValueSource="CoursePayment" 
                    BindingValueSourceMember="numPaymentType" ControlID="00000000-0000-0000-0000-000000000000"
                    DataSourceID="dsPayType" DataTextField="txtType" DataValueField="numID" IsPostBack="False"
                    SecuritySetup="True" Width="350px" Style='display: inline-block;' 
                    BindingSourceDisplayMember="">
</mm:mmRadioButtonList>
Next
Reply
Map
View

Click here to load this message in the networking platform