<asp:RadioButton ID="RadioButton1" AutoPostBack="true" runat="server" oncheckedchanged="RadioButton1_CheckedChanged" />
protectedvoid RadioButton1_CheckedChanged(object sender, EventArgs e) { if (RadioButton1.Checked) { TextBox1.Text = "a"; } } protectedvoid RadioButton2_CheckedChanged(object sender, EventArgs e) { if (RadioButton2.Checked) { TextBox1.Text = "b"; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)