I'd like to know how to get from the radtreelist, the dataitems that will be rendered after requesting a node expansion, and in which event it could be done.
I've tried the following code, but without success.
sender, EventArgs e)
MyTreeList.DataSource = ws.GetSales();
//This retrieves an array of objects which represent the sales of several stores,
//their managers and their employees
TreeListDataItemCollection rendered_items = MyTreeList.Items;
 data = rendered_items.Select(s => s.DataItem).ToArray();
//I thought this would get the DataBoundItems
//in the treelist, but instead it gets an Array with null objects
//Code for Exporting the desired data
By the way, getting the Items from "MyTreeList" in the OnLoad event, retrieves me the Items shown in the previous state of the control, not the ones that were recently asked for, so I don't know which event could work better. Could you help me?