P
Paul W
Hi -
Why does this code:
Dim mychk As New CheckBox
mychk.Attributes.Add("Resid", "R" & 123213)
mychk.ID = "chk3"
render as this:
<span Resid="R123213"><input id="chk3" type="checkbox" name="chk3" /></span>
instead of this:
<input Resid="R123213" id="chk3" type="checkbox" name="chk3" />
If I use a textbox, instead of a checkbox then I get a version of the second
html, as desired.
Thanks, Paul.
Why does this code:
Dim mychk As New CheckBox
mychk.Attributes.Add("Resid", "R" & 123213)
mychk.ID = "chk3"
render as this:
<span Resid="R123213"><input id="chk3" type="checkbox" name="chk3" /></span>
instead of this:
<input Resid="R123213" id="chk3" type="checkbox" name="chk3" />
If I use a textbox, instead of a checkbox then I get a version of the second
html, as desired.
Thanks, Paul.