ControlDesigner.IsDirty Property

NOTE: This property is now obsolete. The non-obsolete alternative is IsDirty.

Gets or sets a value indicating whether the Web server control has been marked as changed.

Namespace: System.Web.UI.Design
Assembly: System.Design (in

[ObsoleteAttribute("The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty.")] 
public bool IsDirty { get; set; }
/** @property */
public boolean get_IsDirty ()

/** @property */
public void set_IsDirty (boolean value)

public function get IsDirty () : boolean

public function set IsDirty (value : boolean)

Property Value

true, if the Web server control has changed since it was last persisted or loaded; otherwise, false.


The IsDirty property is obsolete. Use the IsDirty property and the SetDirty method on the Tag property for equivalent control designer functionality.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 1.0, 1.1
Obsolete (compiler warning) in 2.0