Repeater woes

  • Thread starter Thread starter hardieca
  • Start date Start date
H

hardieca

Hi,

I have bound a repeater to an objectdatasource 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:


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 objectdatasource and writing to
private variables and reference those in the repeater?

Regards,

Chris
 
Back
Top