をコンストラクタで選択されたRadioButtonを決定します。
public EmployeeCategorizationControl()
{
}
、多くのラジオボタン:私のコンストラクタで
<asp:RadioButtonList ID="selectedYesNoQuestionBlock1" runat="server" RepeatDirection="Horizontal"
OnSelectedIndexChanged="Question1GotAnswered" AutoPostBack="true">
<asp:ListItem Text="Yes" Value="1"></asp:ListItem>
<asp:ListItem Text="No" Value="0"></asp:ListItem>
</asp:RadioButtonList>
<asp:RadioButtonList ID="selectedYesNoQuestionBlock2" runat="server" RepeatDirection="Horizontal"
AutoPostBack="true" OnSelectedIndexChanged="Question2GotAnswered">
<asp:ListItem Text="Yes" Value="1"></asp:ListItem>
<asp:ListItem Text="No" Value="0"></asp:ListItem>
</asp:RadioButtonList>
を、どのように私はラジオを決定することができますボタンが選択されていますか?
ありがとうございます!
[この質問](http://stackoverflow.com/questions/378620/getting-selected-value-from-radiobuttonlist)をチェックし、それが重複している可能性があり。コンストラクタでも同様のことをしたいと思うでしょう。お役に立てれば。 – lhan