Hi,
I have bound a repeater to an objectdatasourc e to display comments at
the end of my blog. People may enter their email or omit it.
When the repeater is rendering, I would like to evaluate for the
existence of the email address, and if it exists, write:
<a href="mailto:bo b@email.com">Bo b</awrites...
Otherwise, ouput:
Bob writes...
I tried trapping for the OnItemCreated event on the repeater, but I
don't know how to access the comment's data from there. Should I
instead be using an event of the objectdatasourc e and writing to
private variables and reference those in the repeater?
Regards,
Chris
I have bound a repeater to an objectdatasourc e to display comments at
the end of my blog. People may enter their email or omit it.
When the repeater is rendering, I would like to evaluate for the
existence of the email address, and if it exists, write:
<a href="mailto:bo b@email.com">Bo b</awrites...
Otherwise, ouput:
Bob writes...
I tried trapping for the OnItemCreated event on the repeater, but I
don't know how to access the comment's data from there. Should I
instead be using an event of the objectdatasourc e and writing to
private variables and reference those in the repeater?
Regards,
Chris