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

Gridview : Adding row problem when Unbound

1 Answer 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sumit Agarwal
Top achievements
Rank 1
Sumit Agarwal asked on 07 Oct 2009, 12:20 PM
Hi,

This is Sumit, new to using the Telerik Controls facing the issue when adding the Rows to the Telerik GridView.

''
Dim iRow as Integer = grd.Rows.Add(1)
''

sometimes iRow gives the rowindex where the row is added or sometimes it returns only 1.

Can anyone help me for this .

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 09 Oct 2009, 08:56 AM
Hi Sumit Agarwal,

The index of a row depends on whether filtering, sorting, and grouping operation are applied or not. Please check in your scenario how rows are ordered when you add a new one.

Kind regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Sumit Agarwal
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or