System.Web.UI.WebControls.BulletedList.Text Property

Gets or sets the text for the System.Web.UI.WebControls.BulletedList control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public override string Text { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The BulletedList.Text property is inherited from the System.Web.UI.WebControls.ListControl class and is not applicable to the System.Web.UI.WebControls.BulletedList control.

Note:

The BulletedList.Text property is set internally based on the selected list item in the System.Web.UI.WebControls.BulletedList control. If you set the BulletedList.Text property directly, a NotSupportedException exception is thrown.

While you cannot access the BulletedList.Text property of System.Web.UI.WebControls.BulletedList control, you can use the event data of the System.Web.UI.WebControls.BulletedListEventArgs class to determine the index of the link button in a System.Web.UI.WebControls.BulletedList that was clicked. You can then access the LinkButton.Text property of the System.Web.UI.WebControls.LinkButton control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0