N
Nathan Sokalski
In the RadioButton and CheckBox controls, there is no Value attribute. The
html <input> tag has a value attribute, which is used by both type="radio"
and type="checkbox". The RadioButtonList and CheckBoxList controls have
SelectedValue properties (I realize that the RadioButtonList uses the
<select> and <option> tags instead of the <input> tag, but needing a value
server-side exists either way). I am attempting to write a control with
functionality similar to that of the RadioButtonList but that has a textbox
next to some of the RadioButtons for extra specs when filling out a form.
However, because I cannot use the <select> tag due to the limitations on
what tags are allowed between the opening & closing tags, I am forced to use
the RadioButton control. But I am trying to figure out how to specify and
retrieve the value for the selected RadioButton. What can I do? Thanks.
html <input> tag has a value attribute, which is used by both type="radio"
and type="checkbox". The RadioButtonList and CheckBoxList controls have
SelectedValue properties (I realize that the RadioButtonList uses the
<select> and <option> tags instead of the <input> tag, but needing a value
server-side exists either way). I am attempting to write a control with
functionality similar to that of the RadioButtonList but that has a textbox
next to some of the RadioButtons for extra specs when filling out a form.
However, because I cannot use the <select> tag due to the limitations on
what tags are allowed between the opening & closing tags, I am forced to use
the RadioButton control. But I am trying to figure out how to specify and
retrieve the value for the selected RadioButton. What can I do? Thanks.