Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Module Visibility Question
Previous Previous
 
Next Next
New Post 6/7/2008 7:38 PM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Module Visibility Question 

For DNN to inject your module into a page, it first creates a placeholder which represents the CONTAINER that your module will be injected into.
And that CONTAINER is contained inside a ContentPane and that inside the Skin and that inside the defautl.aspx page.

DNN controls the vilibility of your module at this level - that is - the view settings in the module (settings
and permissions) you see when you are administring a module effectively act on the container.

What you do inside the module itself are then first controlled by what DNN does with the CONTAINER.

If DNN sets a container to not visible - then your module with not be visble regardless of if you dynamically load the module or not.

You can however in some circumstances override the defautl action of a CONTAINER by setting a visible module to not visible at runtime.

Westa

 
New Post 6/9/2008 9:04 AM
User is offline baldwin
115 posts
www.dnnsun.com
9th Ranked


Re: Module Visibility Question 

Thanks for you great guy ! you had provided the helpful information! But what I exactly need is posted in this thread:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/233441/scope/posts/Default.aspx

can you share some tip about this issue? The developer Rafe had posted a alternative solution for that :

http://kemmis.info/blog/archive/2008/06/08/programmatically-change-the-visibility-of-a-dotnetnuke-module.aspx 

(That is great blog about DNN!)

But my comments about the article is as following:

However,will your way effact the page performanece? for example, if the "ToggleVisibilityCS" exists some bind data control, it also wwill execute the DataBind Process. Is is corret? I also notice the module had the "isDeleted" property to determine whether insert the module insert the page,will that way be the better?


www.dnnsun.com:The professional provider of DotNetNuke support, skin design and custom module development.
The professional provider of DotNetNuke support, skin design and custom module development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Module Visibility Question
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP