Accessing the index of the iterator in a repeater
From: Ashutosh Bhalerao (ashubhalerao_at_yahoo.com)
Date: 06/23/04
- Next message: Jim Heavey: "DateTime"
- Previous message: Mircea Pleteriu: "Re: Web Custom Control - Datagrid Event Handling Problem"
- Next in thread: avnrao: "Re: Accessing the index of the iterator in a repeater"
- Reply: avnrao: "Re: Accessing the index of the iterator in a repeater"
- Messages sorted by: [ date ] [ thread ]
Date: 23 Jun 2004 08:18:13 -0700
Hi all,
I have bound an Arraylist of Objects to a repeater.
All the items from the Object display fine on the screen.
Now I need the current index being bound inside the <ItemTemplate>
</ItemTemplate>. If the zeroth element is being bound then I need to
display 0 in a column, if the first element is being bound then I want
to display 1 in the column and so on.
Is there a property available which will allow me to get his index?
How do I go about doing this? Any help is appreciated.
Thanks in advance.
Rgds,
Ashu
- Next message: Jim Heavey: "DateTime"
- Previous message: Mircea Pleteriu: "Re: Web Custom Control - Datagrid Event Handling Problem"
- Next in thread: avnrao: "Re: Accessing the index of the iterator in a repeater"
- Reply: avnrao: "Re: Accessing the index of the iterator in a repeater"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|