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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIAPI call from page to Display Serveral Modules dependent on one module.API call from page to Display Serveral Modules dependent on one module.
Previous
 
Next
New Post
10/25/2005 4:26 PM
 

I have a dilema on trying to set up a module call to display different modules to the same page.

Example:

Module A is on a page called Page1 in the Content Pane insert at the Top.  On Module A are several linkbuttons.  If Linkbutton1 is clicked I want to show Module B in the RightPane of Page1 along with Module A.  If Linkbutton2 is clicked I want to hide the current module which would be ModuleB in the RightPane and display Module C in the RightPane.  Is there a simple API call to make modules visible on a page and then hide them?  Can anyone help me?

 
New Post
10/25/2005 4:45 PM
 

This sounds like a good candidate for IMC (Inter-Module Communication).  You should do some research in the appropriate forums regarding it.

Technically, you could do this with the ClientAPI as well... though I am not certain what the requirements are in showing/hiding the modules... if they are due to security, then this option is out. 

So you would basically set the container's style.display = 'none' on the server side.. then when they click the button in the given module you would set the style.display = ''

The trick is to send down the ASP.NET assigned IDs (UniqueID) of the containers you wish to manipulate (in order to get a reference to them). 

All that said, I beleive your best answer is IMC.


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIAPI call from page to Display Serveral Modules dependent on one module.API call from page to Display Serveral Modules dependent on one module.


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