HI
I'm adding a RadTreeView dynamically, then adding some nodes using LoadXmlString.
The Treeview is not visible after loading. But checking the source code, its there in the page, with nodes correctly added, just invisible.
What am I doing wrong?
Here is the creation code
// adding placeholder first recommdended by Telerik
PlaceHolder TVPanel = new PlaceHolder();
this.Form.Controls.Add(TVPanel);
// create a new radtreeview object
RadTreeView Rad1 = new RadTreeView();
Rad1.ID = "Rad1";
Rad1.Visible = true; // doesnt make a difference
TVPanel.Controls.Add(Rad1);
String TreeViewNodes = Navigator_GetContent;
Rad1.LoadXmlString(TreeViewNodes);
// Where String Navigator_GetContent is valid Tree Node text
I'm adding a RadTreeView dynamically, then adding some nodes using LoadXmlString.
The Treeview is not visible after loading. But checking the source code, its there in the page, with nodes correctly added, just invisible.
What am I doing wrong?
Here is the creation code
// adding placeholder first recommdended by Telerik
PlaceHolder TVPanel = new PlaceHolder();
this.Form.Controls.Add(TVPanel);
// create a new radtreeview object
RadTreeView Rad1 = new RadTreeView();
Rad1.ID = "Rad1";
Rad1.Visible = true; // doesnt make a difference
TVPanel.Controls.Add(Rad1);
String TreeViewNodes = Navigator_GetContent;
Rad1.LoadXmlString(TreeViewNodes);
// Where String Navigator_GetContent is valid Tree Node text