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

VirtualItemCount is missing

2 Answers 57 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 1
Robin asked on 24 Jul 2013, 07:52 AM
Hi,

I'm having a database of million records and I must use paging at sql level to reduce the traffic.

The solution works fine with RadGrid where I can set the Grid.VirtualItemCount = total row count.

However, RadTreeList does not support that property. Could you explain the reason and give me a work around?

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 26 Jul 2013, 08:27 PM
Hi Robin,

RadTreeList there is no VirtualItemCount property. However, if you want to improve the performance of the control, you can use the Load on Demand functionality.

Regards,
Pavlina
Telerik
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 the blog feed now.
0
Robin
Top achievements
Rank 1
answered on 01 Aug 2013, 08:58 AM
Hi Pavlina,

I've been using LoadOnDemand for the nested level.

However, it does not work on the top level. Since we can not set a dummy value to TreeList total row count, we must query all data at top level so that the TreeList can display the Paging correctly.

May Telerik take into account this issue and add this feature in future release?

Regards,
Robin
Tags
TreeList
Asked by
Robin
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Robin
Top achievements
Rank 1
Share this question
or