Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
3 つのラジオ ボタンを含むページがあり、選択されているボタンに応じて、いくつかのコントロールを検証する必要があります (必要なフィールド バリデーターを使用)。カスタムバリデータを使用する以外に、これを行う方法はありますか?
ありがとう
OnSelectedIndexChanged を RadioButtonList (個別のラジオ ボタン コントロールの場合は CheckedChanged) に追加します。
コード ビハインド.Enableおよび.Disable特定の必須フィールド バリデーター。
.Enable
.Disable