Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesEffective navigation within single module contentEffective navigation within single module content
Previous
 
Next
New Post
11/7/2011 4:39 PM
 

Dear Experts,

I am implementing a business application showing different type of content (let call them module-views) within a single DNN module. My approach for the “in-module” navigation is the following:
  1. Each module-view is a UserControll (extending PortalModuleBase)
  2. To navigate between different module-views I am using asp.menu events
  3.  When an asp.menu event is triggered sets one module-view as Visible=true and all other as Visible= false

Unfortunately with the increase of the module-views the performance is degrading quite fast, nevertheless I was very carefully to put all loading logic into the “navigation” events end not  in the page_Load event of the user control.

There is any other way to implement the “in-module” navigation in an effective way?
I do not think the only solution is building as many modules as many module-views I have.

I am using DNN 6.

Thank you in advance,
Kristijan

 
New Post
11/7/2011 5:52 PM
 
yes, a better approach to to only load the code you need i.e. use a LoadControl call to dynamically load the relevant piece of code (http://woaychee.wordpress.com/2008/12/16/dotnetnuke-module-load-control-dynamically/ and http://www.dotnetnuke.com/Resources/Forums/forumid/111/threadid/234052/scope/posts.aspx should get you in the right direction)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/19/2011 4:11 AM
 
Thank you Cathal,
your suggestions helped me a lot!
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesEffective navigation within single module contentEffective navigation within single module content


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out