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

Scrolling event in gridview

5 Answers 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 30 Mar 2011, 12:22 PM
hi,

 I need to load the records from my database into gridview on scrollchanged event..
whenever the postion of the gridview scroller changes then i want to fire the scrollchanged event..but i din see scrollchanged event for gridview..can anyone help me please..???? or please suggest alternative idea equivalent for this

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Mar 2011, 12:23 PM
0
Balaji
Top achievements
Rank 1
answered on 30 Mar 2011, 12:56 PM
virtual collection is not useful...i need seperate event for that to load the data from database..
0
Balaji
Top achievements
Rank 1
answered on 30 Mar 2011, 01:10 PM
i cant use virtual collection..becoz it loads all the data from database first and then it is displaying from that collection..my case is load the data from database whenever scroll position changes...please help me
0
Vlad
Telerik team
answered on 30 Mar 2011, 01:11 PM
Hello,

 Actually the virtual collection will load only visible data and load more data when you scroll. 

All the best,
Vlad
the Telerik team
0
Balaji
Top achievements
Rank 1
answered on 30 Mar 2011, 02:02 PM
Hi Vlad,

The problem I am facing is that I am not having all my records in single collection, I can get the 200 record from the DB  first time. if the scroll went down to the end then I have to get another set of 200 and so on..

if its a Single collection then I can use virtual queryable collection view. But in my case I need to go to Back end each and every time scroll goes down.

Is it any Event is there for GridView?

Please advice me on this.

Advance Thanks
Tags
General Discussions
Asked by
Balaji
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Balaji
Top achievements
Rank 1
Share this question
or