Author: danadanny | Posted on: 11/24/2008 8:32:05 AM | Views : 1018

 Hi all,

quick question regarding the CheckedChanged event of radiobutton.

I have a user control (.ascx) that contains 2 radio buttons (both belong to same group) and a gridview. Each row in the gridview contains a checkbox. 

Selecting one of the radio button (rdoButton1) will check all checkboxes in the gridview and selecting the other radiobutton (rdoButton2) will uncheck all checkboxes. Both rdoButton1 and rdoButton2 points to rdoButton1_CheckedChanged event.

    protected void  rdoButton1_CheckedChanged(object sender, EventArgs e)
    {
        if (this.rdoButton1.Checked == true)
        {
          &nb ...

Go to the complete details ...