H
hellrazor
Hi there,
I'm successfully streaming a list of items into a radiobuttonlist. I am
using an ArrayList as a data source, which I have built from a table of
values in a MySQL table. It's working great. My only issue is that it is
printing the label along the rendering of the radio objects. How do I
keep the radiobuttonlist object from displaying the labels?
So for example, I've got the following ArrayList:
arrayList1 = New ArrayList
arrayList1.Add("one")
arrayList1.Add("two")
arrayList1.Add("three")
radiobuttonlist1.DataSource = arrayList1
radiobuttonlist1.DataBind
In the HTML page, the following is displayed:
o One
o Two
o Three
I want to just display:
o
o
o
And maybe have the label text actually be the value of each radio object.
Any suggestions?
Thanks in advance.
I'm successfully streaming a list of items into a radiobuttonlist. I am
using an ArrayList as a data source, which I have built from a table of
values in a MySQL table. It's working great. My only issue is that it is
printing the label along the rendering of the radio objects. How do I
keep the radiobuttonlist object from displaying the labels?
So for example, I've got the following ArrayList:
arrayList1 = New ArrayList
arrayList1.Add("one")
arrayList1.Add("two")
arrayList1.Add("three")
radiobuttonlist1.DataSource = arrayList1
radiobuttonlist1.DataBind
In the HTML page, the following is displayed:
o One
o Two
o Three
I want to just display:
o
o
o
And maybe have the label text actually be the value of each radio object.
Any suggestions?
Thanks in advance.