System.Web
2.0.0.0
System.Object
System.ICloneable
System.Web.UI.IDataSourceViewSchemaAccessor
System.Web.UI.IStateManager
System.ComponentModel.DefaultProperty("TextField")
When the control is bound to a data source where each data item contains multiple fields (such as an XML element with several attributes), if no menu item bindings are defined, a menu item displays the value returned by the ToString() method of the data item by default. In the case of an XML element, the menu item displays the element name, which shows the underlying structure of the menu, but is not very useful otherwise. You can bind the properties of a menu item to a specific field by specifying menu item bindings. A object defines the relationship between each data item and the menu item it is binding to.
When the control is bound to a control, menu item bindings have no effect. Binding is performed automatically using the site map provider.
The control stores its objects in the property and applies the bindings to the data source to create a one-to-one relationship between the menu hierarchy and the data source hierarchy. For each data item in the data source, the control attempts to match the data item to a object to create the corresponding object.
When creating a object, you must specify the criteria for binding. The criteria indicate when a data item should be bound to a menu item. You can specify the , the , or both.
A menu item depth specifies the menu level that gets bound. For example, the following declaration binds the Name and ID fields of the data source to the and properties, respectively, of all nodes with a depth of 0:
<asp:MenuItemBinding Depth="0" TextField="Name" ValueField="ID">
A data member specifies the type of the data item in the underlying data source, but can represent different information depending on the data source. Each data item in a hierarchical data source (represented by an object) exposes a property, which specifies the type of the data item. For example, the data member for an XML element specifies the name of the element. When a data source contains multiple data item types, the data member specifies which data item type to use. The following declaration binds the <Book> elements of an control to all the menu items in the menu, regardless of the location in the hierarchy:
<asp:MenuItemBinding DataMember="Book" TextField="Title" ValueField= "ISBN">
Sometimes you might need to create a menu item binding that specifies both a depth and a data member. This is often used when the data source contains items at different levels that have the same data member value. For example, you can have <Item> elements that appear at different levels within an XML file. The following declarations show how to specify menu item bindings that apply to identical data members at different menu depths:
<asp:MenuItemBinding DataMember="Item" Depth="1" TextField="Title">
<asp:MenuItemBinding DataMember="Item" Depth="2" TextField="ISBN">
If a menu item binding is defined without a depth and a data member, the menu item binding is applied to all menu items within the menu. This is commonly used when all data items have the same properties and should be displayed identically, regardless of the menu depth.
After the binding criteria are established, you can then bind a property of a object that can be bound to a value. You can bind to a field of a data item or to a static value. When bound to a static value, all objects to which the object is applied share the same value. Properties bound to fields contain the values of the corresponding field from the data source.
You can selectively override a bound property in a object by setting the corresponding property directly.
The following table lists the properties of the class that allow you to bind a property of the object to a field of a data item.
-
Property
Description
-
The field to bind to the property of a object.
-
The field to bind to the property of a object.
-
The field to bind to the property of a object.
-
The field to bind to the property of a object.
-
The field to bind to the property of a object.
The following table lists the properties of the class that allow you to bind a property of the object to a static value.
-
Property
Description
-
The static value to bind to the property of a object.
-
The static value to bind to the property of a object.
-
The static value to bind to the property of a object.
-
The static value to bind to the property of a object.
-
The static value to bind to the property of a object.
-
The static value to bind to the property of a object.
If conflicting objects are defined, the control applies the menu item bindings in the following order of precedence:
-
The object that defines and matches both a depth and a data member.
-
The object that defines and matches the data member only.
-
The object that defines and matches the depth only.
-
The object that defines neither the depth nor the data member. (This type of menu item binding is applied to all menu items in the menu.)
-
The object that does not have a match in the data source. In this case, the value returned by the ToString() method of the data item is then bound to the and properties of the menu items to which the object is applied.
The class also allows you to format the text displayed in a menu item by setting the property.
Defines the relationship between a data item and the menu item it is binding to in a control. This class cannot be inherited.
Constructor
Use this constructor to create a new instance of the class. It is often used when dynamically populating the collection of a control.
Initializes a new instance of the class.
2.0.0.0
Property
System.ComponentModel.DefaultValue("")
System.String
To be added.
When creating a object, you must specify the criteria for binding. The criteria indicate when a data item should be bound to a menu item. You can specify the property, the property, or both.
When the data source contains multiple elements or tables, use the property to specify the element or table to bind to a menu item. A data member specifies the type of the data item in the underlying data source, but can represent different information depending on the data source. Each data item in a hierarchical data source (represented by a object) exposes a property, which specifies the type of the data item. For example, the data member for an XML element specifies the name of the element. The following declaration binds the <Book> elements of an control to all the menu items in the menu, regardless of the location in the hierarchy:
<asp:MenuItemBinding DataMember="Book" TextField="Title" ValueField= "ISBN">
Sometimes you might need to create a menu item binding that specifies both a depth and a data member. This is often used when the data source contains items at different levels that have the same data member value. For example, you can have <Item> elements that appear at different levels within an XML file. The following declarations show how to specify menu item bindings that apply to identical data members at different menu depths:
<asp:MenuItemBinding DataMember="Item" Depth="1" TextField="Title">
<asp:MenuItemBinding DataMember="Item" Depth="2" TextField="ISBN">
If a menu item binding is defined without a depth or a data member, the menu item binding is applied to all menu items within the menu. This is commonly used when all data items have the same properties and should be displayed identically, regardless of the menu depth.
After the binding criteria are established, you can then bind a property of a object that can be bound to a value. You can bind to a field of a data item or to a static value. When bound to a static value, all objects to which the object is applied share the same value. Properties bound to fields contain the values of the field from the data source.
If conflicting objects are defined, the control applies the menu item bindings in the following order of precedence:
-
The object that defines and matches both a depth and a data member.
-
The object that defines and matches the data member only.
-
The object that defines and matches the depth only.
-
The object that defines neither the depth nor the data member. (This type of menu item binding is applied to all menu items in the menu.)
-
The object that does not have a match in the data source. In this case, the value returned by the ToString() method of the data item is then bound to the and properties of the menu items to which the object is applied.
Gets or sets the data member to bind to a menu item.
2.0.0.0
Property
System.ComponentModel.DefaultValue(-1)
System.Int32
To be added.
When creating a object, you must specify the criteria for binding. The criteria indicate when a data item should be bound to a menu item. You can specify the property, the property, or both.
Use the property to specify the menu depth at which to apply the object. For example, the following declaration binds the Name and ID fields of the data source to the and properties, respectively, of all menu items with a depth of 0:
<asp:MenuItemBinding Depth="0" TextField="Name" ValueField="ID">
Sometimes you might need to create a menu item binding that specifies both a depth and a data member. This is often used when the data source contains items at different levels that have the same data member value. For example, you can have <Item> elements that appear at different levels within an XML file. The following declarations show how to specify menu item bindings that apply to identical data members at different menu depths:
<asp:MenuItemBinding DataMember="Item" Depth="1" TextField="Title">
<asp:MenuItemBinding DataMember="Item" Depth="2" TextField="ISBN">
If a menu item binding is defined without a depth and a data member, the menu item binding is applied to all menu items within the menu. This is commonly used when all data items have the same properties and should be displayed identically, regardless of the menu depth.
After the binding criteria are established, you can then bind a property of a object that can be bound to a value. You can bind to a field of a data item or to a static value. When bound to a static value, all objects to which the object is applied share the same value. Properties bound to fields contain the values of the field from the data source.
If conflicting objects are defined, the control applies the menu item bindings in the following order of precedence:
-
The object that defines and matches both a depth and a data member.
-
The object that defines and matches the data member only.
-
The object that defines and matches the depth only.
-
The object that defines neither the depth nor the data member. (This type of menu item binding is applied to all menu items in the menu.)
-
The object that does not have a match in the data source. In this case, the value returned by the ToString() method of the data item is then bound to the and properties of the menu items to which the object is applied.
Gets or sets the menu depth to which the object is applied.
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.Boolean
To be added.
Use the property to set the property of a object. This setting is shared with all menu items to which the object is applied. When this property is set to false, the menu item is disabled and no pop-out image that indicates child items is displayed. Setting this property to false for a menu item essentially makes the menu item the end of that node, where no further levels are shown off of that node.
Gets or sets a value that indicates whether the menu item to which the object is applied is enabled, allowing the item to display a pop-out image and any child menu items.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object.
You can override the enabling of an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.DefaultValue("")
System.ComponentModel.Localizable(true)
System.String
To be added.
The property is used to provide a custom format for a menu item's text. The format string can consist of a literal string, a placeholder, or both. The literal string is displayed verbatim, while the placeholder is replaced with the value that is bound to the menu item's text.
The placeholder is split into two parts, separated by a colon, in the form {:}. For example, {0:F2} displays a fixed-point number with two decimal places.
The placeholder string must be enclosed in braces to indicate that it is a placeholder and not a literal string. Any text outside the braces is displayed as literal text.
Keeping to the standard formatting string syntax, the value before the colon ( in the general example) specifies the parameter index in a zero-based list of parameters. Because only one value can be displayed in each menu item, the parameter index can be set only to 0.
The character after the colon ( in the general example) specifies the display format for the value. The following table lists the common formats.
-
Format character
Description
-
C
Displays numeric values in currency format.
-
D
Displays numeric values in decimal format.
-
E
Displays numeric values in scientific (exponential) format.
-
F
Displays numeric values in fixed format.
-
G
Displays numeric values in general format.
-
N
Displays numeric values in number format.
-
X
Displays numeric values in hexadecimal format.
The format characters are not case-sensitive, except for X, which displays the hexadecimal characters in the case specified.
The value after the format character ( in the general example) specifies the number of significant digits or decimal places to display.
For more information on formatting strings, see Formatting Overview.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization.
Gets or sets the string that specifies the display format for the text of a menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))
System.Web.UI.UrlProperty
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the URL of a custom image to bind to the property of a object. This image is shared with all objects to which the object is applied. The image is displayed next to a menu item's text and can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client's browser supports that format.
You can override the image for an individual menu item by setting its property directly.
Instead of using this property to display the same image in each menu item, you can also use the property to bind the property of a object to a field of a data source. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
Gets or sets the URL to an image that is displayed next to the text of a menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. The image is displayed next to a menu item's text and can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client's browser supports that format.
You can override the image for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to display the same image in each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.Editor("System.Web.UI.Design.UrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))
System.Web.UI.UrlProperty
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the URL to bind to the property of a object. This URL is shared with all menu items to which the object is applied. When the user clicks the menu item, the user is taken to the specified URL.
You can override the URL for an individual menu item by setting its property directly.
Instead of using this property to navigate to the same URL in each menu item, you can also bind the property of a object to a field of a data source by setting the property. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
Gets or sets the URL to link to when a menu item to which the object is applied is clicked.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. The user is taken to the corresponding URL when the menu item is clicked.
You can override the URL for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to navigate to the same URL from each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.Editor("System.Web.UI.Design.UrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))
System.Web.UI.UrlProperty
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the URL of a property of a object. This URL is shared with all menu items to which the object is applied.
You can override the URL for an individual menu item by setting its property directly.
You can bind the property of a object to a field of a data source by setting the property. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
Gets or sets the URL to an image that indicates the presence of a dynamic submenu for a menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. The image at the corresponding URL is displayed for each menu item.
You can override the URL for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to navigate to the same URL from each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.Boolean
To be added.
When the control is bound to a data source, use the property to set the property of a object. This setting is shared with all menu items to which the object is applied. When this property is set to false, the menu item is not "clickable" but any child items are displayed.
Gets or sets a value that indicates whether the menu item to which the object is applied can be selected, or is "clickable."
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object.
You can override the enabling of an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.Editor("System.Web.UI.Design.UrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))
System.Web.UI.UrlProperty
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the URL of a property of a object. This URL is shared with all menu items to which the object is applied.
You can override the URL for an individual menu item by setting its property directly.
Instead of using this property to indicate the same URL in each menu item, you can also bind the property of a object to a field of a data source by setting the property. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
Gets or sets the URL to an image displayed below the text of a menu item (to separate it from other menu items) for a menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. The image at the corresponding URL is displayed for each menu item.
You can override the URL for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to navigate to the same URL from each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Method
2.0.0.0
System.Object
The method is a helper function that creates a copy of the object from which this method is called.
This method is used primarily by control developers.
Creates a copy of the object.
An that represents a copy of the .
Property
2.0.0.0
System.Object
To be added.
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
For a description of this member, see .
Property
2.0.0.0
System.Boolean
To be added.
To be added.
Gets a value that indicates whether the object is saving changes to its view state.
Method
2.0.0.0
System.Void
To be added.
To be added.
Loads the node's previously saved view state.
Method
2.0.0.0
System.Object
To be added.
Saves the view state changes to an .
An that contains the view state changes.
Method
2.0.0.0
System.Void
After this method has been called on a server control, the property returns true.
Instructs the object to track changes to its view state.
Property
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the window or frame in which to display the Web content linked to a menu item when that menu item is clicked.
Setting this property overrides the property of the control for the menu items to which the object is applied. You can selectively override this property by setting the property of each menu item directly.
Target values must begin with a letter in the range of A through Z (case-insensitive), except for certain special values that begin with an underscore, as shown in the following table.
-
Target value
Description
-
_blank
Renders the content in a new window without frames.
-
_parent
Renders the content in the immediate frameset parent.
-
_search
Renders the content in the search pane.
-
_self
Renders the content in the frame with focus.
-
_top
Renders the content in the full window without frames.
Check your browser documentation to determine if the _search value is supported. For example, Microsoft Internet Explorer 5.0 and later support the _search target value.
The property renders as a target attribute. The target attribute on anchor elements is not allowed in the XHTML 1.1 document type definition. Do not set the property if the rendered output for the object must be XHTML 1.1 compliant. For more information, refer to the topic ASP.NET and XHTML Compliance.
When creating accessible Web pages, it is strongly recommended you avoid using the property to target another window. For more information, see ASP.NET Accessibility.
Gets or sets the target window or frame in which to display the Web page content associated with a menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object.
The property specifies the window or frame in which to display the Web content linked to a menu item when that menu item is clicked. Values must begin with a letter in the range of A through Z (case-insensitive), except for certain special values that begin with an underscore, as shown in the following table.
-
Target value
Description
-
_blank
Renders the content in a new window without frames.
-
_parent
Renders the content in the immediate frameset parent.
-
_self
Renders the content in the frame with focus.
-
_top
Renders the content in the full window without frames.
The property renders as a target attribute. The target attribute on anchor elements is not allowed in the XHTML 1.1 document type definition. Do not set the property if the rendered output for the must be XHTML 1.1 compliant. For more information, refer to the topic ASP.NET and XHTML Compliance.
When creating accessible Web pages, it is strongly recommended you avoid using the property to target another window. For more information, see ASP.NET Accessibility.
Note that setting this property overrides the property of the control for this menu item. Setting the property to open a new window can make it difficult for users of assistive technology devices to use the page.
You can override enabling an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.DefaultValue("")
System.ComponentModel.Localizable(true)
System.String
To be added.
When the control is bound to a data source, use the property to specify the text to bind to the property of a object. This text is displayed in a menu item and is shared with all menu items to which the object is applied.
You can override the text for an individual menu item by setting its property directly.
Instead of using this property to display the same text in each menu item, you can also bind the property of a object to a field of a data source by setting the property. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
You cannot create empty nodes in a control by setting the or properties to the empty string (""). Setting these properties to the empty string has the same effect as not setting the properties. In that case, the control creates a default binding using the property. For more information, see Accessing Data with ASP.NET.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization.
Gets or sets the text displayed for the menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. This text is displayed in the menu items.
You can override the text for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
You cannot create empty nodes in a control by setting the or properties to the empty string (""). Setting these properties to the empty string has the same effect as not setting the properties. In that case, the control creates a default binding using the property. For more information, see Accessing Data with ASP.NET.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to display the same text in each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the text to bind to the property of a object. This ToolTip is shared with all menu items to which the object is applied. When the user positions the mouse pointer over a menu item, the specified text is displayed.
You can override the ToolTip for an individual menu item by setting its property directly.
Instead of using this property to specify the same ToolTip for each menu item, you can also bind the property of a object to a field of a data source by setting the property. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization.
Gets or sets the ToolTip text for a menu item to which the object is applied.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. The specified text is displayed when the user positions the mouse pointer over a menu item.
You can override the text for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to display the same ToolTip for each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the value to bind to the property of a object. This value is shared with all menu items to which the object is applied. The specified value is not displayed in a menu item and is used to store any additional data about a menu item to which the object is applied, such as data used for handling postback events.
You can override the value for an individual menu item by setting its property directly.
Instead of using this property to specify the same value for each menu item, you can also bind the property of a object to a field of a data source by setting the property. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field.
If the and properties are both set, the property takes precedence.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization.
Gets or sets a nondisplayed value used to store any additional data about a menu item to which the object is applied, such as data used for handling postback events.
2.0.0.0
Property
System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
System.ComponentModel.DefaultValue("")
System.String
To be added.
When the control is bound to a data source, use the property to specify the name of the field to bind to the property of a object. When rendered, the property of each menu item to which the object is applied contains the corresponding value from the field. The specified value is not displayed in a menu item and is used to store any additional data about a menu item to which the object is applied, such as data used for handling postback events.
You can override the value for an individual menu item by setting its property directly.
If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the property, the property, or both.
Instead of using this property to bind the property of a object to a field, you can also bind it to a static value by setting the property. This allows you to specify the same value for each menu item to which the object is applied.
If the and properties are both set, the property takes precedence.
Gets or sets the name of the field from the data source to bind to the property of a object to which the object is applied.
2.0.0.0