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

show count in radgrid

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
niloofar
Top achievements
Rank 1
niloofar asked on 09 Oct 2010, 01:24 PM
hi
how can i show count of rows when paging not enable
for example i hava 9 rows anad page size is 10
i want to show count
help please

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Oct 2010, 12:12 PM
Hello Niloofar,

The following code snippet shows how to get the row count.

C#:
protected void RadGrid1_PreRender(object sender, EventArgs e)
   {
      int itemcount = RadGrid1.MasterTableView.Items.Count; // getting row count
   }

Could you please elaborate your requirement if it doesn't help?

Thanks,
Princy.
Tags
Grid
Asked by
niloofar
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or