111 references to WebPartManager
System.Web (111)
UI\WebParts\CatalogZoneBase.cs (10)
315if (WebPartManager != null) { 316selectedZone = WebPartManager.Zones[_selectedZoneID]; 360Debug.Assert(WebPartManager != null); 362WebPartManager.AddWebPart(part, targetZone, 0); 367if (WebPartManager != null) { 368WebPartManager.DisplayMode = WebPartManager.BrowseDisplayMode; 384catalogPart.SetWebPartManager(WebPartManager); 657if (WebPartManager != null && WebPartManager.Zones != null) { 658foreach (WebPartZoneBase zone in WebPartManager.Zones) {
UI\WebParts\ConnectionsZone.cs (56)
117TransformerTypeCollection availableTransformerTypes = WebPartManager.AvailableTransformers; 600if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.ConnectDisplayMode) { 601return WebPartManager.SelectedWebPart; 611WebPartManager.EndWebPartConnecting(); 639WebPartManager.GetConsumerConnectionPoint(consumer, consumerConnectionPointID); 677if (WebPartManager.CanConnectWebParts(provider.WebPart, provider.ConnectionPoint, 679WebPartManager.ConnectWebParts(provider.WebPart, provider.ConnectionPoint, 697if (WebPartManager.CanConnectWebParts(provider.WebPart, provider.ConnectionPoint, 699WebPartManager.ConnectWebParts(provider.WebPart, provider.ConnectionPoint, 723WebPartManager.GetProviderConnectionPoint(provider, providerConnectionPointID); 761if (WebPartManager.CanConnectWebParts(provider, providerConnectionPoint, 763WebPartManager.ConnectWebParts(provider, providerConnectionPoint, 781if (WebPartManager.CanConnectWebParts(provider, providerConnectionPoint, 783WebPartManager.ConnectWebParts(provider, providerConnectionPoint, 804WebPartManager webPartManager = WebPartManager; 808WebPartManager.GetEnabledProviderConnectionPoints(webPartToConnect); 819WebPartManager.GetEnabledConsumerConnectionPoints(webPartToConnect); 912WebPartManager.GetProviderConnectionPoint(WebPartToConnect, _pendingConnectionPointID); 940WebPartConnection connection = WebPartManager.Connections[_pendingConnectionID]; 960_pendingConsumer = WebPartManager.WebParts[consumerID]; 964WebPartManager.GetConsumerConnectionPoint(_pendingConsumer, _pendingConnectionPointID); 1001WebPartConnection connection = WebPartManager.Connections[connectionID]; 1006WebPartManager.DisconnectWebParts(connection); 1043WebPartManager.GetConsumerConnectionPoints(part).Count : 1044WebPartManager.GetProviderConnectionPoints(part).Count; 1069WebPartManager.IsProviderConnected(provider, providerConnectionPoint)) { 1085foreach (ConsumerConnectionPoint consumerConnectionPoint in WebPartManager.GetConsumerConnectionPoints(consumer)) { 1086if (WebPartManager.CanConnectWebParts(provider, providerConnectionPoint, 1093if (WebPartManager.CanConnectWebParts(provider, providerConnectionPoint, 1119WebPartManager.IsConsumerConnected(consumer, consumerConnectionPoint)) { 1135foreach (ProviderConnectionPoint providerConnectionPoint in WebPartManager.GetProviderConnectionPoints(provider)) { 1136if (WebPartManager.CanConnectWebParts(provider, providerConnectionPoint, 1143if (WebPartManager.CanConnectWebParts(provider, providerConnectionPoint, 1247WebPartManager.Personalization.SetDirty(); 1251if (WebPartManager.CanConnectWebParts(_pendingProvider, _pendingProviderConnectionPoint, 1253WebPartManager.ConnectWebParts(_pendingProvider, _pendingProviderConnectionPoint, 1282if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.ConnectDisplayMode) { 1375if (WebPartManager != null) { 1376webParts = WebPartManager.WebParts; 1382if (!consumersAvailable && WebPartManager != null) { 1384WebPartManager.GetEnabledProviderConnectionPoints(webPartToConnect); 1403if (!providersAvailable && WebPartManager != null) { 1405WebPartManager.GetEnabledConsumerConnectionPoints(webPartToConnect); 1477WebPartManager.GetEnabledProviderConnectionPoints(webPartToConnect); 1570WebPartManager.GetEnabledConsumerConnectionPoints(webPartToConnect); 1670WebPartManager manager = WebPartManager; 1830WebPartManager.GetProviderConnectionPoint(webPartToConnect, connection.ProviderConnectionPointID); 1870WebPartManager.GetConsumerConnectionPoint(webPartToConnect, connection.ConsumerConnectionPointID); 2120Debug.Assert(WebPartManager != null); 2122WebPartCollection webParts = WebPartManager.WebParts; 2125WebPartManager.GetEnabledProviderConnectionPoints(webPartToConnect); 2151WebPartManager.GetConnectionForProvider(webPartToConnect, providerConnectionPoint); 2180WebPartManager.GetEnabledConsumerConnectionPoints(webPartToConnect); 2206WebPartManager.GetConnectionForConsumer(webPartToConnect, consumerConnectionPoint);
UI\WebParts\EditorZoneBase.cs (8)
221if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.EditDisplayMode) { 222return WebPartManager.SelectedWebPart; 254if (WebPartManager != null) { 255WebPartManager.EndWebPartEditing(); 269editorPart.SetWebPartManager(WebPartManager); 324if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.EditDisplayMode) {
UI\WebParts\ToolZone.cs (3)
73if (WebPartManager != null) { 77return associatedDisplayModes.Contains(WebPartManager.DisplayMode); 261WebPartManager webPartManager = WebPartManager;
UI\WebParts\WebPartZone.cs (1)
54WebPartManager manager = WebPartManager;
UI\WebParts\WebPartZoneBase.cs (31)
254if (WebPartManager != null) { 255index = WebPartManager.Zones.IndexOf(this) + 1; 267WebPartManager != null && 268WebPartManager.DisplayMode.AllowPageDesign); 362else if (WebPartManager != null) { 363hasHeader = WebPartManager.DisplayMode.AllowPageDesign; 762if (WebPartManager != null) { 763webParts = WebPartManager.GetWebPartsForZone(this); 809if (WebPartManager != null && webPart.AllowClose && AllowLayoutChange) { 810WebPartManager.CloseWebPart(webPart); 818if (WebPartManager != null && 819WebPartManager.DisplayMode == WebPartManager.ConnectDisplayMode && 820webPart != WebPartManager.SelectedWebPart && 822WebPartManager.BeginWebPartConnecting(webPart); 864return new WebPartChrome(this, WebPartManager); 871if (WebPartManager != null && AllowLayoutChange) { 872WebPartManager.DeleteWebPart(webPart); 880if (WebPartManager != null && 881WebPartManager.DisplayMode == WebPartManager.EditDisplayMode && 882webPart != WebPartManager.SelectedWebPart) { 883WebPartManager.BeginWebPartEditing(webPart); 896if ((WebPartManager != null) && (WebPartManager.DisplayMode.AllowPageDesign)) { 1052if (WebPartManager == null) { 1058WebPartCollection allWebParts = WebPartManager.WebParts; 1128WebPartManager.DisplayMode.AllowPageDesign && 1132WebPartManager.MoveWebPart(actionPart, this, dropPartIndex); 1200if (DesignMode || (WebPartManager != null && (WebPartManager.DisplayMode.AllowPageDesign))) { 1376bool renderText = (!DesignMode && AllowLayoutChange && WebPartManager != null && 1377WebPartManager.DisplayMode.AllowPageDesign && !String.IsNullOrEmpty(emptyZoneText));
UI\WebParts\WebZone.cs (2)
420else if (WebPartManager != null) { 421renderClientScript = WebPartManager.RenderClientScript;