System.Web.UI.ITextControl

Defines the interface a control implements to get or set its text content.

See Also: ITextControl Members

Syntax

public interface ITextControl

Remarks

The System.Web.UI.ITextControl interface defines the ITextControl.Text property a control implements to allow the getting or setting of its text content. The ITextControl.Text property can be set programmatically or through user input.

Note:

A control implementing this interface can be used to display user input. Before displaying user input, the input must be checked for malicious client script, such as executable script or SQL statements. ASP.NET provides an input request validation feature to block script and HTML in user input. Validation server controls are also provided to assess user input. For more information, see Validation Server Controls.

Requirements

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