This was with regards to supporting large data, with radtree and radgrid controls. Do you have any inbuilt virtualization functionality like in silverlight for supporting huge data on the client, or any plans to have it incorporated in future?
3 Answers, 1 is accepted
0
Hello Mirang,
Bozhidar
the Telerik team
The RadGrid has a built-in virtualization functionality. You can read about it here, and you can also check the demo.
The Treeview has a feature called Load On Demand. It allows you to load child-nodes dynamically when a parent node is expanded. You can read all about it here, and also check out the demos here. And if you have a parent with a lot of child nodes, and want to virtualize them as well, I've attached a project showing how you can load only 10 child items at a time.
Bozhidar
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

mirang
Top achievements
Rank 1
answered on 28 Nov 2011, 12:03 PM
That was helpful.
I was looking into "Fetching additional records when the scroll bar reaches its endpoint" technique of virtualization. It looks like in this all the data has to be fetched initially and bind it to the grid. Is there also a facility so that the server returns 500 records first time, the the grid handles the paging as per the scroll bar thing. After the 500 records are loaded into the grid another request is made to a service to get more 500 data and rebind it to the grid so that when the user scrolls again the records from 500 onwards are appended to the existing result set on the UI.
I was looking into "Fetching additional records when the scroll bar reaches its endpoint" technique of virtualization. It looks like in this all the data has to be fetched initially and bind it to the grid. Is there also a facility so that the server returns 500 records first time, the the grid handles the paging as per the scroll bar thing. After the 500 records are loaded into the grid another request is made to a service to get more 500 data and rebind it to the grid so that when the user scrolls again the records from 500 onwards are appended to the existing result set on the UI.
0
Hi Mirang,
Thank you for getting back to us.
Unfortunately the RadGrid does not support “true” virtualization like the Silverlight GridView. However the virtual scrolling simulates some kind of virtualization. On the following example (first RadGrid) you could see that the RadGrid gets only the record for the current page and not the entire datasource:
If you need further assistance, do not hesitate to contact us again.
Regards,
Radoslav
the Telerik team
Thank you for getting back to us.
Unfortunately the RadGrid does not support “true” virtualization like the Silverlight GridView. However the virtual scrolling simulates some kind of virtualization. On the following example (first RadGrid) you could see that the RadGrid gets only the record for the current page and not the entire datasource:
protected
void
RadGrid1_NeedDataSource(
object
source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
RadGrid1.DataSource = GetDataTable(
"SELECT [OrderID], [ProductID], [Quantity], [Discount] FROM [LargeOrderDetails] WHERE ID BETWEEN "
+ ((RadGrid1.CurrentPageIndex * RadGrid1.PageSize) + 1) +
" AND "
+ ((RadGrid1.CurrentPageIndex + 1) * RadGrid1.PageSize));
}
If you need further assistance, do not hesitate to contact us again.
Regards,
Radoslav
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