Rank: Newbie Groups: Member
Joined: 2/19/2013 Posts: 3
|
Hi,
I have a treeview, build recursively using a stored proc and all works good. When I click on the node I currently do another query to get details about the clicked node.
Is there a way to store custom/extra properties in a node when building it, so that I do not have to do another query, but instead, just get the value from a custom property/attribute on the node.
Thanks,
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Yes. You can store additional value in the tree node's Value property.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 2/19/2013 Posts: 3
|
Thanks for the reply, I already use that and the ItemID, is that the only extra fields?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Yes. Strictly speaking Value is the only extra field for you to use. The TreeView does not use it in anyway. You can also use ItemID, but the TreeView uses ItemID for FindItem.
Thanks!
|