By Torsten Weggen on 10/15/2010 9:30 AM

If you want to hide the complete module for some circumstances (e.g. if not logged in as admin) you can use

protected void Page_PreRender(object sender, System.EventArgs e)
{
	this.ContainerControl.Visible = false;
}