17 references to WebPartManager
System.Web (17)
UI\WebParts\DeclarativeCatalogPart.cs (4)
87if (WebPartManager != null) { 88webPart = WebPartManager.CreateWebPart(control); 96if (webPart != null && (WebPartManager == null || WebPartManager.IsAuthorized(webPart))) {
UI\WebParts\ImportCatalogPart.cs (6)
167if (WebPartManager == null || String.IsNullOrEmpty(_importedPartDescription)) { 214bool isShared = (WebPartManager.Personalization.Scope == PersonalizationScope.Shared); 235if (!WebPartManager.IsAuthorized(partType, null, null, isShared)) { 248if (!WebPartManager.IsAuthorized(typeof(UserControl), userControlTypeName, null, isShared)) { 330if (reader != null && WebPartManager != null) { 331_availableWebPart = WebPartManager.ImportWebPart(reader, out _importErrorMessage);
UI\WebParts\PageCatalogPart.cs (7)
60if (WebPartManager != null) { 92Debug.Assert(WebPartManager != null); 96WebPartCollection webParts = WebPartManager.WebParts; 125if (WebPartManager != null) { 126WebPartManager.WebPartAdded += new WebPartEventHandler(this.OnWebPartsChanged); 127WebPartManager.WebPartClosed += new WebPartEventHandler(this.OnWebPartsChanged); 128WebPartManager.WebPartDeleted += new WebPartEventHandler(this.OnWebPartsChanged);