Turn off the navigation menus on a MojoPortal page

Posted by strongeye on Geeks with Blogs See other posts from Geeks with Blogs or by strongeye
Published on Mon, 03 May 2010 12:32:10 GMT Indexed on 2010/05/03 21:49 UTC
Read the original article Hit count: 369

Filed under:

I needed to figure out how to turn off the navigation for the portal from my custom module. After some searching, I found code in Secure/Login.aspx.cs that did the trick.

The function to use is this:

SuppressAllMenus()

This function is part of MojoPortal.Web.mojoBasePage so pages that inherit from that will already have access to the function.

© Geeks with Blogs or respective owner