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? (Zatvorena) (Mono Support )

17273 put(a) pogledan, 5 odgovor(a) 10.4.2012. 12:11:18Kreirao(la) Jeremy
Jeremy

Jeremy

10.4.2012. 12:11:18
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.

Ovaj sadržaj još nije ocijenjen. 
322 Reputacija 36 Ukupno objava
kpeulic

kpeulic

10.4.2012. 12:35:55
Can you please specify the version of MonoX that you use?
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
Jeremy

Jeremy

10.4.2012. 12:50:35
I use MonoX v4.5.3206.40 [11/11/2011], DB v4.5.3103.
Ovaj sadržaj još nije ocijenjen. 
322 Reputacija 36 Ukupno objava
kpeulic

kpeulic

10.4.2012. 13:25:36
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.
Ocjena 5,00, 1 glas(ova). 
1849 Reputacija 181 Ukupno objava
Jeremy

Jeremy

10.4.2012. 13:46:54
Thank you kpeulic, it works perfectly as per your instructions. Very helpful and such a quick resolution. I am very impressed.
Ovaj sadržaj još nije ocijenjen. 
322 Reputacija 36 Ukupno objava