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/11/2006 3:20 AM
 
Thank you very much, I can't download the code, I registered but it keeps saying "You Do Not Have Permission To View The Requested File"
 
 
New Post
10/11/2006 9:15 AM
 

Sorry about that.  You shouldn't have register; I always publish this type of file so anyone can download and use at will.  I just forgot to set the permissions to All Users.   I guess we all get in a hurry and overlook the little things sometimes.  LMK if you have any more trouble.

 

 
New Post
10/11/2006 9:35 AM
 
Hi professorcw1,

I've never had the need for IMC up until now (nice little example) - but can I have your thoughts on this please:

I have a Group Detail page. This is currently configured to receive an ID, or it shows a random or set group.

I then have numerous other Group lists (possible a Group search, or Groups by category etc) - I then make the Group Names clickable on all of these modules. These querystrings pass in a GroupID to the Detail page which is then displayed.

The key points here are that the Group Detail page does not care WHERE the querytstring is posted from. So I could make an a Href in an HTML module and say "View my Group" and the Detail page would receive it - I assume this is limitation of the IMC model? You need control over the Sender and Receiver? The module USerControls are also in different module definitions, so I have a module setting on each Sender module where you pick the Tab containing the Detail control, and this forms the NavigateURL (TabID) structure when I build the Group list.

Is this a candidate for IMC? Another example is that I have a search page that returns a Group CategororyID and a text search string. I currently pass these over as querystring params to the Search Results page that then executes the DB query and displays the results.


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
10/11/2006 10:07 AM
 
Thanks professor, downloaded the file fine, nice samples, very intuitive.
 
New Post
10/11/2006 10:28 AM
 

So in your first example, I would stick to the approach you are currently using.  The ability to access a group's detail page from a text module probably outweighs any IMC benefits.

With IMC you do need control over both the Sender (IModuleCommunicator) and Receiver (IModuleListener) implementations.  Your module code can easily handle this, but I'm not sure it's the best approach for your application.  With IMC you need to create separate module definitions (one module with multiple definitions) for each "view" key.  To accomplish this, you just create a module definition for your Sender and another for your Receiver.  You can then add a "settings" key to each.  In that regard, it's really no different than any other module that has multiple view controls.

Your search application is another one where, personally, I would stick with the querystring, unless you don't want people to have access to the criteria through the querystring.  There's usually no harm here, so I'd leave it alone.  That is an interesting idea, though.  I've actually never tried to use IMC across pages.  It seems there is always a better way to do that.  Several people have asked about that, though, so I'll give it a shot and see what happens.  Stay tuned.

 

 
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