Posted on: 4/7/2014 8:34:52 PM | Views : 263

Hi,
i have two tables  in two panels and two radio buttons .when i click on radio1 it shows panel1 and when i click on radio2 panel1 is not hiding .Below is the code.
protected void RadioButton1_CheckedChanged(object sender, EventArgs e) { if (RadioButton1.Checked==true ) { RadioButton2.Checked = false; Panel1.Visible = true; Panel2.Visible = false ; } } protected void RadioButton2_CheckedChanged(object sender, EventArgs e) { if (RadioButton2.Checked==true ) { RadioButton1.Checked = false; Panel2.Visible = true; Panel1.Visible = false; } } <asp:RadioButton ID="RadioButton1" AutoPostBack ="true" GroupName ="r1" runat ...

Go to the complete details ...