need help with RadioButton



Hi Guys,

I have the following C# code:

RadioButton rb = new RadioButton();
rb.ID = string.Format("vote_{0}", i);
rb.Text = i.ToString();
rb.GroupName = "vote";

It renders the following html:

<input id="vote_0" type="radio" name="vote" value="vote_0" /><label
for="vote_0">0</label>

How do I change the C# code to make rendered html look like this:

<input id="vote_0" type="radio" name="vote" value="0" />


TIA



.


Loading