Hi,
I am trying to set the properties for a TreeView control that i create at runtime but I get the following error:
'Microsoft.Web.UI.WebControls.TreeView' does not contain a definition for 'showLines'
the code i am running is:
TreeView tree = new TreeView();
tree.showLines=false;
I can set the properties for the tree at design time by using tags and it works fine. How come it work at runtime??
help!
Neil![[bluegreedy] [bluegreedy] [bluegreedy]](/data/assets/smilies/bluegreedy.gif)
I am trying to set the properties for a TreeView control that i create at runtime but I get the following error:
'Microsoft.Web.UI.WebControls.TreeView' does not contain a definition for 'showLines'
the code i am running is:
TreeView tree = new TreeView();
tree.showLines=false;
I can set the properties for the tree at design time by using tags and it works fine. How come it work at runtime??
help!
Neil
![[bluegreedy] [bluegreedy] [bluegreedy]](/data/assets/smilies/bluegreedy.gif)