Welcome to weblogs.com.pk Sign in | Join | Help

DotNetNuke: Inter-Module Communication

In reply to my earlier DotNetNuke post, a visitor asked how the two modules can communicate with each other, especially if the other module is on the different tab.


Firstly, I will advise to always leave some contact/address where one can reply, you may use the URL option in the feedback, write your email, ping-back or web-log address.


If I have understood the problem right, there are two parts in it, first how to send the message from one module to another, and second, how can the sender module know the location/address of the second module, if it’s on some other tab.


The answer of the first part is to use ModuleCommunication event of the IModuleCommunicator interface. You can find examples of it on the web, if you don’t, let me know. The second part is, little tricky, I may be wrong, but my understanding is that you can use ModuleCommunication event only between the modules on the single tab. To work it out, you can have an intermediate module, that knows which module to listen and where to pass it on, may be some xml config file to know where the second module is hosted.

Published Thursday, September 23, 2004 1:36 AM by khurram
Filed under: ,


# re: DotNetNuke: Inter-Module Communication

Thursday, September 23, 2004 1:53 AM by khurram
Forgot to mention TabController, that can be used to find the Tab id if you dont know where to redirect. It can assist to find the id by name.
New Comments to this post are disabled