Blog

horizontal line graphic

Subscribe to Kevin Southworth's Blog  Subscribe to my RSS feed | Categories | Search

HowTo: Programmatically Hide a DotNetNuke Module

Friday, May 16, 2008 @ 10:33 AM :: 122 Views :: 0 Comments ::
Categories: .NET, DotNetNuke, Web Development

I needed to programmatically hide a DotNetNuke module today and I couldn't find any examples of how to do it.  So here's how to do it.  This hides the entire module, including the container and title.

In your Page_Init method in your code-behind, use this little baby:

ContainerControl.Visible = false;

Rating
Comments
Currently, there are no comments. Be the first to post one!
Click here to post a comment