need help with RadioButton
- From: "Raymond Du" <rdrd@xxxxxxxxx>
- Date: Wed, 19 Sep 2007 21:50:18 -0700
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
.
- Prev by Date: POP3 Locking up computer
- Next by Date: Problems using IntPtr and Interop services to get image from unmanaged code
- Previous by thread: POP3 Locking up computer
- Next by thread: Problems using IntPtr and Interop services to get image from unmanaged code
- Index(es):
Loading