how to put validation for radiobuttonlist's radiobutton ?
<p>Here i have gridview which contain some values retrieved from database.We put radiobutton list for each row which contain 4 radiobutton in each row.
For particular row , i wish to disable that 4 radiobuttons.
For that , i tried following code ...But It doesn't work....</p>

<pre class="lang-cpp prettyprint-override"><code>if (j == 0) {
    dtrelative.Rows.InsertAt(rd3, 0);

    // rBtnList.Items[0].Enabled = false;

    //rBtnList.Items[0].Attributes.Add("Enabled","False");
    ////rBtnList.Items[1].Attributes.Add("Enabled", "False");
    ////rBtnList.Items[2].Attributes.Add("Enabled", "False");
    ////rBtnList.Items[3].Attributes.Add("Enabled", "False"); 

    //rtButton.Attributes.Add("Enabled", "False");                    

    rBtnList.HasAttributes.Equals(rtButton).GetType();
    rtButton.Enabled = false;

}
</code></pre>
