Repeater woes

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top