Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Repeater woes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hardieca@hotmail.com - 05 Mar 2008 18:53 GMT
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:

<a href="mailto:bob@email.com">Bob</a> writes...

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
sloan - 05 Mar 2008 19:00 GMT
You can follow a discussion here:

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_t
hread/thread/ab5f7665ffa4ed52/3af59c250d1a6045?hl=en&lnk=st&q=sloan+href+asp.net
#3af59c250d1a6045


> Hi,
>
[quoted text clipped - 18 lines]
>
> Chris

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.