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

Paging and ItemDataBound Triggering

2 Answers 179 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 2
Iron
Brian asked on 22 Mar 2017, 03:11 PM

Does standard paging on a grid just allow ItemDataBound to trigger off those items on the current page, or all pages?

If it just triggers the selected page, is there a way to trigger off ALL items in the grid instead of just the current page?

My usage scenario:  I have a grid that is displaying information on a row that is dependent on another row in a previous page.  It isn't "seeing" that other page's data when ItemDataBound is called.

My grid is bound using a SqlDataSource and there is nothing that I can see that is out of the ordinary with the grid configuration.

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 27 Mar 2017, 07:28 AM
Hello Brian,

The grid loads only the visible items on the current page. The only way to get access to whole of the grid records is to disable paging. For example, you can use scrolling:
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/scrolling/scrolling/defaultcs.aspx

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Brian
Top achievements
Rank 2
Iron
answered on 27 Mar 2017, 11:32 AM
Sounds good.  Thanks for the info, Eyup!
Tags
Grid
Asked by
Brian
Top achievements
Rank 2
Iron
Answers by
Eyup
Telerik team
Brian
Top achievements
Rank 2
Iron
Share this question
or