MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Is there a way to restore / unhide a closed web part on a page? (Closed) (Mono Support )

Viewed 15188 time(s), 5 post(s) 4/10/2012 12:11:18 PMby Jeremy
Jeremy

Jeremy

4/10/2012 12:11:18 PM
Is there a recycle bin or some other interface that would allow me to restore a previously closed web part?

The tooltip for the close verb icon in the web part chrome menu (aka web part verb menu) says "Hides the part on the page without deleting it completely." This seems to imply that there is an option to restore or unhide the closed web part.

This content has not been rated yet. 
322 Reputation 36 Total posts
kpeulic

kpeulic

4/10/2012 12:35:55 PM
Can you please specify the version of MonoX that you use?
This content has not been rated yet. 
1849 Reputation 181 Total posts
Jeremy

Jeremy

4/10/2012 12:50:35 PM
I use MonoX v4.5.3206.40 [11/11/2011], DB v4.5.3103.
This content has not been rated yet. 
322 Reputation 36 Total posts
kpeulic

kpeulic

4/10/2012 1:25:36 PM
You can enable this option by following these steps:

1. Find key "AllowCloseVerb" in web.config and change value to "true"
<add key="AllowCloseVerb" value="true" />

2. Find this file "..\MonoX\MasterPages\MonoX.master" in your project

3. Go to this line:
<portal:HiddenCatalogPart ID="hiddenCatalogPart" runat="server" Title="<% $Code: DefaultResources.MonoXMaster_HiddenCatalogPart_Title %>" />

4. Paste below code after above line:
<asp:PageCatalogPart ID="pageCatalogPart" runat="server" Title="<% $Code: DefaultResources.MonoXMaster_PageCatalogPart_Title %>" />

5. Save the file and refresh the MonoX in browser.

6. Login as administrator and click to "Change the look and functionality of this page" => "Part catalog" and you will see new web part catalog "Closed parts catalog (1)" with closed web parts. (Please check the attached screen shots.)


Please let me know is this was helpful for you.
Rated 5.00, 1 vote(s). 
1849 Reputation 181 Total posts
Jeremy

Jeremy

4/10/2012 1:46:54 PM
Thank you kpeulic, it works perfectly as per your instructions. Very helpful and such a quick resolution. I am very impressed.
This content has not been rated yet. 
322 Reputation 36 Total posts