I'm using a treeview bound to an object data source which calls a stored proc with an order by in the select statement. It doesn't look like I'm able to control the display order of items within the same level. Any tips on how to do that?
1 Answer, 1 is accepted
0
Atanas Korchev
Telerik team
answered on 01 Sep 2008, 04:43 PM
Hello Brian,
You could try ordering by two columns - the ParentID and Text column e.g.:
SELECT id, parentId, Text
FROM Links
ORDER BY parentId, Text
This would sort the nodes in ascending order.
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.