Get repeater data item index

Discussion in 'ASP .Net' started by Marty, Nov 10, 2003.

  1. Marty

    Marty Guest

    How can I get the index of the bound repeater item from
    within the <ItemTemplate> tag?
    Marty, Nov 10, 2003
    #1
    1. Advertising

  2. Marty

    Teemu Keiski Guest

    Hi,

    <ItemTemplate>
    <%#Container.ItemIndex %>
    </ItemTemplate>

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist


    "Marty" <> wrote in message
    news:080001c3a7b9$3ab318b0$...
    > How can I get the index of the bound repeater item from
    > within the <ItemTemplate> tag?
    Teemu Keiski, Nov 10, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. George Addison

    Repeater Item Index

    George Addison, Nov 30, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    13,151
    Guest
    Dec 1, 2003
  2. martin
    Replies:
    2
    Views:
    3,323
    =?Utf-8?B?RGF2aWQgQ29lLCBNQ1A=?=
    Feb 16, 2004
  3. Microsoft

    how to get item index ?

    Microsoft, Oct 6, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    613
    Kevin Spencer
    Oct 7, 2005
  4. Replies:
    5
    Views:
    393
  5. Tomasz Chmielewski

    sorting index-15, index-9, index-110 "the human way"?

    Tomasz Chmielewski, Mar 4, 2008, in forum: Perl Misc
    Replies:
    4
    Views:
    267
    Tomasz Chmielewski
    Mar 4, 2008
Loading...

Share This Page