开发者

ASP.Net Treeview control and tag property for each node

开发者 https://www.devze.com 2023-02-06 05:20 出处:网络
if tree node does not have tag property like windows treeview control then i just want to know how c开发者_C百科ould i attach the tag property with each tree node. is it possible if yes then please he

if tree node does not have tag property like windows treeview control then i just want to know how c开发者_C百科ould i attach the tag property with each tree node. is it possible if yes then please help me with code sample.

thanks


If the information that you want to persist can be represented as a string then you can use the Value property of the TreeNode object:

Gets or sets a non-displayed value used to store any additional data about the node, such as data used for handling postback events.

0

精彩评论

暂无评论...
验证码 换一张
取 消