How can I get the number of pages in a RadGrid through code? I tried the following but it always returned 1, although there are 10 pages.
mygridView.PageCount.ToString();
I also tried the following
mygridView.MasterTableView.PageCount.ToString();
I got the same result. The Rad Grid has AllowPaging= "true"
Basically all I want is to display in a label, “There are currently 300 records in 2 of 10 pages.”
I need to get the “10” from the total pages in the RadGrid.
Thank you
Let me know if any concern.