asp.net.ph

TreeNode.DataBound Property

System.Web.UI.WebControls Namespace   TreeNode Class


.NET Framework version 2.0

Returns a value indicating whether the node was created through data binding.

Syntax


Script [ Boolean variable = ] TreeNode.DataBound

This property can only be used programmatically; it cannot be set when declaring the control.

Property Value

This property returns only a boolean value: true if the node was created through data binding; otherwise, false.

The property is read only with no default value.

Remarks

Use the DataBound property to programmatically determine whether the node was created through data binding.

Because dynamic and static content cannot be mixed in the same node, this property is commonly used when populating a TreeView control dynamically to determine whether the node contains static content.

See Also

TreeNode Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph