See this article for an example of RadioButtonList with databinding [1].
<asp:RadioButtonList ID="DiscontinuedChoice" runat="server"
SelectedValue='<%# Bind("Discontinued") %>'>
<asp:ListItem Text="Active" Value="False" />
<asp:ListItem Text="Discontinued" Value="True" />
</asp:RadioButtonList> Related articles:
[1] - Customizing the Data Modification Interface (Step 4: Using RadioButtons for the Discontinued Status)
No comments:
Post a Comment