S
Spondishy
Hi,
I have a datalist control, and in each row I have a label and a
hyperlink control. The label is bound to an id field in the db.
What I'm trying to do is hide the hyperlink if the id is a certain
value.
My question is, does OnItemDataBound fire before actually binding the
controls, as it appears the label has no text (although it should), so
the hyperlink never disappears.
Is there another way of doing this?
Thanks.
I have a datalist control, and in each row I have a label and a
hyperlink control. The label is bound to an id field in the db.
What I'm trying to do is hide the hyperlink if the id is a certain
value.
My question is, does OnItemDataBound fire before actually binding the
controls, as it appears the label has no text (although it should), so
the hyperlink never disappears.
Is there another way of doing this?
Thanks.