WebPartToolPart.SyncChanges Method

Refreshes the tool parts displayed in the tool pane after the ApplyChanges method has successfully applied all property changes to the instantiated Web Part on the server.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub SyncChanges
'Usage
Dim instance As WebPartToolPart

instance.SyncChanges()
public override void SyncChanges()

Remarks

When the SyncChanges method is called, the viewstate for the tool part is discarded and the latest property values are reloaded. This may be useful when a Web Part has modified a property directly, for example.

See Also

Reference

WebPartToolPart Class

WebPartToolPart Members

Microsoft.SharePoint.WebPartPages Namespace