Link to home
Start Free TrialLog in
Avatar of cmushaun
cmushaunFlag for United States of America

asked on

Insert HTML tag every 3rd item in Repeater

I have a repeater in C#/ASP.net website, and I need to insert a line of html (<div class="clear"></div>) after every third item.

Any ideas?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of mcarbajal
mcarbajal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cmushaun

ASKER

Thanks---I'll try this and let you know!
Hi, Not sure how this works...  When I add this code, I am getting a Server Error (shown below) that the databinding does not contain a property of my already defined repeater:

DataBinding: '<>f__AnonymousType0`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' does not contain a property with the name 'Author'.
Actually, got it! Thanks a lot!