T
tma
Why does the following code generate the following HTML? I would think the
"name" attribute would be = "amount". Each control I add to the placeholder
is added with a name=_ctl0, then name=_ctl1, then name=_ctl2, etc. Am I
missing something?
How can I specify the "name" attribute with a "type=hidden"
HtmlInputControl?
phP is a placeholder control in my aspx form.
Dim myInput As HtmlInputHidden = New HtmlInputHidden
myInput.Name = "amount"
myInput.Value = "80.00"
phP.Controls.Add(myInput)
<input name="_ctl0" type="hidden" value="80.00" />
Thanks.
"name" attribute would be = "amount". Each control I add to the placeholder
is added with a name=_ctl0, then name=_ctl1, then name=_ctl2, etc. Am I
missing something?
How can I specify the "name" attribute with a "type=hidden"
HtmlInputControl?
phP is a placeholder control in my aspx form.
Dim myInput As HtmlInputHidden = New HtmlInputHidden
myInput.Name = "amount"
myInput.Value = "80.00"
phP.Controls.Add(myInput)
<input name="_ctl0" type="hidden" value="80.00" />
Thanks.