Category Archives: ConnectionsZone

[RESOLVED] ConnectionsZone closed event

I have a ConnectionsZone on apage.  Once the user clicks close I would like my DisplayMode to change back to the Default.  However, there is no ‘Close’ event.

 

How can I tell when the use has closed the control?

 

I can derive a class from ConnectionsZone, but I do not want to re-write the entire control.  Even in a derived class I cannot figure out how to know when Close is clicked.

 

Am I missing something?

[RESOLVED] Progamatically display ConnectionsZone

I have a WebPart page with a button that causes the page to enter ConnectMode.  I would prefer to have the Connect option always visible but I have not found a way to do this.  I tried creating a custom Connect verb, but I could not inherit from the standard ConnectVerb (it's sealed).  My plan was for the clicked event to put the page into ConnectMode but I could not figure out to display the ConnectionsZone?

 

What do I call on the ConnectionZone to make it display?

Hi,

chambersDon

My plan was for the clicked event to put the page into ConnectMode but I could not figure out to display the ConnectionsZone?

According to your description ,I would like to suggest you to check the link below for the sample which illustrates two methods of changing display modes on an ASP.NET Web Parts page, and also demonstrates how a user navigates between page display modes.

Walkthrough: Changing Display Modes on a Web Parts Page

chambersDon

What do I call on the ConnectionZone to make it display?

Please check the link below for more information about ConnectionsZone control:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.connectionszone.aspx

The article above also contains a sample that describes how to enable users to switch display modes with a ConnectionsZone control on a Web Parts page.

Hope it can help you.