My Cart (0)  |  My Orders  |  My Downloads  |  My Auction  |  My Account  |  Help


Login |Register        Search

Hiding a DNN module container

                Print      Add To Favorite     Add To Watch List     Contact Author

Creator: host   7/12/2015 10:46:57 PM    Author: Torsten Weggen   Source: http://www.bitboxx.net   Views: 1537    0    0  
Tags:
Module develop Dnn development Dnn Module

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

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

Rating People: 0   Average Rating:     

     DnnModule.com is built to provide DNN quality modules and DNN skins, some of them are free, some not. We wish these stuffs (free or not ) can be useful to you.

     Besides that, we also provide a full range of professional services, ranging from web site build, seo, system management, administration, support, senior consultancy and security services. We act as if your development project or network was ours, with care and respect. We are not satisfied until it works the way you want it to, and we don't silently ignore found issues as somebody else's problem.