StrataFrame Forum

Treeview Populating through a BO

http://forum.strataframe.net/Topic6908.aspx

By Michael Reese - 2/17/2007

I am trying to populate a Treeview with data from a bo. The problem is that I get a non-unique key error. How can I loop through the entire BO from First to Last record?

Thanks

For LnCnt = 0 To 100

Dim node As UltraTreeNode = MainMenu.Nodes.Add (BoSite1.ID, BoSite1.SiteName)

node.LeftImages.Add(9)

node.Tag =  BoSite1.SiteName & "~" & BoSite1.ID & "~" & "StartPage"

node.Key = node.Tag

By Michael Reese - 2/18/2007

Disregard this message!
By StrataFrame Team - 2/19/2007

Hehe, will do Smile