I am having problem with the alignment of the radio button text. The
text from database for the radiobutton DataTextField is too long to
fit in a single line.
e.g:
[radiobutton]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
how do I format the text from DataTextField to be aligned as below:
[radiobutton]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
my HTML is:
<asp:radiobuttonlist id="listAnswers" runat="server" font-
name="Tahoma" font-size="10" DataValueField="id_choice"
DataTextField="answertext"></asp:radiobuttonlist>
and my code behind is:
i create a DataVIew for answer and bind the radiobuttonlist to the
dataview
listAnswers.DataSource = dv
listAnswers.DataBind()
I thought of not binding the text to the radiobuttonlist but to a
label next to it, but how do I append this label multiple times with
different data from database?
Basically, I have a question and i would like to display the choices
for the question in a radio button format. I select the question_id
and lookup the choices using that question_id, and append it to a
dataview. How do I do that using a combination of radiobuttonlist +
label ?
Please help!
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/