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