B
Bob H
Hi,
I've a LinkButton in a Repeater. I'd like to 'change' this to a label
depending upon the value in the item (which I've got through the ItemCreated
event). Can this been done at all (I'm working in vb)?
something like
ItemCreated event
- get eventarg
- if data from eventarg = 'A' then display in linkbutton
else
change linkbutton to label and display text
At the moment, I've a clunky method of having a label and Linkbutton side by
side and making the Linkbutton.visible = false depending upon the data.
Many thanks for any advice
Bob
I've a LinkButton in a Repeater. I'd like to 'change' this to a label
depending upon the value in the item (which I've got through the ItemCreated
event). Can this been done at all (I'm working in vb)?
something like
ItemCreated event
- get eventarg
- if data from eventarg = 'A' then display in linkbutton
else
change linkbutton to label and display text
At the moment, I've a clunky method of having a label and Linkbutton side by
side and making the Linkbutton.visible = false depending upon the data.
Many thanks for any advice
Bob