locked
Apply changes after editing web part properties. RRS feed

  • Question

  • What event do I trap to notify my web part of updated custom properties?

    TIA
    Dave

    Wednesday, January 17, 2007 6:54 AM

Answers

  • Or inherit from EditorPart for your custom editor and override CreateEditorParts() in the webpart.
    Wednesday, January 17, 2007 12:12 PM

All replies

  • OK, looks like it hits the property accessors automatically.
    The other way looks like overriding the GetToolParts() method and inheriting from the "Microsoft.SharePoint.WebPartPages.ToolPart" class for your own customtoolpart. You can then override the ApplyChanges() and SyncChanges() methods.

    Dave
    Wednesday, January 17, 2007 10:41 AM
  • Or inherit from EditorPart for your custom editor and override CreateEditorParts() in the webpart.
    Wednesday, January 17, 2007 12:12 PM