This is a migrated thread and some comments may be shown as answers.

How to generate an auto-increased number for every record in RadGrid?

2 Answers 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jin
Top achievements
Rank 1
Jin asked on 12 Aug 2012, 08:46 AM
How to generate an auto-increased number for every record as first column in RadGrid?

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 12 Aug 2012, 04:25 PM
Hello,

Please check below code snippet.
<telerik:GridTemplateColumn>
                        <ItemTemplate>
                            <%# Container.DataSetIndex+1 %>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>


Thanks,
Jayesh Goyani
0
Jin
Top achievements
Rank 1
answered on 13 Aug 2012, 05:07 AM
Thanks,
Tags
Grid
Asked by
Jin
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Jin
Top achievements
Rank 1
Share this question
or