Treeview Populating through a BO


Author
Message
Michael Reese
Michael Reese
StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)StrataFrame User (403 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Michael Reese - 17 Years Ago
Michael Reese - 17 Years Ago
             Hehe, will do :)
StrataFrame Team - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search