maintain state of radiobutton onclick change index
<p>i have three radio button. and each have gridview. like
rd1 for communication
rd2 for course content
rd3 for student
<strong>when i click rd1 then shows rd1 gridview then i fills rd1 grid view and click on rd2 and do same but when i click on rd1 again there is nothing to show any fill record. and at the end when submit button click then all three gridvalues saves. how to do this (maintain state and at the end save)</strong></p>

<pre><code>if (RadioButton1.Checked == true)
{
    fun_Call(button.Text);
} //next option radio.......

if (RadioButton2.Checked == true)
{
    fun_Call(button.Text);
} //next option radio.......

if (RadioButton3.Checked == true)
{
    fun_Call(button.Text);
} //next option radio.......
</code></pre>
