Gets or sets the custom item ID.
[Visual Basic]
Public Property CustomItemID As
String
[C#]
public
String CustomItemID {get; set;}
Property Value
System.String
A string represents the ID of the CustomItem to be displayed in an item.
The property is read/write.
Remarks
There are two ways to define a custom item:
- Drag a CustomItem control on page and specify any navigation item's CustomItemID to that CustomItem. Refer to regular custom item for details.
- Use embedded item by specifying CustomItem tag as the following HTML code Refer to embedded custom item for details.
To define a regular custom item, set this property to the ID of the CustomItem object, which is a container object that can contain any other HTML or ASP.NET controls. The containing controls will be displayed as content of this regular custom item.
Note
- When this item is defined as a custom item, the CustomItem object specified by this property is displayed, Text property is ignored.
- When this item is defined as an image-only item, the image specified in the Image property is displayed, LeftIcon, CustomItem, Text and RightIcon properties are ignored.
See Also
NavigationItem Class | EO.Web Namespace | CustomItem class | Using CustomItem