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