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.0Passing Parameters to a ModulePassing Parameters to a Module
Previous
 
Next
New Post
10/17/2006 5:56 AM
 

Hi all,

I am writing a Module that is used with 2 Treeview Menu Items. the 1st needs to see one View and the 2nd needs to see a different View.

In the Database the 2 Types of Publication are numbered 1 and 2.

Does anyone know how to do this?

Thanks in advance,

Lee


Lee B
Owner
S@W Designs
Outsourcing partner
Developer forums and Help.
 
New Post
10/17/2006 10:57 AM
 

Just a few options...

  1. Use one module and something like panels to talk via code
  2. Use IMC
  3. Use the querystring

 

 
New Post
10/18/2006 3:51 AM
 

Thanks, I'm new to DNN. The QueryString was my first thought, but how do I add a parameter like: &type=1 or &type=2 to the current querystring in the treeview?

Or use IMC from the Treeview?

I have a multiview and 2 views in the Module at the moment and I control it with 2 hyperlinks at the top, but this is not what is required.


Lee B
Owner
S@W Designs
Outsourcing partner
Developer forums and Help.
 
New Post
10/18/2006 11:49 AM
 

If you're posting to the same page, IMC will work well for passing one parameter.

http://www.netqconsulting.com/ForumSamples/IMCInterModuleCommunication/tabid/128/Default.aspx

 
New Post
11/14/2006 7:31 AM
 

Thanks professorcw1,

I played with several ways of doing this, I used IMC for 1 part, but that gave me no connectivity with the treeview.

In the end I created a table that uses the TabId to find the parameters needed for the particular page.

Thanks

Lee


Lee B
Owner
S@W Designs
Outsourcing partner
Developer forums and Help.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Passing Parameters to a ModulePassing Parameters to a 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