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.0Module Call to Self with parameterModule Call to Self with parameter
Previous
 
Next
New Post
10/10/2006 5:06 AM
 
Hello, I'm doing a module that has a menu area and a content area.
 
When a user click a menu option, the content should be reloaded accordingly, how can I do this?, should I response.redirect with a querystring parameter? so that the whole tab gets reloaded?
 
New Post
10/10/2006 10:06 AM
 

You have many options here.

  1. You could use the querystring approach.  Write your content module to accept a querystring value.  When you click on something in your menu it reposts the page with the value in the url.  Grab the querystring value and your set.
  2. Use IMC.  If you create two view modules, you can have one send data to the other.  This won't mess with your querystring.
  3. Use onclick/onselectedindexchanged events.  When you click something, something else happens.
  4. Use Atlas.  Have you menu control talk to your content control.  No postback, very elegant... most difficult to deploy if you aren't familiar with Atlas.
  5. Use and Atlas framework (like Telerik).  This requires a license, but Altas enabled controls are in your toolbox to handle all the Atlas plumbing.  Considering the Telerik suite also includes several DNN versioned controls, I think this is a worthy investment.

I'm sure others can suggest alternate methods as well, but any one of these will complete your task.

 

 
New Post
10/10/2006 10:27 AM
 
Thanks a lot, you always answer my questions, I've managed to do it using the querystring approach but I'm curious: what's IMC? never heard of it.
 
New Post
10/10/2006 11:39 AM
 

IMC = Inter Module Communication

This is a fairly well documented feature that goes back several versions.  IMC allows modules to talk to each other.  Traditionally, you have a sender module and a receiver module.  There's no reason why could can't go both ways, though and have one module send something to another module and that module either sends something to another module or back to the first module.  It works quite well if you are passing a small amount of info, like an id or single query item.  I don't think I would use it for sophisticated communication.  It was used quite a bit a year to two ago but dropped off the radar for awhile.  There seems to be quite a bit of chatter about it lately.  I'll post a sample later today and include the source.

 

 
New Post
10/10/2006 7:10 PM
 
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Call to Self with parameterModule Call to Self with parameter


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