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

Double virtual scroll

5 Answers 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 16 Apr 2012, 09:12 AM
So, I have somewhat specific situation... I have 2 grids on the page with 2 virtual scrolls enabled. One is working perfectly... and the other is showing only the first page. When I try to scroll or anything I get a blank page and I have 6000 items on 300+ pages.

The code is the same for both of the grids (only the page size is different and RadGrid names, of course). What am I doing wrong? :) If I am. :)

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 16 Apr 2012, 03:12 PM
Hello Ivan,

I am afraid that based on the provided information we can not say what might be the problem. However, you can examine the code of the first grid in the online example below and see what is the difference in your case:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpaging/defaultcs.aspx

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ivan
Top achievements
Rank 1
answered on 16 Apr 2012, 03:15 PM
I've opened ticket today and sent you parts of the code + screengrab.

So I hope the situation will be more informative for you.

Thanks,
Ivan
0
Accepted
Pavlina
Telerik team
answered on 16 Apr 2012, 04:00 PM
Hello,

I already answered your support ticket with the same question. However, I will post my answer here as well:

I tested the provided code and I was able to replicate the described problem. To resolve it you should set VirtualItemCount property to "6000". Anyway, I am sending you my test project for your reference. Please give it a try and let me know if it helps to fix the issue you are facing or you need additional assistance.

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ivan
Top achievements
Rank 1
answered on 17 Apr 2012, 08:11 AM
Well, you see... The thing is that I have a counter since I have to reach for different values... so I have a counter for VirtualCount.

I'm sending you the code over ticket support so you can see it for yourself.

Ivan
0
Pavlina
Telerik team
answered on 17 Apr 2012, 12:29 PM
Hello,

To avoid duplicate posts I suggest that we continue our communication in the support ticket.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Ivan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or