Intersoft WebGrid Documentation
TreeNodeField Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridTable Class : TreeNodeField Property






Gets or sets the data field to be used when the WebGrid is configured to use TreeView mode (bound to XmlDataSource control)

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute("Gets or sets the data field to be used when the WebGrid is configured to use TreeView mode (bound to XmlDataSource control)")>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property TreeNodeField As String
Visual Basic (Usage)Copy Code
Dim instance As WebGridTable
Dim value As String
 
instance.TreeNodeField = value
 
value = instance.TreeNodeField
C# 
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the data field to be used when the WebGrid is configured to use TreeView mode (bound to XmlDataSource control)")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public string TreeNodeField {get; set;}
Delphi 
public read-write property TreeNodeField: String; 
JScript 
DefaultValueAttribute()
DescriptionAttribute("Gets or sets the data field to be used when the WebGrid is configured to use TreeView mode (bound to XmlDataSource control)")
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set TreeNodeField : String
Managed Extensions for C++ 
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the data field to be used when the WebGrid is configured to use TreeView mode (bound to XmlDataSource control)")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property string* get_TreeNodeField();
public: __property void set_TreeNodeField( 
   string* value
);
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the data field to be used when the WebGrid is configured to use TreeView mode (bound to XmlDataSource control)")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property String^ TreeNodeField {
   String^ get();
   void set (    String^ value);
}

Remarks

By default, you can leave this property blank. This property is useful when a tree node in the XmlDocument associated with the XmlDataSourceControl does not have any attributes. In that scenario, you can set this property to #Name or #Value so that WebGrid will automatically populate the cell based on the tree node's data.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.