日期:2014-05-17 浏览次数:20419 次
前台: <asp:RadioButton ID="RadioButton1" runat="server" AutoPostBack="True"
oncheckedchanged="RadioButton1_CheckedChanged" />//注意设置AutoPostBack="True"
<asp:RadioButton ID="RadioButton2" runat="server" />
后台:
protected void RadioButton1_CheckedChanged(object sender, EventArgs e)
{
RadioButton2.Text = "点击变化的值!";
}