Skip to content

Andy Burns' Blog

Whatever I'm working on

Categories

  • SharePoint
  • Sitecore
  • Software Development
  • Uncategorized
  • Various

Pages

  • About
  • Articles
  • My Favourite Posts

Follow me on Twitter

My Tweets

asp:repeater

ASP:Repeater – Finding the index of the current Item

2015-06-05 Andy Burns.NET, asp:repeaterLeave a comment

I keep having to look this up, so as a reminder:

<%# Container.ItemIndex %>

… will get the index of the current item in the markup for an ASP:Repeater control.

ASP:Repeater – Finding the index of the current Item
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Andy Burns' Blog
    • Join 28 other followers
    • Already have a WordPress.com account? Log in now.
    • Andy Burns' Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar