DynamicField::ReadOnly Property

.NET Framework (current version)
 

Gets the read-only state of the dynamic field.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
property bool ReadOnly {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

The read-only state of the dynamic field.

If the ReadOnly property is true, the DynamicField control loads a read-only template. This property requires that view state be enabled.

.NET Framework
Available since 4.0
Return to top
Show: