public override void SyncChanges() { // sync with the new property changes here EnsureChildControls(); this.tabEditorWebPart = this.WebPartToEdit as TabEditorWebPart; // Read the TabList from the Web Part this.TabList = this.tabEditorWebPart.TabList; }
public override bool ApplyChanges() { this.tabEditorWebPart = this.WebPartToEdit as TabEditorWebPart; // Set the Web Part's TabList this.tabEditorWebPart.TabList = this.TabList; // Call the webpart's personalization dirty this.tabEditorWebPart.SaveChanges(); return(true); }