This question is locked. New answers and comments are not allowed.
Hello i was developed a TreeView. When i insert a node from constructor do it perfectly, but if i call the "addNode" from other function, nothing appear.
My xaml code is:
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadTreeView x:Name="uxtTreeView_Model" />
</Grid>
All is code behind.
If i call the addNode from the constructor or add de node directly works but call from other class doesn't work
By example this:
public void addRootNode()
{
RadTreeViewItem itemRaiz = new RadTreeViewItem();
itemRaiz.Name = "<root>";
itemRaiz.Header = "<No Elements>";
uxtTreeView_Model.Items.Add(itemRaiz);
}
Call from constructor works, but if i do a instation of the this class and call the function, does not work
My xaml code is:
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadTreeView x:Name="uxtTreeView_Model" />
</Grid>
All is code behind.
If i call the addNode from the constructor or add de node directly works but call from other class doesn't work
By example this:
public void addRootNode()
{
RadTreeViewItem itemRaiz = new RadTreeViewItem();
itemRaiz.Name = "<root>";
itemRaiz.Header = "<No Elements>";
uxtTreeView_Model.Items.Add(itemRaiz);
}
Call from constructor works, but if i do a instation of the this class and call the function, does not work