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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Access another module on the same pageAccess another module on the same page
Previous
 
Next
New Post
1/14/2009 6:15 AM
 

Is it possible to access other modules on the same page, refresh or show/hide them?

For example I want to have a module listing some items and by clicking one item I want to show it's details in another module without refreshing the whole page. Is it possible?

 
New Post
1/14/2009 2:27 PM
 

It really depends on whether you're talking about modules that you create (because, hey, you could design them to do anything).  If not, you're largely at the mercy of how the modules already operate (i.e., does the "details" module require a postback to update its content)...

Can you be more specific about the modules you're wanting to use (or create)?  Also what version of DNN (because AJAX could be your best friend in avoiding a page refresh)?

 


esmamlin atxgeek.me
 
New Post
1/15/2009 5:34 AM
 

 

I'm using DNN 5, just installed it.

I want to have 2 modules, one displaying a list of products and the other showing the product details, both using partial rendering.

1. A way to select the product from the list and show it on the other module would be to add the id into the url.

2. Another way would be to hardcode some container into the details module and load it's content using jQuery, but I'm trying to avoid this.

I prefer something more dinamically, like searching for the details module on the same page and, if found, send somehow a message to it to reload using the new id, preferable by a request parameter.

 
New Post
1/15/2009 2:26 PM
 

From your brief description my instinct would be to wrap both views in one module and provide multiple view options (show list, show details, show both), but I'm sure there's probably more to your reasoning / long term plans.

I think you'll want to read up on inter-module communication (IMC).  Check this blog post for an introduction to IMC and examples in C# and VB:

  http://www.kemmis.info/blog/archive/2008/02/22/dotnetnuke-inter-module-communication-or-how-your-modules-can-get-their.aspx

 
Good luck!
-mamlin


esmamlin atxgeek.me
 
New Post
1/16/2009 5:55 AM
 

Thank you, this is what I was looking for.


 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Access another module on the same pageAccess another module on the same page


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