Won't Fix
Last Updated: 02 Oct 2015 08:56 by ADMIN
ADMIN
Vasil
Created on: 03 Jun 2014 07:48
Category: UI for ASP.NET AJAX
Type: Feature Request
1
FIX: ExpandToLevel method of RadTreeList does not work correctly in some cases
Navigate to:

http://localdemos.telerik.com/aspnet-ajax/treelist/examples/databinding/loadondemand/defaultcs.aspx

1) Expand item with ID:2, then items: id:1413, id:1414

2)Expand item id:1

3)Fill Item ID textbox with "303" and Level textbox with "2"

4)Click "ExpandItemToLevel"

5)The icon of item 304 seems like "expanded"(and it should be), however the item is not expanded.
1 comment
ADMIN
Vasil
Posted on: 02 Oct 2015 08:56
Actually in this example with Level 2 the 304 should be collapsed, the functionality is correct, but the icon is wrong. Correcting the icons in this particular case will cost performance penalty that is not worth to be made. The LoadOnDemand is designed to be used primary for expanding the items on by one, and it is optimized for such expanding. If you need expand to level it will be better to use normal binding, since it will do only one request and run faster.