System.Web.UI.WebControls.ImageField.ReadOnly Property

Gets or sets a value indicating whether the values of the field specified by the ImageField.DataImageUrlField property can be modified in edit mode.

Syntax

[System.ComponentModel.DefaultValue(false)]
public virtual bool ReadOnly { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the values of the field specified by the ImageField.DataImageUrlField property can be modified by the user when a data-bound control is in edit mode. To prevent the user from changing the values of the field, set this property to true.

Note:

In an System.Web.UI.WebControls.ImageField object, the ImageField.DataImageUrlField property usually contains the name of the field that contains the URLs to the images displayed in the object.

Requirements

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