Is there are way to access all of the data from a databound RadGrid?
I can acess the data that is currently showing on the RadGrid, but is there anyway to access the data that is bound to the control but not shown?
Say I have 12开发者_运维百科5 records, but only 25 are shown on the page, how do I access the other 100?
I found a solution to the question that works, but I am not sure if there is a better solution than this
for (int i = 0; i < Ragrid.Pagecount; i ++)
{
RadGrid.CurrentPageIndex = i;
RadGrid.Rebind;
foreach(GridDataItem item in RadGrid.Items)
{
do stuff
}
}
精彩评论