I have just downloaded the trial to asses the suitability of the control for an upcoming project.
I am trying to get the load on demand working.
When I try to follow the example the event is fired but on the screen a spinny arrow icon just goes round and round.
Could you please advise.
xaml:
I am trying to get the load on demand working.
When I try to follow the example the event is fired but on the screen a spinny arrow icon just goes round and round.
Could you please advise.
xaml:
<telerik:RadTreeView Height="250" HorizontalAlignment="Left" Margin="18,24,0,0" Name="radTreeView1" VerticalAlignment="Top" Width="150" IsLoadOnDemandEnabled="True" LoadOnDemand="OnLoadOnDemand"/>
cs:
private void OnLoadOnDemand(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
RadTreeViewItem item = e.OriginalSource as RadTreeViewItem;
// Adding child items
RadTreeViewItem product = new RadTreeViewItem();
product.Header =
"Product1.1";
item.Items.Add(product);
product =
new RadTreeViewItem();
product.Header =
"Product1.1";
item.Items.Add(product);
}