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

not gettting all rows from grid when paging applied

1 Answer 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sachin
Top achievements
Rank 1
sachin asked on 20 Oct 2014, 03:21 PM
  when forloop applied to Radgrid  not getting  all rows as paging applied , please provide solution

foreach (GridColumn col in grdShippedOrders.Columns)

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 20 Oct 2014, 06:43 PM
Hello,

Please try with the below code snippet.

RadGrid1.AllowPaging = false;
RadGrid1.Rebind();
 
foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
{
    //Access row here  
}
 
RadGrid1.AllowPaging = true;
RadGrid1.Rebind();


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
sachin
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or