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

[Solved] Get Item Collection after paging?

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 05 Jun 2009, 11:17 AM
Is there an easy way to get the entire collection of items after a user goes to another page of the gird? Or, do I have to iterate through the Databound items and make my own collection? Thanks

Daniel

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Jun 2009, 12:10 PM
Hi Daniel,

Try out the following code snippet for getting the item collection when changing the page.

CS:
 
protected void RadGrid1_PreRender(object sender, EventArgs e) 
    GridItemCollection item = RadGrid1.MasterTableView.Items; 

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