By Larry Daniele on
9/7/2008 5:50 PM
On DNNStuff.com site, there's a great article (with source code)
IMC Example (DotNetNuke Intermodule Communication) that demonstrates how to implement IModuleCommunicator and IModuleListener interfaces in DNN using two simple modules, one that sends text and one that receives it. It is great to have simple, working code to explain a concept like this. (Note: You'll have to register (for free) on the DNNStuff.com site before you can view the article.)
I would like to offer one suggestion for an improvement…
IMC works great unless you check "Supports Partial Rendering" (i.e. AJAX) for the sender and receiver controls. This is desirable to have one module update the other without the entire page refreshing.
A few simple changes to Receiver.ascx.vb (steps 1-3) and ImcExample.dnn (step 4) will enable AJAX rendering to work:
Add a reference...