BehaviorEditorPart::ApplyChanges Method
Saves the values from a BehaviorEditorPart control to the corresponding properties in the associated WebPart control.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System::Booleantrue if the action of saving values from the BehaviorEditorPart control to the WebPart control is successful; otherwise (if an error occurs), false.
The ApplyChanges method is a critical method on a BehaviorEditorPart control. The method's purpose is to save the values a user has set on a BehaviorEditorPart control to the corresponding properties in the associated WebPart control. The associated control is referenced in the BehaviorEditorPart control's inherited WebPartToEdit property.
The ApplyChanges method attempts to set a number of user interface (UI)-related property values on the associated WebPart control. For a list of the property values that are set in this method, see the Remarks in the BehaviorEditorPart class overview.
The ApplyChanges method is called when the user clicks an OK verb or an apply verb in the editing UI.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.